Record Locking - Is there a way to test to see if a record has been locked

Record Locking - Is there a way to test to see if a record has been locked

Post by Gianluca Rabuff » Tue, 14 Dec 1999 04:00:00



I'm trying to accomplish that myself, too. Did anybody come up with a nice
way to do that ? Btw, you can trap for errors only when you try to edit or
update a recordset. What if you want to test for locking when you open a
recordset ?

Luca

Quote:> Other than trapping for errors is there a way to check if a record has
been
> locked ??

> Regards,

> Rob

> Eruditio nimia cujus hoc legere potest.
> (Translation - If you can read this you are over-educated)

 
 
 

Record Locking - Is there a way to test to see if a record has been locked

Post by Rob » Wed, 15 Dec 1999 04:00:00


Hi,

Other than trapping for errors is there a way to check if a record has been
locked ??

Regards,

Rob

Eruditio nimia cujus hoc legere potest.
(Translation - If you can read this you are over-educated)

 
 
 

Record Locking - Is there a way to test to see if a record has been locked

Post by Mike Ansti » Wed, 15 Dec 1999 04:00:00


It depends on the DBMS you're using. ORACLE, for example, holds details of
locks held on databse objects in a system table.

Cheers,

Mike


>I'm trying to accomplish that myself, too. Did anybody come up with a nice
>way to do that ? Btw, you can trap for errors only when you try to edit or
>update a recordset. What if you want to test for locking when you open a
>recordset ?

>Luca

>> Other than trapping for errors is there a way to check if a record has
>been
>> locked ??

>> Regards,

>> Rob

>> Eruditio nimia cujus hoc legere potest.
>> (Translation - If you can read this you are over-educated)

 
 
 

Record Locking - Is there a way to test to see if a record has been locked

Post by RES Dat » Wed, 15 Dec 1999 04:00:00


Ok with Oracle, but.... what if I need to accomplish that using Access with
ADO ?

Regards,
Luca


> It depends on the DBMS you're using. ORACLE, for example, holds details of
> locks held on databse objects in a system table.

> Cheers,

> Mike


> >I'm trying to accomplish that myself, too. Did anybody come up with a
nice
> >way to do that ? Btw, you can trap for errors only when you try to edit
or
> >update a recordset. What if you want to test for locking when you open a
> >recordset ?

> >Luca

> >> Other than trapping for errors is there a way to check if a record has
> >been
> >> locked ??

> >> Regards,

> >> Rob

> >> Eruditio nimia cujus hoc legere potest.
> >> (Translation - If you can read this you are over-educated)

 
 
 

1. I am getting duplicate records, I mean everything is duplicate even Access record number

I have a database program in VB6 service pack 3 with a Access 2000 database
file
and using the microsoft active data objects 2.0 library.

I am getting duplicate records, I mean everything is duplicate
even the Access Record number. What I mean is if you open the database file
in Access 2000
the left column is then record number access uses to store your line item
and I see two record numbers with the same and somtimes different fiels
values.

So has anyone experienced this and does the
microsoft active data objects 2.5 library fix this?

Thank You
Bill A

2. Wanted Foxpro\SBT Programmer

3. I'm having a problem with records locking up for no reason

4. How Can I find out the Table Names in a given Access MDB?

5. Locking/Locked records

6. ADOX stored procedures question

7. How to lock and detect the locked record?

8. Quirky performance differences/problems between connections made by Unix client versus Windows Client

9. help with record locking.. (Pessimistic locking)

10. ORACLE record locking acting like page locking

11. how to lock record instead of lock tab?

12. Foxbase record locking and being locked

13. help...LOCK() is NOT locking records