Focal Point
[CLOSED] PDF FOC3210) COLUMN TRUNCATED BECAUSE WIDTH EXCEEDS MARGINS

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

November 17, 2016, 03:43 PM
BethB
[CLOSED] PDF FOC3210) COLUMN TRUNCATED BECAUSE WIDTH EXCEEDS MARGINS
Hello all - I am trying to add the below fex to a compound PDF and receive this error. It is being passed a variable and then based on the value displays the text 'SDS' or spaces. If I create a new compound PDF with 3 fex's in it and this it works, but fails when I add it to my existing compound PDF for the same frame size. Any ideas???

Thanks!!!

Error message I'm receiving is:
(FOC3210) COLUMN TRUNCATED BECAUSE WIDTH EXCEEDS MARGINS; COLUMN: 1
(FOC3210) COLUMN TRUNCATED BECAUSE WIDTH EXCEEDS MARGINS; COLUMN: 3


Fex code:
-* File testing_include.fex

-DEFAULT &SDS_OR_NONSDS = 'SDS';

SET ASNAMES = ON
SET AUTOFIT = ON
SET DROPBLNKLINE = HEADING
SET SQUEEZ = ON

-******************************************************
-IF &SDS_OR_NONSDS EQ 'SDS' THEN GOTO GET_SDS ELSE GOTO GET_NONSDS;

-********************************
-GET_SDS
-********************************
TABLE FILE CAR
PRINT
CAR.ORIGIN.COUNTRY NOPRINT
COMPUTE SDS_WORDING/A3 = 'SDS'; AS ''
WHERE CAR.ORIGIN.COUNTRY EQ 'ENGLAND';
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,
TYPE=REPORT,
BOTTOMGAP=0,
TOPGAP=0.0,
LEFTGAP=0.0,
RIGHTGAP=0.0,
JUSTIFY=CENTER,
BACKCOLOR='RED',
FONT='ARIAL',
STYLE=NORMAL,
$
TYPE=DATA,
BOTTOMGAP=0,
TOPGAP=0.0,
JUSTIFY=CENTER,
BACKCOLOR='RED',
FONT='ARIAL',
STYLE=NORMAL,
$
ENDSTYLE
END
-RUN
-EXIT

-********************************
-GET_NONSDS
-********************************
TABLE FILE CAR
PRINT
CAR.ORIGIN.COUNTRY NOPRINT
COMPUTE SDS_WORDING/A3 = ' '; AS ''
WHERE CAR.ORIGIN.COUNTRY EQ 'ENGLAND';
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,
TYPE=REPORT,
BOTTOMGAP=0,
TOPGAP=0.0,
LEFTGAP=0.0,
RIGHTGAP=0.0,
JUSTIFY=CENTER,
FONT='ARIAL',
BACKCOLOR='RED',
$
ENDSTYLE
END
-EXIT

This message has been edited. Last edited by: Tamra,


WebFOCUS 8
Windows, All Outputs
November 17, 2016, 03:50 PM
Waz
What sort of compound report is it ?

COMPOUND OPEN|CLOSE

COMPOUND LAYOUT


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

November 17, 2016, 04:05 PM
BethB
It is COMPOUND LAYOUT. I'm not sure what COMPOUND OPEN|CLOSE is. This is only my second PDF. Smiler


*-HOLD_SOURCE
-* File pdf_overview
SET HTMLARCHIVE=ON
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $

ETC.....

This message has been edited. Last edited by: BethB,


WebFOCUS 8
Windows, All Outputs
November 18, 2016, 08:59 AM
J.L. Hinds
Try adding
ON TABLE SET DROPBLNKLINE ALL
to the report


WebFOCUS 7.6
Windows, All Outputs
November 18, 2016, 10:16 AM
BethB
No, unfortunately after adding that I am still getting the error.


WebFOCUS 8
Windows, All Outputs
November 20, 2016, 03:25 PM
Waz
So they work individually ?

What are the size of the pages ?

Can you post the whole compound statement ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

December 12, 2016, 11:50 AM
Tamra
Here is a link for documentation -Creating Compound Reports

You will need to logon to the Techsupport site to view the link.


Thank your for participating in the Focal Point Forum,
Tamra Colangelo
Focal Point Moderator
Information Builders

This message has been edited. Last edited by: Tamra,


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5