General information
Category:
Forms & Form designer
Title:
Cbo rowsource expression including its own properties
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only