Focal Point
Compound AHTML report

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

September 16, 2008, 10:30 AM
Chaitra
Compound AHTML report
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
September 16, 2008, 10:51 AM
GinnyJakes
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.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
September 19, 2008, 03:52 AM
Chaitra
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
September 19, 2008, 06:39 AM
GamP
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 AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
September 19, 2008, 08:01 AM
Tony A
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



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
September 19, 2008, 08:07 AM
Tony A
Subject covered 17th July 2008 - here

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
September 19, 2008, 09:03 AM
Prarie
PDF Layout Painter's name is misleading...it does more than PDF.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
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.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google