Focal Point
Compound PDF not producing output
March 15, 2006, 05:33 PM
NightowlCompound PDF not producing output
I have two car file reports so that I can test the PDF Layout Painter in Dev Studio 7.1.
When I run the report I get:
0 NUMBER OF RECORDS IN TABLE= 4 LINES= 4
0 NUMBER OF RECORDS IN TABLE= 4 LINES= 4
Any ideas?
Here is the fex:
-* File car4.fex
-* Default Mode: ResourceLayout
COMPOUND LAYOUT
UNITS=IN, $
SECTION=section1, LAYOUT=ON, MERGE=OFF, ORIENTATION=PORTRAIT, PAGESIZE=Letter, $
pagelayout=1, name='Layout page 1', $
component='report1', type=report, position=(0.104 0.104), dimension=(4.271 2.292), $
component='report2', type=report, position=(0.104 2.604), dimension=(4.375 2.500), $
END
SET COMPONENT='report1'
-*component_type report
EX CAR1
SET COMPONENT='report2'
-*component_type report
EX CAR2
COMPOUND END
Using: WF 7.1.5, XP Pro, Tomcat, Self Serve
March 16, 2006, 06:36 AM
Lenny WardThis looks fine to me.
What do your focexec's look like?
(Production: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
(Test: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
March 16, 2006, 10:42 AM
NightowlThe fexes are not rocket science.
TABLE FILE CAR
PRINT CAR
BY COUNTRY
WHERE COUNTRY EQ 'ENGLAND'
END
TABLE FILE CAR
PRINT CAR
BY COUNTRY
WHERE COUNTRY EQ 'JAPAN'
END
Using: WF 7.1.5, XP Pro, Tomcat, Self Serve
March 16, 2006, 11:41 AM
Lenny WardYou are missing
ON TABLE PCHOLD FORMAT PDF
(Production: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
(Test: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
March 16, 2006, 11:52 AM
NightowlSorry, my fault. I have the ON TABLE PCHOLD FORMAT PDF in the fex and it still doesn't work.
Using: WF 7.1.5, XP Pro, Tomcat, Self Serve
March 16, 2006, 01:39 PM
<JG>What release of 7.1 are you running?
The code you have works perfectly in the new 713 production release.
Have you tried putting in the actual code for the focexecs to see if that works?
If it does then you have a bug and either need to upgrade or raise a hottrack
March 16, 2006, 02:28 PM
WoodyWhere are your OPEN and CLOSE statements?
First procedure:
ON TABLE PCHOLD FORMAT PDF OPEN NOBREAK
Second procedure:
ON TABLE PCHOLD FORMAT PDF CLOSE
You'll need a STYLESHEET in both procedures to get decent output.
WF 7.6.10 Unix Oracle
March 16, 2006, 02:31 PM
<JG>Not needed in the PDF Layout Painter.
The syntax is completely different.
March 16, 2006, 02:50 PM
NightowlI am running 7.1.1 and my office buddy is running 7.1.3 and we both can't execute this simple compound report. I included the fex source this time instead of referencing it.
-* File compound.fex
-* Default Mode: ResourceLayout
COMPOUND LAYOUT
UNITS=IN, $
SECTION=section1, LAYOUT=ON, MERGE=OFF, ORIENTATION=PORTRAIT, PAGESIZE=Letter, $
pagelayout=1, name='Layout page 1', $
component='report1', type=report, position=(0.104 0.104), dimension=(4.271 2.083), $
component='report2', type=report, position=(0.104 2.292), dimension=(4.271 3.021), $
END
SET COMPONENT='report1'
-*component_type report
-* File car1.fex
TABLE FILE CAR
PRINT CAR BY COUNTRY
WHERE COUNTRY EQ 'ENGLAND'
ON TABLE PCHOLD FORMAT PDF
END
SET COMPONENT='report2'
-*component_type report
-* File car1.fex
TABLE FILE CAR
PRINT CAR BY COUNTRY
WHERE COUNTRY EQ 'ENGLAND'
ON TABLE PCHOLD FORMAT PDF
END
COMPOUND END
Using: WF 7.1.5, XP Pro, Tomcat, Self Serve
March 16, 2006, 03:08 PM
Lenny WardI just copied and pasted you code into a .fex and it ran fine.
We are running 7.1.3
(Production: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
(Test: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
March 16, 2006, 03:37 PM
<JG>Nightowl, is the buddy prod or beta 713?
Same as Lenny, my 713 prod. N0 issue.
March 16, 2006, 03:44 PM
NightowlProd 7.1.3
Using: WF 7.1.5, XP Pro, Tomcat, Self Serve
March 16, 2006, 04:28 PM
<JG>Definately need to raise a case with IB on this I think.
March 22, 2006, 11:25 AM
NightowlTech Support mentioned to me that this issue has been fixed in 7.1.3 and I have confirmed this as well.
Using: WF 7.1.5, XP Pro, Tomcat, Self Serve