Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox in grids
Message
From
24/07/1998 11:08:18
 
 
To
24/07/1998 11:02:40
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00120994
Message ID:
00120996
Views:
20
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform