Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto Number
Message
From
25/05/2005 16:48:49
 
 
To
25/05/2005 14:49:19
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows NT
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01017435
Message ID:
01017658
Views:
19
>There are several ways to get autoinc in VFP 6.0. I've had several people question my method that uses FLOCK(), but it has been stressed tested with hundred of users and at multiple locations.
>

Your method makes a lot of sense. You prevent machine #2 from reading and grabbing a lock on a record right after machine #1 finds the record and *doesn't* get the lock. And the file won't be locked long.
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform