Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to keep a Grid record in same position
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00883787
Message ID:
00883890
Views:
6
Hi Borisalv. Thanks for your reply.

I started to use GOTO but changed to Locate instaed because if, for any reason, Myrecnum is not a valid record number, an error is generated. if I use Locate, it just gors to EOF and I can test If Eof......

Regards,

Gerard


>May be (I have no possibilities to test that), After You return to form & do the SQL again:
>
>thisform.Grid1.Refresh()
>GOTO Thisform.MyRecnum IN MyCursor && I thisg that is faster then LOCATE
>thisform.Grid1.SetFocus()
Previous
Reply
Map
View

Click here to load this message in the networking platform