Focal Point Banner


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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Compound AHTML report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Compound AHTML report
 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: 13 | Registered: February 18, 2008Report This Post
Expert
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.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report 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: 13 | Registered: February 18, 2008Report This Post
Virtuoso
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 AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report 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



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 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
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 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Virtuoso
posted Hide Post
PDF Layout Painter's name is misleading...it does more than PDF.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Expert
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.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Compound AHTML report

Copyright © 1996-2020 Information Builders