Search code examples
peoplesoftpeoplesoft-app-engine

filling a grid with from two different record (table) sources


I was wondering if there is any way to populate a table using two different records. My records have the same primary keys, but when I am adding the specific fields to my grid I have this error:

More than one data (key) in one scroll.

I tried to make a Control view field in my primary record, and then refer the new record fields as relative fields but in this case the data is not populating in my grid. Any help or hint will be much appreciated.


Solution

  • Ok guys finally after all discussion, and much try rounds I figured out how to do this.

    You need to add a draw a grid beside your old grid and populate it with a new record, which has dynamic view (dynamic sql). The only important case there, is you need to make sure the order of your fields in your records, are in the same order of your fields in the SELECT statement of your sql. Otherwise you will see

    an SQL error

    .