Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Key generator
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00347861
Message ID:
00348504
Vues:
29
>I have a VFP application that needs to run in several different sites, then merged together for combined reports. I need a better way to keep the primary keys from being duplicated. I am currently using a modified version of getid() to assign the keys now, but sometimes the users will have to restore their system and forget to re-set the key values creating a real mess. What would be the "pro" way to handle this?


Use the Hi/Lo method or the GUID() method which both work fine for distributed values.

See http://fox.wikis.com/wc.dll?wiki~UniqueKeyGeneration~VFP

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform