Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto increment function for non primary key field
Message
From
24/10/2001 14:18:18
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00572783
Message ID:
00572804
Views:
27
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform