To All
How do I test for tDatabase end of file
If oDbf:Eof // fails
If oDbf:Eof() // fails
Any Ideas ?
Thanks
Rick Lipkin
Testing for tDatabase EOF
- Rick Lipkin
- Posts: 2675
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
- James Bott
- Posts: 4840
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: Testing for tDatabase EOF
Rick,
I have never seen it fail. Can you provide sample code to show the failure?
I have never seen it fail. Can you provide sample code to show the failure?
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
- Rick Lipkin
- Posts: 2675
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: Testing for tDatabase EOF
James
I am retrofitting a billing app for my State Governmental customer that has me under contract to encrypt all their confidential billing information ( after the colonial pipeline hack ) .. I am re-tooling my app to use tdababase in certain modules that are temporally created on the local hard drive that I use as a repository for the dencrypted data.
oDbf:eof DOES work ... just my mistake in NOT passing the oDbf object to the correct ( retrofited ) function .. a rookie mistake
Thanks
Rick Lipkin
I am retrofitting a billing app for my State Governmental customer that has me under contract to encrypt all their confidential billing information ( after the colonial pipeline hack ) .. I am re-tooling my app to use tdababase in certain modules that are temporally created on the local hard drive that I use as a repository for the dencrypted data.
oDbf:eof DOES work ... just my mistake in NOT passing the oDbf object to the correct ( retrofited ) function .. a rookie mistake

Thanks
Rick Lipkin
- karinha
- Posts: 7951
- Joined: Tue Dec 20, 2005 7:36 pm
- Location: São Paulo - Brasil
- Been thanked: 3 times
- Contact:
Re: Testing for tDatabase EOF
Code: Select all | Expand
IF EOF()
or
IF .NOT. FOUND()
or
LOCAL lEof := .F.
lEof := oDbf:Eof()
? lEof
Regards.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341