Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Compound PDF report, Document composer
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Compound PDF report, Document composer
 Login/Join
 
Gold member
posted
Hello All,


I have a compound report called ownedbrand.fex.
the code is given below. it has only two requests of type PDF
   

TABLE FILE CAR
PRINT CAR BY COUNTRY
ON TABLE PCHOLD FORMAT PDF 
END

TABLE FILE CAR
PRINT RCOST DCOST SALES BY COUNTRY
ON TABLE PCHOLD FORMAT PDF  
END


am using a document composer and calling the ownedbrand.fex file. the code is given below
 COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='0.5^0.5^0.5^0.5^1', MERGE=OFF, ORIENTATION=LANDSCAPE, PAGESIZE=A4,  $
 
PAGELAYOUT=2, NAME='Page layout 1', text='Page layout 1', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report4', TEXT='report4', TOC-LEVEL=1, POSITION=(0.229 0.229), DIMENSION=(11.277 10.000), METADATA='Z-INDEX: 100; LEFT: 0.229in; OVERFLOW: auto; WIDTH: 11.277in; POSITION: absolute; TOP: 0.229in; HEIGHT: 10.000in', $
 
END

 
SET COMPONENT='report4'
-INCLUDE rxconred/app/ownedbrand.fex

COMPOUND END 


I was thinking if I run the report through document composer, I will get the complete two reports.

but, I'm getting only first report and not the second report from the ownedbrand.fex. Please let me know.

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 7.6.10
Windows
Output: Excel,PDF
 
Posts: 78 | Registered: January 07, 2008Reply With QuoteReport This Post
Gold member
posted Hide Post
You need to set COMPONENT for each individual item. In your case you need to set two components for two reports.


In Focus since 2008
WebFOCUS 8.2.0.1
Windows 7 - IE,Chrome,Firefox
Excel, PDF, HTML, AHTML, XML
JavaScript, jQuery, D3.js, Highcharts
 
Posts: 80 | Location: New York | Registered: February 04, 2010Reply With QuoteReport This Post
Gold member
posted Hide Post
Hi Nsk,

in that case could you please write a sample code for it, I know when specifiying the components we need to have seprate reports, my two reports requests are in the same fex file,

how can we put it as a component since it is one of the requests of the one fex file.

Please send me the dummy code you have.

Thanks!


WebFOCUS 7.6.10
Windows
Output: Excel,PDF
 
Posts: 78 | Registered: January 07, 2008Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Compound PDF report, Document composer

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.