Board index » delphi » Record locking with ADO - Delphi 5 and Access 97/2000 - Jet 4.0
David Chaumont
![]() Delphi Developer |
Mon, 15 Apr 2002 03:00:00 GMT
|
David Chaumont
![]() Delphi Developer |
Mon, 15 Apr 2002 03:00:00 GMT
Record locking with ADO - Delphi 5 and Access 97/2000 - Jet 4.0
Did anybody get the record locking to work in ADO with access 97/2000 using
JET 4.0 ? I have an application residing on a server with the .mdb file and if we both edit a field of a particular row it will let both of us do it.. I've been wasting hours on this and tryed many settings and nothing seems to work.. Help. David |
Alexandre DANV
![]() Delphi Developer |
Tue, 16 Apr 2002 03:00:00 GMT
Re:Record locking with ADO - Delphi 5 and Access 97/2000 - Jet 4.0I think that ADOExpress does not support Pessimistic locking mechanism as it never Edit the recordset. It is very difficult to make a TDataset descendant that work on Ms ADO or Example : If you edit a record in a grid, recordset should be in edit mode. Perhaps Mark and others Borland developpers have a solution. Alex David Chaumont <da...@chaumontsystems.com> a crit dans le message : Quote> Did anybody get the record locking to work in ADO with access 97/2000 |
David Chaumon
![]() Delphi Developer |
Tue, 16 Apr 2002 03:00:00 GMT
Re:Record locking with ADO - Delphi 5 and Access 97/2000 - Jet 4.0Ok thanks.. Guess i'll wait for more feedback. Anybody else have any info on this subject for me? David QuoteAlexandre DANVY <alex-...@ebp.fr> wrote in message Quote> I think that ADOExpress does not support Pessimistic locking mechanism as |
Tomasz Cwaj
![]() Delphi Developer |
Sun, 21 Apr 2002 03:00:00 GMT
Re:Record locking with ADO - Delphi 5 and Access 97/2000 - Jet 4.0Thi may be not godd configured Access. I think you should try such locking using only Access mechanizms and if it will do work properly then put the question again on this usnet group. Tomek Cwajda |
Borla
![]() Delphi Developer |
Sun, 21 Apr 2002 03:00:00 GMT
Re:Record locking with ADO - Delphi 5 and Access 97/2000 - Jet 4.0QuoteDavid Chaumont <da...@chaumontsystems.com> wrote in message Quote> Ok thanks.. Guess i'll wait for more feedback. Anybody else have any info on because ADO itself does not have any way to arbitrarily lock a given record and still support navigating to other records. There is something that you can try, but keep in mind it won't work if you do ADODataSet1.UpdateCursorPos; You must have CursorLocation set to clUseServer. One other option might be to use a cloned cursor to manage the locking. Good luck, Mark |
Alexandre DANV
![]() Delphi Developer |
Mon, 22 Apr 2002 03:00:00 GMT
Re:Record locking with ADO - Delphi 5 and Access 97/2000 - Jet 4.0Mark, I really agree with your explaination : This is a ADO/DAO behaviour : After spending our to find a solution to correct the same problem with DAO, Today I use a table to store locks manually (in fact a TDataset descendant Alex Mark Edington (Borland) <meding...@nolunchmeat.com> a crit dans le message Quote> David Chaumont <da...@chaumontsystems.com> wrote in message - Hide quoted text - - Show quoted text - Quote
|
David Chaumon
![]() Delphi Developer |
Mon, 22 Apr 2002 03:00:00 GMT
Re:Record locking with ADO - Delphi 5 and Access 97/2000 - Jet 4.0Alexandre, could you give me more specific details on how your doing this? i'm interested. David QuoteAlexandre DANVY <alex-...@ebp.fr> wrote in message Quote> Mark, |
Tomasz Cwaj
![]() Delphi Developer |
Mon, 22 Apr 2002 03:00:00 GMT
Re:Record locking with ADO - Delphi 5 and Access 97/2000 - Jet 4.0Quote>Today I use a table to store locks manually (in fact a TDataset descendant share some examples of code. Tomek |
1. Delphi 4.0, Access 97, record locking
2. Record locking with ADO Express, ADO 2.5 and Access 2000 .mdb files
3. Access 2000 on NT 4 using Jet 4.0
4. MS Jet 4.0 - Can't connect to Access 2000 db
5. Access 2000, Jet 4.0, SQL max-function
6. Access 2000 on NT 4 using Jet 4.0
7. Access 97 MDB file - ADO Jet 4 OLE DB