Board index » delphi » SQL Server 8 and Windows 2000

SQL Server 8 and Windows 2000

Does anybody know of a work around when an empty set is returned from a
Select statement so that Close works again.
i.e.
while not Eof do
begin
...
Next;
end;
Close; - This gives an error Either Bof or Eof is True ...
 

Re:SQL Server 8 and Windows 2000


I cannot duplicate this Bof/Eof error on NT.  Is there some other code that
is trying to execute before the "Close"?

Quote
Bob Grimes <bob.gri...@sd-partners.com> wrote in message

news:39f59486_2@dnews...
Quote
> Does anybody know of a work around when an empty set is returned from a
> Select statement so that Close works again.
> i.e.
> while not Eof do
> begin
> ...
> Next;
> end;
> Close; - This gives an error Either Bof or Eof is True ...

Re:SQL Server 8 and Windows 2000


Use the last AdoExpress components update from CodeCentral.

Martijn Houtman

Quote
"Bob Grimes" <bob.gri...@sd-partners.com> wrote in message

news:39f59486_2@dnews...
Quote
> Does anybody know of a work around when an empty set is returned from a
> Select statement so that Close works again.
> i.e.
> while not Eof do
> begin
> ...
> Next;
> end;
> Close; - This gives an error Either Bof or Eof is True ...

Other Threads