Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Row Numbering
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00386854
Message ID:
00386889
Views:
16
I did this years ago (I think it was VFP3). I simply added a field to the cursor that populated the grid and after it was ordered I replaced the value of the field with the correct number. If I remember correctly I used a scan/endscan with a numeric variable. The down side is that it has to be re-numbered every time you reorder the cursor or view or add or delete a record.

HTH
Barbara

>Has anyone been able to number the rows in a grid and show this in the first column of the grid? It would also have to stay in numeric order, 1,2,3... if you sort the grid by other columns.
>
>Always wanting more!
>Thanks!
>Colombo.
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform