locking in ADO
From: Susan Leigh (magine_at_turtleflight.com)
Date: 02/19/04
- Next message: Dave Blake: "Re: ADO Deployment on old systems"
- Previous message: Susan Leigh: "Re: slow ADO refresh, ending in error message"
- Next in thread: Brian Bushay TeamB: "Re: locking in ADO"
- Reply: Brian Bushay TeamB: "Re: locking in ADO"
- Reply: Jeremy Collins: "Re: locking in ADO"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 19 Feb 2004 01:53:58 -0500
I've been trying for a long time to resolve a sporadic problem I have
with errors occuring when trying to update records in a MS Access
database, using ADO. Actually I finally resolved the problem after much
tweaking in an earlier version of the application, written in Delphi 5
and using third party ADO components (ADOnis). But now that I'm porting
to Delphi 7, I'm seeing those old errors again.
I'm using the BetterADO components since the standard Delphi 7 ADO
components were giving me some other problems which the BetterADO
components resolved.
The errors I'm seeing are either:
Could not update, currently locked by used 'admin' on machine 'TORTUGA'
(Tortuga is the computer's name.)
OR
Row cannot be located for updating, some values may have changed since
it was last read.
Is this a matter of trying to change too many records in rapid
succession? The database activity in my application all takes place
serially, so it doesn't seem like I could be trying to update a record
that was still open. Any if that were the case, then why would the
problem only occur with the newer ADO components?
I'm guessing the reason that the problem has resurfaced in Delphi 7 may
be that the old ADOnis components I used with Delphi 5 had more
adjustable parameters, that the components I'm using now lack. Still, it
doesn't seem that I'm trying to do anything that exotic...maybe I'm just
leaving something out? What kinds of things should I be looking for?
- Next message: Dave Blake: "Re: ADO Deployment on old systems"
- Previous message: Susan Leigh: "Re: slow ADO refresh, ending in error message"
- Next in thread: Brian Bushay TeamB: "Re: locking in ADO"
- Reply: Brian Bushay TeamB: "Re: locking in ADO"
- Reply: Jeremy Collins: "Re: locking in ADO"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|