Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automatic Primary Key Value
Message
De
07/08/2001 11:00:28
 
 
À
07/08/2001 10:52:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00540694
Message ID:
00540707
Vues:
23
>Just beginning to delve into SQL syntax in VFP and would like to create a primary (numeric) key in a table. I would also like this field to simply be an integer value which increments by 1 each time a new record is added.
>
>Some SQL languages have a definition which causes this to happen. I haven't seen any reference to something like this so far. Is there anything like this in VFP ?
>
>If not, is there a recommended method for handling this ? Separate FREE table to store next value in ? Table within the database ?

Don,

See a working function at:

http://www.craigberntson.com/Articles/kb006.htm
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform