Highest record number used?

Mike Schwartz mike.appleton.wi at sbcglobal.net
Wed Jan 31 08:09:43 PST 2007


     One of my customers was wondering if there is a way to quickly find the
highest record number (either allocated or in use) in a filePro file.

 

     If he could do a lookup to record number 9999999 with a "less than"
option, he says that would work perfectly for him.

 

     He wants to use it to trigger some file trimming processes and to do
some hour-by-hour error message logging.  If he could easily get hold of the
highest record number on each file, he could write one generic process to
monitor the daily change in number of records on each of his thousands of
qualifier files. 

 

     I suggested doing a few repeated lookups for a certain record number,
then see if that number fails, then decrement that number by 1000 or so and
try it again, but he would have to establish and monitor some starting point
for each file so that the system doesn't have to do thousands of unnecessary
lookups. 

 

Thanks!

 

Mike Schwartz

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.celestial.com/pipermail/filepro-list/attachments/20070131/9128f24a/attachment-0001.html


More information about the Filepro-list mailing list