Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox SQL Variable
Message
From
20/02/2008 13:08:28
 
 
To
20/02/2008 09:25:23
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01294216
Message ID:
01294355
Views:
16
>It's not allowed to use "THISFORM.MyValue" in the SQL of a ComboBox RowSource. I thought if I created a variable in the form's INIT that would keep it in scope and I could use that in the SQL, but it's out of scope. I hate to use a global variable, but is that the best solution?

First, ThisForm.MyValue is a property, not a variable and you'd normally create it in the Form Designer.

Second, the form's Init runs after the combo has been initially populated.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform