Board index » delphi » Closing a ADOQuery with no Records (Error EOF, BOF)

Closing a ADOQuery with no Records (Error EOF, BOF)

Can someone Help!

I'm connecting to MSSQL2000 with Adocomponents and everything seems to work
fine except the following!

When I close a ADOQuery or ADODataSet that has no records i get the
following

Exception EOleException
Either Eof or BOF ist true, The current Record has been deleted. The
requested Operation requires a Current Record...

I've included Exception handling with no result, Nothing after works.

Greetings from Austria!

 

Re:Closing a ADOQuery with no Records (Error EOF, BOF)


Hi
if you use mdac 2.6 you need the Informal ado patch

Regards

David   agros...@arava.co.il

Quote
"Sven Bayerl" <S...@13oxn.at> wrote in message

news:8u9lg7$gks14@bornews.inprise.com...
Quote
> Can someone Help!

> I'm connecting to MSSQL2000 with Adocomponents and everything seems to
work
> fine except the following!

> When I close a ADOQuery or ADODataSet that has no records i get the
> following

> Exception EOleException
> Either Eof or BOF ist true, The current Record has been deleted. The
> requested Operation requires a Current Record...

> I've included Exception handling with no result, Nothing after works.

> Greetings from Austria!

Re:Closing a ADOQuery with no Records (Error EOF, BOF)


hi
i have the same problem with a filtered adoquery , the informal patch is
installed but the problem is still there.I have  reduilt the whole project
but nothing changes.

Thanks for your time

Re:Closing a ADOQuery with no Records (Error EOF, BOF)


I also have this problem.... I've install two informal ADO patches...  Are
there more than two?

Quote
"Sven Bayerl" <S...@13oxn.at> wrote in message

news:8u9lg7$gks14@bornews.inprise.com...
Quote
> Can someone Help!

> I'm connecting to MSSQL2000 with Adocomponents and everything seems to
work
> fine except the following!

> When I close a ADOQuery or ADODataSet that has no records i get the
> following

> Exception EOleException
> Either Eof or BOF ist true, The current Record has been deleted. The
> requested Operation requires a Current Record...

> I've included Exception handling with no result, Nothing after works.

> Greetings from Austria!

Re:Closing a ADOQuery with no Records (Error EOF, BOF)


The new update patch worked for me... It was confusing at first that the new
one still had the same ID as the old... I made it look like the same zip
file.  Oh well.  It works now...
Here's the URL I hit...
http://ww6.borland.com/codecentral/ccweb.exe/listing?id=14080

Quote
"Shannon Broskie" <sbros...@mediaone.net> wrote in message

news:3a09abd9$1_1@dnews...
Quote
> I also have this problem.... I've install two informal ADO patches...  Are
> there more than two?

> "Sven Bayerl" <S...@13oxn.at> wrote in message
> news:8u9lg7$gks14@bornews.inprise.com...
> > Can someone Help!

> > I'm connecting to MSSQL2000 with Adocomponents and everything seems to
> work
> > fine except the following!

> > When I close a ADOQuery or ADODataSet that has no records i get the
> > following

> > Exception EOleException
> > Either Eof or BOF ist true, The current Record has been deleted. The
> > requested Operation requires a Current Record...

> > I've included Exception handling with no result, Nothing after works.

> > Greetings from Austria!

Other Threads