Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Display
Message
 
À
28/05/2003 19:59:34
John Tomblin
Service Station Systems, Inc.
San Jose, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00793755
Message ID:
00793759
Vues:
15
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform