Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids, selecting the first row
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00084954
Message ID:
00085260
Vues:
28
>>(VFP3) I have a display grid and I'd like the first row to be selected when the user opens a form. This in turn will cause some fields to be populated and some properties which are later called. How should I do this?
>
>Sarah,
>
>In the form's Init;
>
> SELECT (THISFORM.Grid1.RecordSource)
> GO TOP
> THISFORM.Grid1.SetFocus()

aaah Jim, spot on as usual - Thanks! I have yet another grid problem, but I'll post that separately.
Sarah
Sarah King
pcpropertymanager.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform