Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Move the record pointer but keep the same cell
Message
From
12/01/2000 09:14:37
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00316873
Message ID:
00316891
Views:
21
>Is it possible to reset the record pointer in a grid after re-creating the cursor so that the data is displayed in the same cell on the grid? ->>
>
>You are on record 5 which is in the middle of the grid.
>Set the RecordSource to nothing
>Rebuild the data
>Locate for the correct record (rec 5)
>You are now on the correct record but at the top of the grid.
>
>Is there anyway to make the active cell appear where it used to be? This also applies if you re-order the data - i.e. the actual record number cannot be guarranteed.
>
>TIA


Ian,
Record RelativeRow also. Then if that's appropriate use doscroll() method to scroll (it might not be appropriate with changing orders, deletions etc).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform