Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto increment function for non primary key field
Message
De
24/10/2001 14:18:18
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00572783
Message ID:
00572804
Vues:
26
Hi Nadia:

I need to handle a set of “folio(s)” for different documents like invoices, purchase orders, etc. Such fields need to be specially handled by a function allowing the user to supply an optional number and the function handling this folios has to be smart enough to detect the next one (not exactly numeric) or any other available from a list. I stick to the idea of not using these unique value fields the primary key.

MM contains a couple of functions to handle auto incremental numeric and base 62 character fields, but the stored procedure that triggers such functions seems not to be flexible enough for my purpose.
Oscar


>Just curios: what is the situation, where you need two auto-increment fields in one table?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform