Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automatic record numbering
Message
From
16/03/2005 17:45:51
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00996535
Message ID:
00996583
Views:
17
Unless it's really fast. The article you reference uses FLOCK(). Many people have used it over the years and never reported a problem.

>
>I'm surprised that it worked in DOS because the only way to get next # relabaly is to FLOCK() the table until new record is saved. However locking the table will create unnecessary contention in multi-user environment. Take a look at the article Primary Keys by Craig Berntson at http://www.craigberntson.com/Articles/kb006.htm
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform