Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00680373
Message ID:
00680376
Views:
17
Have you set RowSourceType to 2 or 6?

Before thisform.ComboBoxB.refresh(), try putting thisform.ComboBoxB.Requery().

>Hi,
>My program has two combo boxes. The value selected in combobox A determines the rowsource for combobox B.
>
>I tried to do it this way:
>
>ComboBox A - Interactive Change
>
>do case
>case this.text = "A"
> thisform.ComboBoxB.rowsource = TableAlias.Field1
>case this.text = "B"
> thisform.ComboBoxB.rowsource = TableAlias.Field2
>endcase
>
>thisform.ComboBoxB.refresh()
>
>But ComboBox B is not showing the right values. Do I need to define any property other than the rowsource?
>
>Thank you.
>
>Ria
- Jayesh
Previous
Reply
Map
View

Click here to load this message in the networking platform