dynamic label

Hi there,

Is there any way to create dynamic labels on the pdf reports. I only ask this is because I have a report with a subselect on it which has multiple records. Now I need to show the label “Total” next to the calculated total.

Any help would be much appreciated.

Thanks.

Look at PDF Report / Layout PDF / Code (Header, Body, Footer).

Thanks for the reply. I have found this: $pdf->Write(10,‘Total:’); and I have also figured out how to set the x and y coordinates - sc_pdf_set_xy(10,35) - for the label but I still don’t know how to show the label next to the calculated total field…
The total field moves ad the number of records increase or decrease so I cant set the x and y coordinates.

Any guidance please.