|
I've seen this technique used when the five fields are also displayed on the screen, Booth. Since you can't put an array field name in the DDS, you instead define the five specific fields in a data structure, and then specify an array over those five fields. This allows you to loop through the five fields using an index. Joe > From: Booth Martin > > Now I am back to wondering why the code was written as it was. > > You are correct about the 5 CollTxtn fields being used later in the > program. But that raises the question: What programmer would define a > data structure in this way? And why? I understand defining an array, > or defining 5 fields. I don't understand doing both. What problem(s) > could s/he have been trying to solve?
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.