Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Move the record pointer but keep the same cell
Message
De
12/01/2000 09:14:37
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
12/01/2000 08:54:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00316873
Message ID:
00316891
Vues:
20
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform