Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Consecutive folios in multiuser environment
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01658516
Message ID:
01658534
Vues:
52
>Hi, I need help; I need to use consecutive folios in a native table of FoxPro (DBF) in multiuser environment. How do I make the folios not duplicate? Any function?

Hi Francisco, I was remembering that folios in my country is a lot of pages with consecutive numbers. Is that what you need? So you can generate a cursor with as many records as pages you need, then put in the report that page breaks after each record, and put a number page on the footer.
other, if you need records numered incremental in vfp tables you have autoinc field in the tables or cursor.
or if you need just add the record number for each new register, just replace one field called ID or whatever you need it with recno(), everytime you add a new record, the internal consecutive number is stored and you can recover it by recno() function. Maybe that is what you need?
John Harold Belalcázar Lozano
Associate Director Of Development
http://www.belvicto.co/
jhbelalc@gmail.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform