Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using an id field in a table
Message
De
26/06/2001 14:31:56
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Using an id field in a table
Divers
Thread ID:
00523735
Message ID:
00523735
Vues:
41
I have a table of customers. One of the fields is the custid (n 5,0) used in relationships with other tables. On one of my forms ( a simple form built with form wizard), I want the client to be able to add a new customer and have the custid field updated automatically. Right now it prompts the user to enter the value of the id. Most of my users aren't going to use the correct id. I would like the next available number to be used automatically. Any help would be appreciated. If this is unclear, another way to put it is I want a field similar to those found in MS Access (type: AutoNumber). TIA
Here's to alcohol...the cause of ... and solution to ... all of life's problems - - Homer J. Simpson
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform