Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot change the data in combo box
Message
De
25/03/1998 13:51:24
 
 
À
25/03/1998 13:47:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00087083
Message ID:
00087090
Vues:
35
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform