Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo won't show value in table
Message
From
11/08/1997 14:55:52
 
 
To
11/08/1997 13:37:10
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00043996
Message ID:
00044069
Views:
38
Yes, that works now. Thanks! Now, since I don't have a controlsource, do you recommend that I put code in the interactiveChange event to record the change? Such as:
replace with this.displayvalue
Or maybe that should go in the valid event since the user could be typing in a new value.

As always your advice is very helpful to me.

>>>Use DisplayValue property (fire this code from form refresh utility):
>>>Thisform.Combo1.DisplayValue=table1.colorfield && might be "sky blue"
>>
>>Edward, it seemed to me that that should work, but it doesn't. In fact, it replaces the value in the table with an empty string. Can you think of what I might be doing wrong?
>>
>>Thanks,
>>Ross
>
>It might be helpful not to use Combo.Controlsource property (clean it to none). After this it must work, at least it will not replace field value with empty string because such 'replacement' will be handled completely in code.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform