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

Home » RADICORE development » Transaction Patterns » output2 with parent/child tables
Re: output2 with parent/child tables [message #4596 is a reply to message #4594] Tue, 14 October 2014 18:03 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2347
Registered: April 2006
Location: Surrey, UK
Senior Member
As an experiment I tried adjusting the contents of file xample\reports\en\x_person.list.report.inc and changed line 16 from
$structure['title'][] = array('text' => '- Contents of X_PERSON table -',

to
$structure['title'][] = array('text' => '%%last_name',

and it worked perfectly.

I suggest you step through with your debugger to see what is going wrong in your code.

When reading from a database table it is possible in the SQL query to JOIN to other tables to obtain other values, then that data can be handled in the code as if it came from the first table. All you have to do is construct a valid query.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Error running output2 pattern
Next Topic: Different Categories
Goto Forum:
  


Current Time: Thu Apr 25 09:00:55 EDT 2024

Total time taken to generate the page: 0.01033 seconds