I would like to be able to count how many records are in a "random" database file. Length of each record is about 1000 spaces.
Is there a fast and easy way to count them?
Thanks for reading this.
Printable View
I would like to be able to count how many records are in a "random" database file. Length of each record is about 1000 spaces.
Is there a fast and easy way to count them?
Thanks for reading this.
been too long since I used Random files with Access and all.
Just a thought
FileLen(yourfile)/total recordsize
Add the items into an array with the 1st element in the array being a counter. So line 1 =1 record, line 2 = 2 records, then so on. When finished figure the highest counter. That is your recordcount.
HeSaidJoe
You have done it again!!!
That works just fine. Thank a bunch... again!