Board index » delphi » ERROR : 'Either BOF or EOF is True, or the current record has been deleted....'

ERROR : 'Either BOF or EOF is True, or the current record has been deleted....'

Quote
>I get exception like this:

>"...class EOleException with message 'Either BOF or EOF is True, or the
>current record has been deleted.
>Requested operation requires a current record'. Use...."

The exception indicates the query is not returning any records.
Do you get this error outside of the IDE?
What version of Delphi are you using?
If it is D6 have you applied ADO update 2?
http://community.borland.com/article/0,1410,26606,00.html
--
Brian Bushay (TeamB)
Bbus...@NMPLS.com
 

Re:ERROR : 'Either BOF or EOF is True, or the current record has been deleted....'


I'm Using Delphi 5.
I do get this error outside of the IDE.

And the query should be returning records, because on each query string
that I put in ADOQuery, when I run it first - it works but when I try to run
it second I get the error.

Assaf Yshai

"Brian Bushay TeamB" <BBus...@Nmpls.com> wrote in message
news:8gd6ru4gs8fdu7jadjsoqc0jf28ooocbgm@4ax.com...

Quote

> >I get exception like this:

> >"...class EOleException with message 'Either BOF or EOF is True, or the
> >current record has been deleted.
> >Requested operation requires a current record'. Use...."

> The exception indicates the query is not returning any records.
> Do you get this error outside of the IDE?
> What version of Delphi are you using?
> If it is D6 have you applied ADO update 2?
> http://community.borland.com/article/0,1410,26606,00.html
> --
> Brian Bushay (TeamB)
> Bbus...@NMPLS.com

Other Threads