Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto Generate user ID
Message
De
13/03/1997 11:55:04
 
 
À
13/03/1997 11:37:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00024106
Message ID:
00024114
Vues:
39
>Hi, Can anyone help on how can I create auto generate user ID on the Form Generator??

Basic way to create unique ID:
1. Have a table 'Counters' with 2 fields: tablename,counter.
2. Write procedure 'CreateId' accepting Tablename parameter.
3. Call this procedure: locate record in Counter (by Tablename), lock this record, take counter as new Id, increment counter, unlock record, return new Id.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform