Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wierd Grid Refresh + other grid question
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00033101
Message ID:
00033146
Views:
43
>>1) In some headers of my grid I have added click event code to SET ORDER TO the order indicated by the ControlSource of the column I'm in. I do a simple SET ORDER TO followed by a grid.refresh
>>
>>If I do this with the topmost row of the grid highlighted, it works fine. However, when I have highlighted a row OTHER THAN the topmost, my record pointer changes and I'm no longer on the record that I was at before I did the refresh!
>
>1) save the record number
>2) set the new order
>3) refresh the display
>4) go to the saved record number
>
>/Paul

Paul...

Yea, I know that works...But it's cheap! Why does REFRESH change the RECNO() ???

That's what I can't figure out...

Joe
Independant Foxpro Developer
Spring Hill, FL
jpirola@tampabay.rr.com
352/686-8373
Previous
Reply
Map
View

Click here to load this message in the networking platform