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 13:42:53
 
 
To
24/10/1997 12:41:00
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00056548
Message ID:
00056571
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?
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform