Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Control
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00431847
Message ID:
00431891
Views:
11
>Hello,
>
>What I would like to do is as I type text into the field, I would like the table searched and the corresponding record

You can use the keypress event to seek after each keypress, but if the table isn't small, this can be a little too slow. You can add a timer set to about .5sec which is enabled with the text box gets focus. My keypress event resets the timer. Then if the user pauses slightly, the search is performed.
Disable the timer in the lostfocus (and seek again in case they tab or enter before pausing.)


>I have seen this done, and am trying to do this, but I can't get the record to highlight.

see Thread #429840 for a number of options on this.

HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform