Re: Strange AV deleting last record in access table



Does this happen when you run outside of the IDE?
If it doesn't appear outside the IDE then just ignore it.




When I delete the last record in my access (2003) table and call
ApplyUpdates(-1) then I get the following exception :

Project xxxx.exe raised exception class EOleException with message 'Either
BOF or EOF is True, or the current record has been deleted. Requested
opertion requires a current record'.

Anybody any ideas what might be causing this?

I use Delphi 2007 and the ADO components to acces the table. (TADOQuery,
TDatasetProvider, TClientDataset)

--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.



Relevant Pages

  • Re: BOF o EOF when I Delete
    ... exception, outside of the IDE. ... refresh the TAdoQuery and it does not show any record. ... The SQL statement has a where condition. ... > Does this error occur outside of the IDE? ...
    (borland.public.delphi.database.ado)
  • Strange AV deleting last record in access table
    ... Project xxxx.exe raised exception class EOleException with message 'Either ... I use Delphi 2007 and the ADO components to acces the table. ... (TADOQuery, ...
    (borland.public.delphi.database.ado)
  • Re: Strange AV deleting last record in access table
    ... If it doesn't appear outside the IDE then just ignore it. ... Project xxxx.exe raised exception class EOleException with message 'Either ... I use Delphi 2007 and the ADO components to acces the table. ...
    (borland.public.delphi.database.ado)