Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On KeyPress - enable incremental searching on a GRID
Message
From
24/10/1997 14:03:03
 
 
To
24/10/1997 13:42:53
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00056548
Message ID:
00056577
Views:
29
>>>>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..
>
>Rob, if your user wants to enter a letter, then, I guess, you should supply him a place for this, e.g. textbox. Why are you not sure how to handle SEEK?

I guess I could use a LISTBOX instead of the GRID.
I did not want to supply the user with a textbox.
Do not have a question about SEEK.
thanks :)))
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform