Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append Blank
Message
 
To
20/07/2006 11:42:56
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01138100
Message ID:
01138162
Views:
13
In the field validation of the table the default value function is the following:
ALLTRIM(STR(RECCOUNT()))
Is there any way two users could get the same value from this for their record?
What if these two users run code to add a record at the same time?

User1:
SELECT Table_with_default_value_for_primary_field && has 99 records
APPEND BLANK && 100th record.

User2:
SELECT Table_with_default_value_for_primary_field && has 99 or 100 records?
APPEND BLANK && 100th or 101st record?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform