Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box control's requery problem.
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00086940
Message ID:
00086979
Views:
22
Kim,

You have to both Requery( "TheView" ) to cause the view to update according to the new parameter value and the Combo2.Requery() to cause the cbo to reread it's RowSource and update it's internal list of values to display.

>I made two Combo box controls on a form
>- Combo1 and Combo2 for example.
>Combo2's RowSource is a parameterized view and it's parameter
>is decided according to the change of the Combo1's value.
>I called combo2.requery from combo1's InteractiveChange method.
>But the combo2's list does not change at all.
>Here I'm stuck , Any suggestion will be welcome.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform