Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Slow tableupdate
Message
 
 
À
06/06/2003 11:06:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00796511
Message ID:
00797324
Vues:
26
Jason,

>How have you done the population of the integer pk field? A stored value in a config table holds the value and is updated when a record is added?

I use a GetKey( "tablename" ) function, typically it looks up a value in a keys table, increments it, replaces is in the keys table and returns the value. You can rlock the row to keep multiple users from retrieving the same key.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform