what is eof
Posted on 2009-07-09
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 ?