Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incremental Search
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00701940
Message ID:
00814211
Views:
10
>Barbara,
>
>The native VFP8 Grid works great with incremental search (moving row dynamically), as individual chars are typed in with INDEX on open table/workspace. Unfortunately, I'm using a SQL Query with ORDER by statement, instead (necessary w. logic of my program). The only movement of row highlight[ed] is when I get every character in WHERE BY field typed in (not incremental with each char typed in).
>
>Any thoughts, or ideas here?

I use the current index tag to determine which field to use for the incremental search. In your case, you could modify the code to use a LOCATE instead of the SEEK, but keep in mind that it may be a lot slower (depending on how many records are in your cursor), and will be specific for this one cursor. The code you're looking for is in the IncrementalSearch method.

>ps. I hope you enjoyed your trip to the Far East.

Yes it was an amazing trip, and I've got a photo web site in progress at www.peisch.com/photos/bhutan.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform