Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incremental Search in Grid
Message
From
10/12/2004 14:53:58
 
 
To
09/12/2004 23:21:08
General information
Forum:
Visual FoxPro
Category:
Visual FoxExpress
Environment versions
Visual FoxPro:
VFP 5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00968094
Message ID:
00968383
Views:
8
To support nested parent/child/grandchild bizobjs seamlessly, they must all be based on views in VFE5. I eventually remembered that incremental search is not supported with views - mainly because, as you pointed out, the framework code depends on an index, which the view doesn't have (views are typically ORDERed instead).

However, I was able to link in a modified version of the grid.Search method which uses LOCATE instead of SEEK and it works fine for the small number of records I'm dealing with.

There doesn't seem to be any related setting(s) in DBCX for this feature in VFE5.

>You might find nobody at F1 remembers how VFE 5 works either <g>
>
>Incremental searching usually depends on an index on UPPER(fieldname)
>
>In 6.0+ you need to set a DBCX prop as well, but don't remember in 5.0
>
>
>>Using Visual FoxExpress 5.0
>>
>>It's been a while since I last worked with this framework. I'm trying to enable the "keyboard steering" (incremental search) in the List grid of a Data Entry & List form.
>>
>>I've set the grid's lSearchGrid property to .T., but no joy. When I try typing while the first column of the grid has focus I just get "dings", as if the column/grid is readonly (which it is but shouldn't matter in this case (?))
>>
>>Can anyone remember how to make this work? The 5.x Peer Support forum at F1 is basically non-existent.
>>
>>UPDATE - never mind, I worked around it.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform