General information
Category:
Coding, syntax & commands
Hi,
Just make sure that: (put after the code you showed)
GO TOP IN MyFile
ThisForm.MyGrid.Setfocus()
That should do the trick!
HTH
Dennis
>When my form comes up the grid on it displays only the last record of the cursor it is based upon. The user has to scroll up to see the other records.
>Is there a way to make it be on the top record instead of the bottom record?
>
>The Init method of the grid says:
> This.RecordSource = ""
> select ... from table into cursor MyFile
> go top
> This.RecordSource = "MyFile"
> This.Value = 1
>
>Any ideas?
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only