Applebee
April 30th, 1999, 12:07 PM
I've begun playing with the MDB files and I have a basic MFC-CRecordView app. The navigator buttons on the toolbar work just fine until i do some work on the table: Click a button, go to the top, edit a field, loop until eof.
When I'm done, the view is on the last record, the navigator buttons for Next and Last are disabled and Prev and First buttons are enabled, as I would expect if EOF. If I click on one of the buttons I receive "Operation Failed, No Current Record". I can't move anywhere in the database.
OK I'll try again. If, after the loop, I add pRecSet->Prev() then I can move w/o the error. So my question is why/what is this situation? Phantom EOF record?
When I'm done, the view is on the last record, the navigator buttons for Next and Last are disabled and Prev and First buttons are enabled, as I would expect if EOF. If I click on one of the buttons I receive "Operation Failed, No Current Record". I can't move anywhere in the database.
OK I'll try again. If, after the loop, I add pRecSet->Prev() then I can move w/o the error. So my question is why/what is this situation? Phantom EOF record?