Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dispalying results in a Combo box
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00405444
Message ID:
00405519
Vues:
17
Hi Paul

> How are you adding the contents to the combo on the right? Does the item just not show up or does it appear if you click the dropdown in the combo (ie. just not defaulting to the new value)?


I tried putting the following in the cmbMiddle.InteractiveChange()

IF THIS.Value = "Self"
cmbRight.DisplayValue = cmbLeft.Value
ENDIF
THISFORM.cmbRight.Requery()

The collapsed cmbRight is blank. You can expand it and the choices from the lookup table are there. I realize that I would have to insert this value into the rowsource of cmbRight to make it a choice, but I don't want it as a choice. The cmbLeft text is a firstname, so it changes. The cmbRight is a list of insurers that are in the system, but if they choose 'Self' from cmbMiddle, I want their name to be displayed in cmbRight. Not as a choice, but as the displayed value.

Hope this wasn't too confusing, but it's kinda hard to explain when your not looking at it. :)

Thanks for your help
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform