Focal Point
fix width heading border in pdf

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3391077532

July 06, 2007, 05:03 PM
Linda101
fix width heading border in pdf
I have a compound report that includes a serious of page headings in pdf format. How to make up a fix width border in a page heading for a compound report?
Thanks!!
Linda
July 06, 2007, 05:08 PM
FrankDutch
Linda

What version are you using.
How did you build your compound report.

In my compound reports I have added the page heading (company logo, report name, printdate) in the compound script and not in the included FEXes.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

July 09, 2007, 10:19 AM
Linda101
I am using WebFocus 7.6

Each compound report contents a small set of data, for example:

HEADING

"Transit:
"Account Number:


HEADING

"Client Information:
"Client Indicator:
However, the width of the heading border is depends on the max length of the
data field
How to max the border width and not depends on the data field
July 09, 2007, 10:45 AM
mgrackin
Linda101,

Try turning the SQUEEZE OFF. When SQUEEZE is set to ON, the HEADING locks itself to the column widths but when SQUEEZE is OFF it stretchs to the MARGINS of the report regardless of the column widths.

Try this:

TABLE FILE CAR
PRINT COUNTRY CAR MODEL
HEADING
"This is the HEADING text"
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=REPORT, SQUEEZE=OFF, LEFTMARGIN=0.50, RIGHTMARGIN=1.5,$
TYPE=REPORT, COLUMN=MODEL, WRAP=1.5,$
TYPE=HEADING, BORDER=MEDIUM,$
ENDSTYLE
END


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
July 09, 2007, 11:07 AM
Linda101
Mickey,

Thanks a lots!! It works well! Idea

Linda