Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set filter with combobox
Message
 
 
To
21/08/2001 12:57:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00546844
Message ID:
00546855
Views:
15
SET FILTER expression is evaluated every time the pointer in a table moves not at the time where it's issued. Try following
lcFilterExp = [tablefield = "] + this.value + ["]
SET FILTER TO &lcFilterExp
This way if this.value ="SOMEVALUE" than you'll get
SET FILTER TO tablefield = "SOMEVALUE"
>Hello all
>
>i'v the following problem,
>
>i want to filter my grid upon a selection in a combo box
>so i tried :
>
>in combobox's click event:
>set filter to tablefield = this.value
>
>also tried to put this in valid event
>
>but in both cases i get the errormessage:
>"THIS can only be called from a method"
>
>thx
>
>Christian
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform