Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo question
Message
From
26/06/2007 11:42:40
 
 
To
22/06/2007 05:31:56
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01234596
Message ID:
01235696
Views:
17
>Checked. ContolSource's value is in the list of values, but Combo comes up blank.
>
>OK - unless this combo is in a grid, the only reason that the combo would come up blank is that the value of the controlSource is not in its internal list - even though it may superficially look like it is. In this case you need to check the respective data types, etc. of the controlSource and RowSource to ensure they match. Verify BoundColumn and BoundTo to make sure that you are binding to what you think you are.
>
>If the combo is in a grid, this is a known issue with RowSourceType 2-Alias and 6-Fields. The workaround is to change the RowSourceType to something else.
Well, I got it working doing this: I am assigning ControlSource to a field of the cursor that actually does not exist at the time of loading. VFP does not complain. Later on that curso will be created. So when time comes to show the combo it looks fine. But now I am having another problem. When I click on the combo it looses its dislpay value. Next problem to work on. :(
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform