Board index » delphi » error ADOTable & ADOQuery component

error ADOTable & ADOQuery component

why i often this exception ('exception class EOleException with message
'Either BOF or EOF is true, or the current record has been deleted.
Requested operation requires a current record'') if i close ADOTable or
ADOQuery..?
and what solution for this problem.?

regards
rachman

 

Re:error ADOTable & ADOQuery component


Quote
>'Either BOF or EOF is true, or the current record has been deleted.
>Requested operation requires a current record'')

Probably some fields have changed in the record so that the query can no longer
find the record on the server to changes.  The default for ADOexpress components
is to use all the fields to locate a record.  Having default values set at the
database level can cause this problem after the record has been inserted and
before your requery

--
Brian Bushay (TeamB)
Bbus...@NMPLS.com

Other Threads