Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I set the first element in a grid?
Message
 
À
13/12/2001 19:08:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00594171
Message ID:
00594172
Vues:
36
>I have a grid that has three columns. The grid is populated by a SELECT lastname, city, state from table into cursor c_grid order by lastname". There are like a thousand rows returned. My question is how do i make the grid automatically go the to the record where lastname = "Smith". Right now the first record shown is "Abbott".

LOCATE FOR LASTNAME="Smith" in the init() of the grid

:-)
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