As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at email@example.com and provide your corporate email address, company, and name.
I get the following error when including a 4th report in my Compound Layout section for a PDF report:
(FOC3281) COMPOUND REPORT: MISSING CLOSE OR ERROR IN FINAL REPORT
The first 3 reports run successfully in the Compound Layout When I add the 4th report I get the error. The first 3 are reports and the 4th is a bar chart. They all run fine individually. Here's the code for the PDF Layout:
COMPOUND LAYOUT PCHOLD FORMAT PDF
SECTION=S1, LAYOUT=ON, MERGE=OFF, ORIENTATION=LANDSCAPE, $
PAGELAYOUT=1, TOC-LEVEL=1, BOTTOMMARGIN=0.0, TOPMARGIN=0.0, ORIENTATION=LANDSCAPE, METADATA='BOTTOMMARGIN=0,TOPMARGIN=0,LEFTMARGIN=0,RIGHTMARGIN=0,ORIENTATION=LANDSCAPE,', $
COMPONENT=R1, TYPE=REPORT, POSITION=(1 1), DIMENSION=(4 4), $
COMPONENT=R2, TYPE=REPORT, POSITION=(5 1), DIMENSION=(4 4), $
COMPONENT=R3, TYPE=REPORT, POSITION=(7 1), DIMENSION=(4 4), $
COMPONENT=R4, TYPE=REPORT, POSITION=(1 4), DIMENSION=(* *), $
Originally posted by AMC2: It appears that the font at the individual fex level is overridden in the PDF Compound Layout. That is what it appears to be doing I believe.
I doubt that this is the case. AFAIK there is nothing to in Compound to change the font. Each report can have its own font/format/styling. If you create a new HTML/Document then select Document (PDF, Excel...) from the File Type you will end up in a Compound Layout designer and you have no choice to globally assign a font.
Maybe you different reports are overlapping each other but I doubt that PDF Compound override the individual font
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2410 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
MartinY - You are correct...it's not that the Compound Layout is overriding the font I found out. I am using open sans font in my individual reports and it was not being invoked when generating the PDF Compound Layout. It would default to another font and I thought it was the Compound Layout affecting it.
However, I found out from one of our admins that I needed to use the open sans font this way...."OPEN SANS" for PDF within the reports. It needs to be specified with a space between "Open" and "Sans" for it to take effect for PDFs.