Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set filter with combobox
Message
De
21/08/2001 14:07:55
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00546844
Message ID:
00546891
Vues:
17
Hello all

Georges right,
i get the lcValue not found error

like Cetin suggested i'm trying it now wiht "sql where clause"

now i'v got the same problem, the code looks like this:
(in ComboBox's Valid event):

local cgridhandle, cField, cValue, cMethod
cgridhandle = this.cbgrid
cField = this.cbfield
cValue = alltrim(this.value)
cMethod = "thisform."+(cgridhandle)+".cudpsql("+(cField)+","+(cValue)+")"
&cMethod

i'v just tested the variables in the event with "wait windows", they all show correct values!
and the cMethod looks also correct, but i get Error: e.g. Variable de_dust is not found (this is Value of combobox)

i just want to call a method of the grid (cudpsql) with two parameters

the rest should then be out of combobox's scope and i can relax :)

Christian
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform