Re: Strange AV deleting last record in access table



Only inside the IDE.. I can live with that.
Thankx
Koen

"Brian Bushay TeamB" <BBushay@xxxxxxxxx> wrote in message
news:car4145hhm3rmapkb51sqv7ln1q1nlb9kb@xxxxxxxxxx
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: Delphi 2005 update 1 is out!
    ... Delphi 2005 Update 1 Fixes ... When importing an assembly if the types Pointer or Exception are used ... bdpDataAdapter can cause the IDE to lose all key stroke events until ... Using a remote data module may cause an Access Violation. ...
    (borland.public.delphi.non-technical)
  • Re: Delphi Update one... are you serious?
    ... Delphi 2005 Update 1 Fixes ... When importing an assembly if the types Pointer or Exception are used ... bdpDataAdapter can cause the IDE to lose all key stroke events until ... Using a remote data module may cause an Access Violation. ...
    (borland.public.delphi.non-technical)
  • Re: centralize exception handling without try catch blocks in c#.
    ... it's your opinion and you are entitled to it. ... >> Second, using a UE handler does not really handle the exception, it just ... >>> file outside the IDE. ... >>> handling or i need two startup classes to handle Exception.One for ...
    (microsoft.public.dotnet.general)
  • Re: Exception Handling difference between Design-Time and Run-Time
    ... About the bug. ... I'm not saying either way whether its the IDE thats at fault ... Instead I use global Exception handlers, as they largely do what I ... > Public Shared Sub Main ...
    (microsoft.public.dotnet.languages.vb)
  • Re: VB.NET advantages
    ... The IDE will tell you this and even ... removed from the window. ... Property drop downs are more like VB 6, with the exception that you can ... 20 - The compiler generates an intermediate language that can be decompiled. ...
    (microsoft.public.vb.general.discussion)