Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FLOCK() causes duplicate primary keys.
Message
De
26/08/2005 12:37:53
 
 
À
26/08/2005 11:46:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows Server 2003
Database:
Visual FoxPro
Divers
Thread ID:
01043971
Message ID:
01044362
Vues:
12
>
> && put the flock() before the locate
> && or
> go (recno()) && get latest data from disk

OK, I moved FLOCK() before locate.
Unfortunately, I have no idea how this can helo in my case: there is always key record in keys table.
No records are added or deleted from keys table.
duplicate keys occur when many users are using the same keys table record.
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform