Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cbo rowsource expression including its own properties
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01294366
Message ID:
01294381
Views:
18
>All,
>
>if a cbo has properties of .nMinValue and .nMaxValue
>
>how do I set a sql query type row source to use them?
>
ex:  SELECT description, id FROM sizes where size.id >= this.nMinValue and size.id <= this.nMaxValue
>
>I place the control on the form after the form is up, in the valid() of another cbo on the form
>
>.AddObject("MyCboName", "MyCboClass")
>
>the .addobject() complains that at line 0 the property nminvalue is not found.
>
>I assumed the properties existed, with values, before the rowsource evaluated
>
>TIA
>Al Allison

This is just a test to see if I could include you message in my answer.
Sorry for that.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform