September 24, 2007, 10:51 PM
AravindbaalaajiAchieving COLSPAN in PDF format
Hi all,
I need help in alignment of PDF report.
I have a table report which has heading before the actual column begins.
I have the following in the HTML table report
Heading 1 : Credit (under this it has 4 columns)
Debit (under this it has 4 columns)
Heading 2 : the columns from the query.
Out of this first 4 columns come under "Credit" heading and the next 4 columns come under "Debit" heading.
I need to center align both "Credit" and "Debit" to thier corresponding 4 columns.
I achieved this in HTML format using the COLSPAN property.
How can we do this in PDF report?
Thanks in advance.
Regards
Aravindbaalaaji
September 25, 2007, 12:25 AM
susannahyes, go read the 2 articles by Mickey Grackin in the Focal Point Tips & Techniques section on the subject of PDF ...
September 25, 2007, 10:25 AM
KameshHello Aravind,
You can achieve this by directly specifying the column number.
For ex:
-IF &DISPFORMAT EQ 'HTML' THEN GOTO DOHTML ELSE GOTO DOPDF;
-DOHTML
YOUR CODE
-GOTO ENDDISP;
-DOPDF
Heading
"<1 Heading1 <50 Heading2 <100 Heading3"
-ENDDISP
Hope this helps,