Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set filter with combobox
Message
From
21/08/2001 14:07:55
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00546844
Message ID:
00546891
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform