>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?
Using your code in a test does not show this behaviour, the focus was on the first line.
Do you use the cursor somewhere else in the form?
Seek, locate, scan, etc... can move the pointer to the EOF.
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca