Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto increment function for non primary key field
Message
 
To
25/10/2001 22:32:57
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00572783
Message ID:
00574349
Views:
32
1.Its good that you have the soultion.
2.I think that your problems are quite common and probably in the moment a hundred developers problem fight against problem of numbering in sequenced way.
Maybe someday VFP or SQL Server will have field of sequence type with attributes like (reset on new month, first use skipped number etc.)

Best Regards


>
>However, a user should be able to select a number ahead in the sequence and the auto incremental procedure should be able to detect the skipped number of the sequence to keep using them and discard those chosen by the users. I know this sound weird or crazy, but it has become a real need for invoice numbering implementation.
>
>Fortunately, by the end of the day I managed to complete the numbering sequence at trigger level as expected.
>
>Thanks and regards
>
>Oscar Corte
Previous
Reply
Map
View

Click here to load this message in the networking platform