Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incremental search
Message
From
17/08/1998 16:31:21
 
 
To
17/08/1998 16:27:59
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00127535
Message ID:
00127536
Views:
28
>I'm still having trouble with my incremental search. I can't get the grid to highlight the row that has the nearest matching record. It will highlight the record when it gets the focus but not while the user types the search string. I've tried using dynamicbackcolor but it will not accept a variable:
>
>(interactive change of textbox)
>select cards
>set near on
>seek(allt(this.value))
>lcval = cards.card_id
>thisform.grid1.column1.dynamicbackcolor =;
> "iif(cards.card_id = lcval,rgb(0,0,255),rgb(255,255,255))"
>thisform.grid1.refresh()
>
>I get an error message with this??
>
>Any more ideas?
>Dave

thisform.grid1.column1.dynamicbackcolor =;
"iif(cards.card_id ="+alltrim(str(lcval))+",rgb(0,0,255),rgb(255,255,255))"
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform