Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append Blank
Message
 
À
20/07/2006 11:42:56
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01138100
Message ID:
01138162
Vues:
14
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform