Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi user
Message
From
07/09/1999 13:00:10
 
 
To
07/09/1999 10:57:24
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00261948
Message ID:
00262015
Views:
20
>Hi,
> I have a table which store the last ID generated for my invoise. It will be access and updated by every user.
>I have a problem that, what type of buffering should be used for this if only this record will be used for ID generation?
> How to re-use the ID if some body cancel the ID before inserted?
>
>Thank you

Don't use any buffering on your Keys table. If you need to reuse an ID, keep it in a sepatate table of unused IDs. Ideally, you don't assign this number until they actually save.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform