Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From 1 combobox to another
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00391237
Message ID:
00393852
Vues:
16
Yes, everything you set in the property sheet is getting set up first, when the control initializes, then the code fires and it can reset the property.

>Nick, a quest. When you hard code the rowsourcetype into the property pallette, does this take precedence over when you do it programmatically?
>
>this.RowSource = "SELECT name,noun from bsyear00 WHERE subs(bsyear00.noun,2)?
>
>
>
>not get a Browse window.
>>>>Don't forget to close that cursor in Combo.Destroy()
>>>>
>>>>*Combo.Destroy()
>>>>IF USED(" myCombo1Source")
>>>>USE IN myCombo1Source
>>>>ENDIF
>>>
>>>An example of what I am trying to do is: if mylistbox1.value ='TURTLE' (from table1), I want comboxbox1 to show only 'TURTLE' (from table2)
>>
>>Something like this:
>>
>>myCombo.RowSource = "SELECT myField from table2 WHERE table2.myField = mylistbox1.value INTO cursor combobox1source"
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform