Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making sure one occurence of the record is created
Message
From
25/04/2003 17:47:11
 
 
To
25/04/2003 17:31:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00781704
Message ID:
00781728
Views:
19
>how about, a seperate tabe (as you suggested in the 2nd message), but no need for a flock or rlock, just fill a specific field with a specific value. as someone start the proccess they look first in the table/field. if the expected value is not there, they fill the field and are free to start the procedure. once they are done, they release that field.

Yes, this is what we are investigating presently as a mechanism. However, that will also require a RLOCK() on a specific record on that table in order to assure that we avoid two transactions at the same time doing the replace of that field value.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform