Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto create code for the primary key in a multi-table vi
Message
De
04/10/2006 03:17:29
Neil Mc Donald
Cencom Systems P/L
The Sun, Australie
 
 
À
04/10/2006 00:40:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01159218
Message ID:
01159236
Vues:
16
This message has been marked as the solution to the initial question of the thread.
Hi,
Why not set the PK field to Integer (Autoinc)

>Hi friends,
>
>Could someone tell me the code for auto-creating an unique incremental code in
>a primary key on the main table within the view's coding framework itself?
>
>This is so that when a new record is appended, it comes with a unique id automatically.
>
>I seem to be having some problems doing so from with the view's code.
>
>Thanks a lot.
>
>With best regards,
>
>Steve.
Regards N Mc Donald
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform