Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I set the first element in a grid?
Message
 
To
13/12/2001 19:08:57
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00594171
Message ID:
00594172
Views:
34
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform