Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record order? physical & display order
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00172136
Message ID:
00172138
Views:
24
>I have a table with CDX index file tagged on an ID. I can display the data in a form in the order of ID, but my codes using RECNO() face a problem. RECNO() accesses the record in physical order but not the displayed record as I want. How to solve this?

Nond,

Stop using recno() and use the Primary key for the table instead. RECNO() is a remanent of xBase days gone by and using the physical record number is not a good way to handle things now.

If you can describe more thoroughly what you are trying to do I am sure we can give some advice on how to do it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform