Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi user
Message
De
07/09/1999 13:00:10
 
 
À
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:
00262015
Vues:
19
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform