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     [CLOSED] Multiple AHTMLs in one HTMLFORM

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Multiple AHTMLs in one HTMLFORM
 Login/Join
 
Expert
posted
Can I get Multiple AHTMLs in one HTMLFORM? The following only shows one report. I do get both reports when using FORMAT HTML instead of FORMAT.
TABLE FILE CAR
"REPORT 1"
SUM DCOST RCOST BY CAR BY MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON GRAPH HOLD AS REPORT1 FORMAT AHTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,$
ENDSTYLE
END
-RUN
TABLE FILE CAR
"REPORT 2"
SUM DCOST RCOST BY CAR BY MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON GRAPH HOLD AS REPORT2 FORMAT AHTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,$
ENDSTYLE
END
-RUN
-HTMLFORM BEGIN
<TABLE BORDER=1><TR>
<TD>!IBI.FIL.REPORT1;</TD>
<TD>!IBI.FIL.REPORT2;</TD>
-HRMLFORM END
It may get more complex with drilldowns in some reports, and I have four reports, not just two.

This message has been edited. Last edited by: FP Mod Chuck,




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Virtuoso
posted Hide Post
IMO I would not use "AHTML" at all. I would use DataTables.js instead. AHTML formatting just doesn't cut it.


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Expert
posted Hide Post
That's pretty Cool Guy (no pun intended... or was there...)... But, I'm this team is new to WebFOCUS. So, I'm not sure (yet) about adding another level of 'other stuff' yet. Besides, AHTML has been an accepted/approved report format...

But, I'll keep this in mind. Thanks...

PS: Do you have an example of Muliple WebFOCUS TABLE FILE requests --> to a Muliple DataTables?
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Virtuoso
posted Hide Post
Sticks and stones, man. Sticks and stones. S'all good. If only you knew just how Cool I really was... Wink

Best of luck with your current comrades and that which is AHTML.


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Expert
posted Hide Post
quote:
If only you knew just how Cool I really was...
... Not trowing any Sticks and stones... Smiler


Are you going to Summit?

 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Virtuoso
posted Hide Post
I am sorry to report that you will most likely never behold my Cool-ness in person. I don't see myself ever attending another IBI Summit again. Sorry man.


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Expert
posted Hide Post
So, keep throwing out good ideas...
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Guru
posted Hide Post
Doug, search for Active dashboard, this might be what you're looking for. You can add multiple AHTML (also with different type of charts) and add Filters to it.

It's all kind of limited in styling and amount of data, but as long as that OK it's a pretty good solution.


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 2007Report This Post
Expert
posted Hide Post
Thanks Frans, I'm checking out the Active Dashboards.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Master
posted Hide Post
Try this example from the 'Developing Reporting Applications' manual...
TABLE FILE GGSALES
SUM
DOLLARS
UNITS
BY REGION
BY ST
BY CITY
HEADING
"Regional Sales Summary"
ON TABLE HOLD AS REPORT1 FORMAT AHTMLTAB
ON TABLE SET STYLE *
 INCLUDE=ENDEFLT.STY,$
ENDSTYLE
END
-*
TABLE FILE GGSALES
SUM
DOLLARS
UNITS
BY CATEGORY
BY PRODUCT
HEADING
"Production Order Summary"
ON TABLE HOLD AS REPORT2 FORMAT AHTMLTAB
ON TABLE SET STYLE *
 INCLUDE=ENDEFLT.STY,$
ENDSTYLE
END
-*
-HTMLFORM BEGIN
<HTML>
<HEAD>
<TITLE>Displaying HTML Active Technologies Reports on an HTML Web
Page</TITLE>
</HEAD>
<BODY>
!IBI.OBJ.ACTIVEREPORTJS;
<TABLE BORDER='1'>
<TR>
<TD valign=top>
!IBI.FIL.REPORT1;
</TD>
<TD valign=top>
!IBI.FIL.REPORT2;
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
-HTMLFORM END 

This message has been edited. Last edited by: David Briars,




Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
 
Posts: 822 | Registered: April 23, 2003Report This Post
Expert
posted Hide Post
I was so excited David that I was ready to give you a Gold Star for this. But, Sorry, You'll need to wait for the Gold Star...

It ran and View Source shows that it held the records and showed the Loading Page. But. the Loading Page page never stopped and the reports never displayed.

The following is the result of a direct copy&paste of the above code:
0 NUMBER OF RECORDS IN TABLE=     4317  LINES=     12
0 HTML FILE SAVED ...
0 NUMBER OF RECORDS IN TABLE=     4317  LINES=     10
0 HTML FILE SAVED ...
Frowner I'm hoping that this works with just a tweak of some sort...
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Expert
posted Hide Post
I'm thinking it has to do with "ACTIVEREPORTJS", either a version or just can't find it. Where should that reside?

That seems to be part of it... Here's the final scoop:
It does not work from App Stuio, defaulted to display in IE...
It does work from ibi_apps in both IE and Chrome...

Now to productionize it IRL with a Real scenario...

Thanks again David Briars Smiler

This message has been edited. Last edited by: Doug,
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Expert
posted Hide Post
So, where does "ACTIVEREPORTJS" reside?
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Member
posted Hide Post
Doug,
IBI told me to uncheck "Display intranet sites in Compatibility View" under Compatibility View Settings. This worked for IE and the AHTML reports produced correctly.


WebFOCUS 8202M, Windows, All Outputs
 
Posts: 4 | Registered: March 14, 2018Report This Post
Member
posted Hide Post
Also, you may have to restart after unchecking the setting.


WebFOCUS 8202M, Windows, All Outputs
 
Posts: 4 | Registered: March 14, 2018Report This Post
Expert
posted Hide Post
That didn't work for me.

Is ACTIVEREPORTJS anywhere to be found? Under the C:\IBI directory tree?
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report 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     [CLOSED] Multiple AHTMLs in one HTMLFORM

Copyright © 1996-2020 Information Builders