Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox doesn't keep its value
Message
From
10/08/2010 13:31:38
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01475880
Message ID:
01476015
Views:
40
>>>>>Hi everybody,
>>>>>
>>>>>I have a form with a pageframe with 2 pages. On the first page I have several comboboxes. One of them for unknown reason refuses to show value. I see that it does have correct value, however, then form displays, this combobox appears blank. Other comboboxes show their values correctly.
>>>>>
>>>>>I'm wondering how can I find out why it doesn't keep its value?
>>>>
>>>>ISTR a problem along these lines with comboboxes bound to form properties.
>>>>
>>>>Tamar
>>>
>>>What is ISTR? The controlsource for the combo is a variable created with scatter name.
>>
>>ISTR = I seem to recall
>>
>>See what happens if you bind the combo to a field or leave it unbound.
>>
>>Tamar
>
>Leaving the combo unbound doesn't resolve the problem. There are two other combos also bound to the same object. The difference between these 2 working combos and the one non-working is the first two have 1 column and bound to it, the last one has 2 columns - the description should show. The second column is bound.
>
>Also, all the comboboxes set to be disabled - you can not change values in run-time.

Okay, sounds like my idea wasn't it. Is the value numeric? If so, have you set BoundTo = .T.?

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform