Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Consecutive folios in multiuser environment
Message
From
05/03/2018 10:24:41
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01658516
Message ID:
01658534
Views:
53
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform