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

Home » RADICORE development » Framework » Key values change after popup call
Re: Key values change after popup call [message #7331 is a reply to message #7330] Mon, 12 August 2019 03:54 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2152
Registered: April 2006
Location: Surrey, UK
Senior Member
When you return from a popup the default behaviour is for the column values in $select_array to be inserted into $fieldarray. This will cause the values for existing fields in $fieldarray to be overwritten regardless of whether they are part of the primary key, a candidate key or just foreign keys. If the fields being returned have one name, but you want to change them to another then you should do so in the _cm_popupReturn() method.

The _cm_getForeignData() method is designed to perform lookups on foreign key fields in order to retrieve additional data.

Read Message
Read Message
Read Message
Read Message
Previous Topic: PDF - images in body / underlining 'label'
Next Topic: Introduction to the Radicore framework
Goto Forum:

Current Time: Sat Oct 19 02:35:44 EDT 2019

Total time taken to generate the page: 0.01157 seconds