Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox in grids
Message
De
24/07/1998 11:08:18
 
 
À
24/07/1998 11:02:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00120994
Message ID:
00120996
Vues:
21
>I'm trying to use combobox inside a grid. The grid recordsource is a secondary table and the combobox shows a field from a primary table. When I leave the combobox this data is display as text. I also have a relation between both tables in Dataenvironment.
>
>If the grid have many rows, the combobox displays differents values, deppending on the relation. This generally works, but sometimes don't.
>It seems like the relation is broken (maybe when i leave the grid)and the combobox display the same value in all rows. When I click on the combobox again it shows me the correct value. Thanks

Temp relationships are not steady here. You can avoid them and build combo with controlsource="master.foreignkeyvalue" and rowsource="lookup.description,primarykey" and boundcolumn=2
There are few more ways to bring up this case, the common one is view.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform