Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locking Rows with ADO
Message
From
13/06/2001 13:54:48
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Locking Rows with ADO
Miscellaneous
Thread ID:
00518990
Message ID:
00518990
Views:
57
Hi, Everybody!

I'm trying to write a routine to generate ID's, based on a meta table, which will control my ID's... Well, I'll open a RecordSet with the record that brings me the last ID for a given table, and I want to increment that ID and update on my table. Well, while I'm doing this process, I must lock the record, this way no user will generate the same ID.

In VFP, that's easy... but with ADO, I just don't know how to do that... I'm trying oRS.LockType = adLockPessimistic, but it doesn't works.

Could anyone help me?
Claudio Lassala
Next
Reply
Map
View

Click here to load this message in the networking platform