Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No in Grid
Message
From
03/07/2001 05:31:18
 
 
To
02/07/2001 22:19:53
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00526129
Message ID:
00526181
Views:
16
Hi!

In the most simple case recno()/reccount() is enough. If you have changed the order of rows by using index, use ActiveRow of the grid, however it is available only when grid is focused, after 2 readings of that property; in addition, it is slow. If you have deleted records not visible, filter set, etc etc - no way but create special field that will be used to numerate each record, that you can use that field values to display what you want. This is the most generic approach (take a look to the Thread #526159 Message #526175 where I just posted an approach of organizing order numbers.)

HTH.

>How can I get the no of row in grid and the total row in grid. eg. 3/10 means current row is 3 and total row is 10.
>
>TIA.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform