Here is an idea, Can you store a counter in the 1st record in the file.
Then whenever you add or delete to it you can modify the counter. Thus
reading the counter will give you the number of records.
Regards,
Mandeep
-----Original Message-----
From: Orville E. Wheeler [mailto:[log in to unmask]]
Sent: Friday, April 07, 2000 10:01 AM
To: [log in to unmask]
Subject: Count Direct Access File Records
Help Please--
How does one determine, ab initio, how many records are
written to an existing Direct Access File?
Gene Wheeler
Herff Professor of Structural Mechanics
Civil Engineering Department
The University of Memphis
[log in to unmask]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|