Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a part number
Message
De
31/01/1997 09:14:53
 
 
À
31/01/1997 08:29:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00018858
Message ID:
00018947
Vues:
36
>Function NextNo
>Calculate Max(Part_no) to m
>Return m + 1

If you delete your last record and add a new one, this means the new one will have the same primary key as the last one. Even if this will work, we always suggest to always use unique key based on an incremental value and not applying a function on the current data.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform