Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set filter with combobox
Message
 
 
À
21/08/2001 12:57:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00546844
Message ID:
00546855
Vues:
16
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform