Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cbo rowsource expression including its own properties
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Cbo rowsource expression including its own properties
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01294366
Message ID:
01294366
Vues:
68
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
Fil
Voir

Click here to load this message in the networking platform