IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Compound AHTML report
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
Hi,

I need to create a compound AHTML report, When i run the fex i get ONLY second table file output (i.e. Detail report).But i need both first and second report output in same page.

Code is :
-****Summary report********
TABLE FILE CAR
PRINT
COUNTRY
RETAIL_COST
ON TABLE PCHOLD AS SUMR FORMAT AHTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,$
TYPE=REPORT,
BORDER=LIGHT,
FONT='ARIAL',
SIZE=8,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
LEFTMARGIN= 0.5,
RIGHTMARGIN=0.1,
RIGHTGAP = 0.05,
LEFTGAP=0.05,
CALC-LOCATION=TOP,
MENU-LOCATION=TOOLBAR,
ALLOW-PAGINATION=ON,
ALLOW-FILTER=ON,
ALLOW-FREEZE=ON,
ALLOW-CALC=ON,
ALLOW-HIDE=ON,
ALLOW-CHART=ON,
ALLOW-EXPORT=ON,
ALLOW-VISUALIZE=ON,$
TYPE=TITLE,BACKCOLOR='SILVER',JUSTIFY=CENTER,$
TYPE=REPORT,OBJECT=MENU,$
TYPE=REPORT,OBJECT=STATUS-AREA,JUSTIFY=CENTER,$
TYPE=REPORT,OBJECT=CURRENT-ROW,HOVER-BACKCOLOR='WHITE',BACKCOLOR='WHITE',$
TYPE=REPORT,OBJECT=CALC-AREA,$
ENDSTYLE
END
-*****Detail report******
TABLE FILE CAR
PRINT
CAR
SEAT
MODEL
BODYTYPE
LENGTH
RETAIL_COST
ON TABLE PCHOLD AS DETL FORMAT AHTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,$
TYPE=REPORT,
BORDER=LIGHT,
FONT='ARIAL',
SIZE=8,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
LEFTMARGIN= 0.5,
RIGHTMARGIN=0.1,
RIGHTGAP = 0.05,
LEFTGAP=0.05,
CALC-LOCATION=TOP,
MENU-LOCATION=TOOLBAR,
ALLOW-PAGINATION=ON,
ALLOW-FILTER=ON,
ALLOW-FREEZE=ON,
ALLOW-CALC=ON,
ALLOW-HIDE=ON,
ALLOW-CHART=ON,
ALLOW-EXPORT=ON,
ALLOW-VISUALIZE=ON,
$
TYPE=TITLE,BACKCOLOR='SILVER',JUSTIFY=CENTER,$
TYPE=REPORT,OBJECT=MENU,$
TYPE=REPORT,OBJECT=STATUS-AREA,JUSTIFY=CENTER,$
TYPE=REPORT,OBJECT=CURRENT-ROW,HOVER-BACKCOLOR='WHITE',BACKCOLOR='WHITE',$
TYPE=REPORT,OBJECT=CALC-AREA,$
ENDSTYLE
END

Thanks in advance.
Chaitra


WebFocus 7.1.4 through Citrix,Windows/UNIX
 
Posts: 8 | Registered: February 18, 2008Reply With QuoteEdit or Delete MessageReport This Post
Virtuoso
Posted Hide Post
I don't know if you can use the PDF Layout Painter in your release but that would be one solution.

Also an HTML page with multiple frames.

Because of the way that AHTML pages are constructed internally, I don't think you'll ever get them to go on the same page without some trickery.


Ginny
---------------------------------
Prod: WF 7.6.5 with 7.6.6 WFRS; AIX 5.2; WebSphere 6.1.0.15
Dev: WF 7.6.5 with 7.6.6 WFRS; AIX 5.3; WebSphere 6.1.0.15
Primarily self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable
 
Posts: 1545 | Location: BNSF: Fort Worth, TX | Registered: April 05, 2006Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
Thanks Ginny,

PDF Layout painter will support PDF format only. I tried using HTMLFORM, even this didnt work.

Any other solutions?


WebFocus 7.1.4 through Citrix,Windows/UNIX
 
Posts: 8 | Registered: February 18, 2008Reply With QuoteEdit or Delete MessageReport This Post
Master
Posted Hide Post
Because of the nature of Active HTML it is just one report per browser page.
You might be able to get away with having two iframes on the page and populating them separately with an ahtml report. Haven't tried this yet, but it might work.


GamP

- Using 764 on WinXP (sp2) - IE7.
- Also available are versions from 534 up to 766 on Windows (XP/2000/2003EE)
 
Posts: 520 | Location: Netherlands | Registered: September 25, 2007Reply With QuoteEdit or Delete MessageReport This Post
Expert
Posted Hide Post
I think that this subject was also asked quite recently?

Your best way forward is as GamP suggests, a separate Iframe for each report. This is becuase the embeded javascript in the AHTML output will have duplicated control Ids and may/will cause conflicts.

T


Old FOCUS coders never die, they just become functionally stable. (Tony A Wink)

Current Client: WebFOCUS 7.6.2 Win XP SP2/IIS 6/Tomcat 5.5 - MRE / BID MS SQL / Oracle - DevStudio 7.6.6 7.1.6
Local: WebFOCUS 7.6.6 7.1.6 on Win XP SP2/Apache/Tomcat 5.5 - Self Service
 
Posts: 2865 | Location: England U.K. (Freelance) | Registered: April 08, 2004Reply With QuoteEdit or Delete MessageReport This Post
Expert
Posted Hide Post
Subject covered 17th July 2008 - here

T


Old FOCUS coders never die, they just become functionally stable. (Tony A Wink)

Current Client: WebFOCUS 7.6.2 Win XP SP2/IIS 6/Tomcat 5.5 - MRE / BID MS SQL / Oracle - DevStudio 7.6.6 7.1.6
Local: WebFOCUS 7.6.6 7.1.6 on Win XP SP2/Apache/Tomcat 5.5 - Self Service
 
Posts: 2865 | Location: England U.K. (Freelance) | Registered: April 08, 2004Reply With QuoteEdit or Delete MessageReport This Post
Virtuoso
Posted Hide Post
PDF Layout Painter's name is misleading...it does more than PDF.


WebFOCUS 7.6.1 Win 2003 Test -7.6.5
 
Posts: 1188 | Location: San Antonio | Registered: February 28, 2005Reply With QuoteEdit or Delete MessageReport This Post
Virtuoso
Posted Hide Post
quote:
PDF Layout painter will support PDF format only.


Just to clarify, this is not true in 7.6.x. Chaitra is running 7.1.4. I would not want other viewers to get the wrong idea about the PDF Layout Painter. While it has issues and growing pains, it think it is on its way to becoming a good product.


Ginny
---------------------------------
Prod: WF 7.6.5 with 7.6.6 WFRS; AIX 5.2; WebSphere 6.1.0.15
Dev: WF 7.6.5 with 7.6.6 WFRS; AIX 5.3; WebSphere 6.1.0.15
Primarily self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable
 
Posts: 1545 | Location: BNSF: Fort Worth, TX | Registered: April 05, 2006Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Compound AHTML report

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