Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi user
Message
From
07/09/1999 11:41:50
 
 
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:
00261959
Views:
16
>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

Others will disagree with this but I use table buffering for all data buffering situations unless there is a compelling reason to use record buffering.

One way to get around the second issue is not to get the new number until the user presses the Save button, then get the new number and inform the user. Others may have more options on this issue.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform