 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Stefan Tchigik Guest
|
Posted: Fri Mar 05, 2004 10:40 am Post subject: Open close Tado Query with msSql |
|
|
Hello alls,
I developp an app with:
- Ms Sql 2000.
- TAdo components.
- Delphi 5.
- Windows XP Professional.
When I open and close a TadoQuery containing a single request like:
Select * from Table1.
When this request returns empty records I have an exception when each time I
close the TAdoQuery:
"BOF or EOF is equal to true, or the actual record have been deleted. The
requested operation needs a record".
This exception appends even if I'm in design mode (set active to true and
then set active to false).
I tries a lot of thing with the TADo components property without success.
Anybody have an idea ?
Thanks,
|
|
| Back to top |
|
 |
Dan Guest
|
Posted: Fri Mar 05, 2004 12:18 pm Post subject: Re: Open close Tado Query with msSql |
|
|
Try installing the Delphi 5 update pack 2, if you haven't already done so
http://info.borland.com/devsupport/delphi/mdac26.html
Cheers
Dan
"Stefan Tchigik" <mamouth3 (AT) libertysurf (DOT) fr> wrote
| Quote: | Hello alls,
I developp an app with:
- Ms Sql 2000.
- TAdo components.
- Delphi 5.
- Windows XP Professional.
When I open and close a TadoQuery containing a single request like:
Select * from Table1.
When this request returns empty records I have an exception when each time
I
close the TAdoQuery:
"BOF or EOF is equal to true, or the actual record have been deleted. The
requested operation needs a record".
This exception appends even if I'm in design mode (set active to true and
then set active to false).
I tries a lot of thing with the TADo components property without success.
Anybody have an idea ?
Thanks,
|
|
|
| Back to top |
|
 |
Stefan Tchigik Guest
|
Posted: Fri Mar 05, 2004 2:05 pm Post subject: Re: Open close Tado Query with msSql |
|
|
Thanks a lot it's working fine now,
Have an happy good day, bye
"Dan" <x> a écrit dans le message de news:
404870a3$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Try installing the Delphi 5 update pack 2, if you haven't already done so
http://info.borland.com/devsupport/delphi/mdac26.html
Cheers
Dan
"Stefan Tchigik" <mamouth3 (AT) libertysurf (DOT) fr> wrote in message
news:404858f5 (AT) newsgroups (DOT) borland.com...
Hello alls,
I developp an app with:
- Ms Sql 2000.
- TAdo components.
- Delphi 5.
- Windows XP Professional.
When I open and close a TadoQuery containing a single request like:
Select * from Table1.
When this request returns empty records I have an exception when each
time
I
close the TAdoQuery:
"BOF or EOF is equal to true, or the actual record have been deleted.
The
requested operation needs a record".
This exception appends even if I'm in design mode (set active to true
and
then set active to false).
I tries a lot of thing with the TADo components property without
success.
Anybody have an idea ?
Thanks,
|
|
|
| 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
|
|