Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Databound combo box question
Message
From
21/10/2001 16:47:31
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00571466
Message ID:
00571490
Views:
28
>I have a combo box with the following:
>
>
>BoundColumn=2
>BoundTo=.t.
>ControlSource = gnViewDept
>RowSource=v_userDepts.deptdesc,deptid
>RowSourceType=6-Fields
>
>
>
>My problem is that when the form load, the combo box shows the department name based off gnViewDept. But when I use the combo to change the departments, the displayvalue goes blank. gnViewDept is updated to reflect the newly selected department, and the control when I click on it shows all the departments, but after the drop-down closes, nothing is displayed. If I change BoundTo to False, the control maintains it display value, but gnViewDept doesn't get updated.

I would include the cursor name in the ControlSource.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform