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

Home » RADICORE » How To » Display combined fields on Output3 report (Create field and add to $fieldarray dynamically )
Re: Display combined fields on Output3 report [message #2703 is a reply to message #2702] Thu, 21 April 2011 01:28 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2368
Registered: April 2006
Location: Surrey, UK
Senior Member
In order to display a field it must appear in the report definition and it must appear in te XML output.

Modifying cm_changeConfig does not sound right to me. If you want to create a new field which concatenates the contents of two or more other fields, or make any other modifications to a field before it is displayed, then the best place for this is would be the _cm_post_getData method. This will allow you to change the contents of $fieldarray just after each record has been read.

Another way wold be to perform the concatenation within the sql SELECT statement.


 
Read Message
Read Message
Read Message
Read Message
Previous Topic: RIGHT JOIN in LINK
Next Topic: Access non key data from parent table
Goto Forum:
  


Current Time: Sat Nov 23 08:35:54 EST 2024

Total time taken to generate the page: 0.03269 seconds