Hi James,
> If I open a file using a filestream, which has a set record size, how do I
> find out the number of records in the stream.
Why can't you just divide the Size property of the TFileStream by the
size of each record (64 bytes, I assume, from your example).
Regards,
Bevan
--
Bevan Edwards mailto:[EMAIL PROTECTED]
Achieve Software Limited http://www.achieve.co.nz
Phone: (64-9) 444-4210 ICQ: 732011
Fax: (64-9) 444-4201
Mobile: (64-21) 979-603
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"