 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Chris Cooper Guest
|
Posted: Mon Jul 25, 2005 11:23 pm Post subject: Either BOF or EOF is True - MDAC 2.8 - Delphi 6 SP3 - SQL200 |
|
|
I've search all the threads on this issue and all of them seem to refer only
to Delphi 5 and MDAC 2.5.
I'm Using Win XP SP2 (which include MDAC 2. , Delphi 6 SP3, and SQL2000, so
I believe I have all the updated covered.
When I open a ADODataSet in BatchUpdate mode, Append a record, and then
"Post" it to memory/batch -- Everything is fine. But if I perform a
ADODataSet.CancelUpdates I still get the "Either BOF or EOF is True" error.
However, if commit the inserts to the database first using
ADODataSet.UpdateBatch and then make changes to the record and perform a
ADODataSet.CancelUpdates, everything is fine. It only happens when I start
with an empty recordset and try to CancelUpdates before and UpdateBatch.
|
|
| Back to top |
|
 |
Chris Cooper Guest
|
Posted: Tue Jul 26, 2005 3:58 pm Post subject: Re: Either BOF or EOF is True - MDAC 2.8 - Delphi 6 SP3 - SQ |
|
|
Thanks Brian,
It seems that I was referencing a bookmark that ofcourse no longer existed
once the dataset was once again empty. It's the ol'
"have-another-pair-of-eyes-look-at-it" syndrome.
Thanks again.
"Brian Bushay TeamB" <BBushay (AT) Nmpls (DOT) com> wrote
| Quote: | However, if commit the inserts to the database first using
ADODataSet.UpdateBatch and then make changes to the record and perform a
ADODataSet.CancelUpdates, everything is fine. It only happens when I start
with an empty recordset and try to CancelUpdates before and UpdateBatch.
|
This can be a legitimate error message if you try to do an operation on an
empty
dataset. I would check your code to see what might be executing after a
CancelUpdate
--
Brian Bushay (TeamB)
[email]Bbushay (AT) NMPLS (DOT) com[/email]
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|