Link to home
Start Free TrialLog in
Avatar of sidwelle
sidwelleFlag for United States of America

asked on

what is eof

My question is what does 'EOF' represent.
Explicitly: Are you on the last record or beyond the last record ?

If I open a text file and read until EOF, I know that I have read all chrs/ or lines of the file.
If I try to read one more character or line, vb will throw an error.

But, If I am reading a db table, and I read records until EOF, am I beyond the last record or on it.
If I attempt to read another record, will I get an error or the last record.

I even saw one suggestion on-line that suggested it was different for Client side vs. Server side cursors ?
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sidwelle

ASKER

Thanks for the imput.