Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi user
Message
De
07/09/1999 11:41:50
 
 
À
07/09/1999 10:57:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00261948
Message ID:
00261959
Vues:
17
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform