Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I disply record in a grid after changing index
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How do I disply record in a grid after changing index
Miscellaneous
Thread ID:
00295803
Message ID:
00295803
Views:
56
I have a grid with seven columns. All works great. In the click event of several headings I have some code to change the index order.

select cust
mrecno = recno()
set order to lname ( or what ever column they clicked in)
goto mrecno
thisform refresh

I want the grid to continue to display the currently selected record. Instead it jumps to a different record most of the time. Any suggestions?
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Next
Reply
Map
View

Click here to load this message in the networking platform