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

Home » RADICORE development » Framework » PDF - horizontal line in title zone
Re: PDF - horizontal line in title zone [message #5653 is a reply to message #5647] Mon, 20 June 2016 11:10 Go to previous messageGo to previous message
htManager is currently offline  htManager
Messages: 428
Registered: May 2014
Senior Member
Sorry for asking once again but I do understand what you mean but I don't understand how to do it.

At present I have the following code in my pdf output class in _cm_output_multi():

function _cm_output_multi ($name, $fieldarray)
$outarray = array();
switch ($name) {

case 'multi1':

// get contents of foreign table TRAINING_PLAN_DETAIL
$dbobject =& RDCsingleton::getInstance('training_plan_detail'); // Instanz für Detail-Tabelle
$where = " training_plan_detail.verbaende_art_id='{$fieldarray['verbaen de_art_id']
......}'";

$data = $dbobject->getData ($where);

if (!empty($data)){
$gr = sizeof($data);

for ($i=0; $i<$gr; $i++)
{
$row['training_plan_detail_seq'] = 'No: ' . $data[$i]['training_plan_detail_seq'];
if (!empty($data[$i]['training_plan_detail_uebung_name'])){
$row['training_plan_detail_uebung_name'] = $data[$i]['training_plan_detail_uebung_name'];
$row['training_plan_detail_uebung_name_label'] = 'Name:';

In $data there are all items of the selected table. I know that all relevant data are written to the $ouput array.
In my report.inc I have the multi1 defined with the known fields. I do not know how I can select the 'non-empty' fields and write them in the multiN output array.

Do I have to define a variable to construct the multiN like: $multi = 'multi' . $i?

If this is too difficult, please don't waste your time. I will then create the report as before.

And can I output an image in the multi area? I have only read about outputting barcode in multiN and outputting images in body area.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MNU_ACCOUNT - Add new account
Next Topic: Radicore Forum 11th Birthday
Goto Forum:
  


Current Time: Fri Sep 27 07:25:28 EDT 2024

Total time taken to generate the page: 0.01668 seconds