|
Personally, if I understand Dave's solution correctly, I like hisbetter.
With the solution you're using, you are relying on field Camtday01starting
in position 97 forever. What happens if you ever change the length of ato
field in this record before Camtday01? The program will recompile just
fine, but will likely bomb once you run it because it is expecting your
array to start in position 97 but it doesn't anymore. If you're really
unlucky, it won't bomb, but will give bad results that you might not
recognize until it's too late.
With Dave's solution, again if I understand it correctly, you don't have
rely on Camtday01 starting in position 97. Instead, it will use theaddress
of Camtday01 as the starting point, no matter where it is actuallylocated
in the record.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.