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] Multiple AHTMLs in one HTMLFORM
Go
New
Search
Notify
Tools
Reply
  
[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.
   Most recent: 8204 Gen 48 in Test and Production.
   Currently Available. Please contact me.
 
Posts: 2976 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport 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: 1110 | Location: USA | Registered: January 27, 2015Reply With QuoteReport 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: 2976 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport 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: 1110 | Location: USA | Registered: January 27, 2015Reply With QuoteReport 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: 2976 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport 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: 1110 | Location: USA | Registered: January 27, 2015Reply With QuoteReport This Post
Expert
posted Hide Post
So, keep throwing out good ideas...
 
Posts: 2976 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport 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: 388 | Location: Europe | Registered: February 05, 2007Reply With QuoteReport This Post
Expert
posted Hide Post
Thanks Frans, I'm checking out the Active Dashboards.
 
Posts: 2976 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport 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,




Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2012/Tomcat Standalone Workstation: Windows 7/IE 11 Database: Oracle 12c/Netezza Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer, & ReportCaster

 
Posts: 761 | Registered: April 23, 2003Reply With QuoteReport 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: 2976 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport 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: 2976 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
Expert
posted Hide Post
So, where does "ACTIVEREPORTJS" reside?
 
Posts: 2976 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport 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, 2018Reply With QuoteReport 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, 2018Reply With QuoteReport 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: 2976 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Multiple AHTMLs in one HTMLFORM

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