Grid best approach
Author: roger.wallin@abilita.fi (rogerw)
Hi,
Generally spoken, whats the best way to populate a grid by two or several related tables, ie. you don't want to use a view and you can only use one entity in the grid. Think of it as 1:1 and you know which entity to be outermost (searchable). The grid should be refreshable but not storeable, ie. a data-menu.
1. Use a dummy entity for the grid and populate it from some "hidden" entities using fex. creocc "dummy" in the read-trigger....
2. Use a real entity as the grid and use fex. clear and retrieve in the read-trigger to populate some dummy-fields containing the data of the other entity..
3. Get the grid data from a service as xml......
4.........
5. You can't tell a pattern for this complicated situation....
Does anyone have a good pattern?
Regards RogerW.




