Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Last row in a table
Message
De
23/04/2002 15:41:52
 
 
À
23/04/2002 15:19:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00648365
Message ID:
00648383
Vues:
18
Hello James,

In a multi-user environment, that is a risky method for generating sequence numbers. Craig Berntson has an article on his website for generating primary keys that you may find helpful: http://www.craigberntson.com/Articles/kb006.htm

>hey everyone,
>is there a way to look at the last row in a table. what i am trying to do is add on to sequence numbers in a table. i want to look at a table's field, for this example we will call it seqnum, and say something like seqnum + 1 for every new insert i make into the table. this way i keep the numbers in sequential order. any advise would be appreciated. thanks.
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform