Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Control
Message
 
To
19/10/2000 17:19:37
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00431847
Message ID:
00431855
Views:
11
Try this:
In the lost focus event:

if seek(MyKey,"MyTable","MyIndex")
MyForm.MyGrid.SetFocus
MyForm.MyGrid.Refresh
Else
* Process Key not in Table
endif


>Hello,
>
>I have a form with a Grid control on it tied to an indexed table. I also have a text field on the form. What I would like to do is as I type text into the field, I would like the table searched and the corresponding record in the grid highlighted (or the one most closely matching).
>
>I have seen this done, and am trying to do this, but I can't get the record to highlight.
>
>Any suggestions?
>
>Thanks All!
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform