Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Cbo rowsource expression including its own properties
Versions des environnements
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement