PopUp - Foreign Field/$selectarray (Info) [message #5682] |
Wed, 29 June 2016 03:46 |
htManager
Messages: 439 Registered: May 2014
|
Senior Member |
|
|
I wanted to get additional data in the _cm_post_popUpReturn() method by opening an instance of the popup table with the pk fields of the $selectarray. But in the $selectarray wasn't all primary key fields. The 'Foreign Field' pk field was not in the select array.
Both tables had the same pk fields (user_id, user_seq_no). And user_id is the 'Foreign Field' value in the Data Dictionary.
I solved the problem by renaming the pk fields to pool_user_id and pool_user_seq in the popup table. Now everything works fine.
|
|
|