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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at email@example.com and provide your corporate email address, company, and name.
Hello, I tried to create an accordion report in active HTML format and it didn't work. With HTML it works. The reason why i want AHTML is because i am displaying grandtotal at the top for 3rd and 4th integer column. With HTML this top display of total does not work. I want both accordion and total display at the top, Is it possible? Any inputs on this please? Below is the sample code.
ENGINE INT CACHE SET ON SET PAGE-NUM=NOLEAD SET SQUEEZE=ON -DEFAULT &WF_HTMLENCODE=ON; SET HTMLENCODE=&WF_HTMLENCODE
SET HTMLCSS=ON -DEFAULT &WF_EMPTYREPORT=ON; SET EMPTYREPORT=&WF_EMPTYREPORT
-DEFAULT &WF_ARVERSION=1; SET ARVERSION=&WF_ARVERSION
-DEFAULT &WF_SUMMARY='Summary' -DEFAULT &WF_TITLE='WebFocus Report' TABLE FILE CAR SUM CAR.BODY.SALES/D12.2:C AS 'Sales' PCT.CAR.SPECS.FUEL_CAP AS 'Fuel Cap' BY CAR.ORIGIN.COUNTRY AS 'Country' BY CAR.COMP.CAR AS 'Car' ON TABLE PCHOLD FORMAT HTML -*ON TABLE PCHOLD FORMAT AHTML ON TABLE SET EXPANDBYROW ON ON TABLE NOTOTAL ON TABLE SET CACHELINES 100 ON TABLE SET GRWIDTH 1 ON TABLE SET STYLE * TYPE=REPORT, CALC-LOCATION=TOP, COLUMN=N3, CALCULATION=SUM, JUSTIFY=RIGHT, $ TYPE=REPORT, CALC-LOCATION=TOP, COLUMN=N4, CALCULATION=SUM, JUSTIFY=RIGHT, $ TYPE=TITLE, COLUMN=N3, JUSTIFY=RIGHT, $ TYPE=TITLE, COLUMN=N4, JUSTIFY=RIGHT, $ ENDSTYLE END
-RUNThis message has been edited. Last edited by: FP Mod Chuck,
Here is one way to have grand totals on top of an HTML Accordion report.
DEFINE FILE CAR
ONLYONE/A11 = 'Grand Total';
TABLE FILE CAR
"Sales Fuel Cap Analysis"
SUM CAR.BODY.SALES/I9C AS 'Sales'
PCT.CAR.SPECS.FUEL_CAP AS 'Fuel Cap'
BY ONLYONE AS 'Grandtotal'
BY CAR.ORIGIN.COUNTRY AS 'Country'
BY CAR.COMP.CAR AS 'Car'
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET DROPBLNKLINE ON
ON TABLE SET EXPANDBYROW 2
ON TABLE SET STYLE *
INCLUDE = jellybean_combo, $
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
I am running into an issue. I need to merge 2 HTML fex files, one simple text and total value file on top and a table grid with accordion at bottom. When i create a compound report which is of AHTML format the accordion is getting lost (individual fex works fine with accordion as it is of HTML format) but when added in compound report with AHTML it does not work. Any inputs on this please?-* Default Mode: ResourceLayout SET HTMLARCHIVE=ON *-HOLD_SOURCE COMPOUND LAYOUT PCHOLD FORMAT AHTML UNITS=IN, $ SECTION=section1, LAYOUT=ON, METADATA='prop_with_names^Margins_Left=0.5^Margins_Top=0.5^Margins_Right=0.5^Margins_Bottom=0.5^thumbnailscale=4', MERGE=OFF, ORIENTATION=PORTRAIT, PAGESIZE=Letter, SHOW_GLOBALFILTER=OFF, ARGRAPHENGINE=JSCHART, ACTIVE_UNITS=PTS, $ PAGELAYOUT=1, NAME='Page layout 1', text='Page layout 1', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,', $ COMPONENT='report1', TEXT='report1', TOC-LEVEL=2, POSITION=(0.604 0.729), DIMENSION=(6.272 2.562), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 0.604in; top: 0.729in; width: 6.272in; height: 2.562in; position: absolute; z-index: 1;', $ COMPONENT='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(0.708 3.646), DIMENSION=(6.250 2.604), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 0.708in; top: 3.646in; width: 6.25in; height: 2.604in; position: absolute; z-index: 2;', $ COMPONENT='report3', TEXT='report3', TOC-LEVEL=2, POSITION=(0.708 6.563), DIMENSION=(6.936 3.169), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 0.708in; top: 6.563in; width: 6.936in; height: 3.169in; position: absolute; z-index: 3;', $ END SET COMPONENT='report1' -*component_type report -INCLUDE IBFS:/WFC/Repository/Folder/AA11.fex -*which is of HTML format SET COMPONENT='report2' -*component_type report -INCLUDE IBFS:/WFC/Repository/Folder/AA22.fex -*which is of HTML format COMPOUND END