Terrence,

For a set of records, I do what you do, with a slightly different Do statement:

SetLL (KeyFields) FileName;
DoW 1;
ReadE (KeyFields) FileName;
if %eof( FileName );
leave;
endIf;
do my stuff
EndDo;

For single record retrieval, I always use Chain.

For testing whether an record exists without retrieving it, i always use SetLL.

The above methods seem the most readable to me. Readability is more important than nanoseconds.


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.