Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automatic record numbering
Message
De
16/03/2005 16:12:00
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00996535
Message ID:
00996538
Vues:
19
Upgrade to VFP9 and use an AUTOINC field.

>Hi all, I need a method to compute an automatic account number (one-up-count) for each new record (append blank). Old method (DOS) was to go to bottom of table, then get last account number, compute next account number, commit immediately (save) and move on. With multiple users this worked fine because commit (skip-1) was immediate. In windows, the commit seems to be held in a buffer so multiple user all seem to compute the same next record number because commit (save) is still pending. Any ideas?
>
>Dallas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform