Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids, selecting the first row
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00084954
Message ID:
00085260
Views:
32
>>(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
Previous
Reply
Map
View

Click here to load this message in the networking platform