Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot change the data in combo box
Message
From
25/03/1998 13:51:24
 
 
To
25/03/1998 13:47:00
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00087083
Message ID:
00087090
Views:
31
>I made a combo box From which I select a table from my supplier database. The SQL coding of the RowSource is "Select product.code, product.desc from product where product.supplier = order.supplier into cursor cProductCombo order by product.code".
>
>I found a problem that the data in the cProductCombo cannot change whenever the value of the order.supplier was changed.
>
>Would you please give me any suggestion.

If you want to get data for particular order.supplier, then you should change your select-SQL:
Local cSupplier
cSupplier=.... && entered in some control or passed from another form
Select product.code,product.desc from product where product.supplier=cSupplier ;
Into cursor cproductcombo
Thisform.Combo1.rowsource="cproductcombo"
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform