Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleted records
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00013889
Message ID:
00013926
Views:
29
>While on this subject I had another question. Do you increment the value in the table and then retrieve the new key or do you retrieve the key (+1) and then increment the value in the table. Is there a reason for doing one rather than the other?

You should increment the value in TABLE.DBF first, so if this is succeeding, you can be sure the locking mecanism worked ok.
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
Reply
Map
View

Click here to load this message in the networking platform