>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?