|
Michael, Personally I like to load all the records from a file (physical or logical - it doesn't really matter) directly into an array, which I can then sort according to pretty much any criteria and display to the screen. This works very well if there aren't a huge number of records in the file. In fact, for any programs where I'm viewing 'control' data, I always use this approach. It's only a problem if you're talking about loading up more than a few thousand records (simply because you'll need to allocate all that space for the array)... It's up to you if you want to use SQL or READ to actually load the array from the file. Just another option. Rory
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.