Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Framework » PopUp - Foreign Field/$selectarray (Info) (_cm_post_popupReturn)
PopUp - Foreign Field/$selectarray (Info) [message #5682] Wed, 29 June 2016 03:46
htManager is currently offline  htManager
Messages: 415
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.
Previous Topic: Convert date ccyy-mm-dd to dd.mm.ccyy
Next Topic: MNU_ACCOUNT - Add new account
Goto Forum:
  


Current Time: Fri Apr 19 19:01:47 EDT 2024

Total time taken to generate the page: 0.01002 seconds