Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On KeyPress - enable incremental searching on a GRID
Message
De
24/10/1997 12:41:00
 
 
À
24/10/1997 11:48:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00056548
Message ID:
00056559
Vues:
30
>>I have coded a program in vfp50. In my program, I have a
>>GRID that lets the user pick the STATE. My user wants to put in the first letter if the STATE and goto the STATE starting with that letter.
>>Any ideas
>
>Assuming that your grid use alias 'Table1' as recordsource having index on field 'state'. Then:
>Select table1
>Set near on
>Seek "B" && or any other letter you supply
>Thisform.Grid1.Refresh

thanks Ed
In the KeyPress event, I will...
I will put my code.
Not sure how to handle the SEEK.
Where and how do I get the letter to seek on?
The GRID opens up with the setfocus on the first
record of the grid. and.. the grid is read only..
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform