Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dispalying results in a Combo box
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00405444
Message ID:
00405519
Views:
16
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform