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 reporting in HTML format

Read-Only Read-Only Topic
Go
Search
Notify
Tools
compound reporting in HTML format
 Login/Join
 
Member
posted
Hi All,

Im trying to create a report in html format

The report should be like

--Summary section1
--Detail section1
--Summary section2
--Detail section2
.....
.....

Here summary and Detail section are two different table requests.

The report is coming fine for less than 5 summary/detail sections. When it exceeds 5 then the report is coming similar to squeeze is off( width size is increasing)..
and also styling attributes like border,backcolor etc are missing for the the rest of the tables.

Im using htmtable

-HTMLFORM BEGIN
-REPEAT LBL_NXT FOR &V_COUNT FROM 1 TO &V_NO
< !--WEBFOCUS TABLE &SMRY>
< !--WEBFOCUS TABLE &DETL>
-SET &V_CNT = &V_CNT + 1 ;
-SET &SMRY = 'SMRY'||&V_CNT ;
-SET &DETL = 'DETL'||&V_CNT ;
-LBL_NXT
-HTMLFORM END

can any body help to acheive the report?

This message has been edited. Last edited by: cdprasad,
 
Posts: 20 | Registered: December 21, 2006Report This Post
Expert
posted Hide Post
do this:

-HTMLFORM BEGIN
<HTML>
<TABLE  some controlling specs here if you like>
 
-REPEAT... your repeat specs
<TR>
<TD...some specs here>
!IBI.FIL.&SMRY|;
</tr>
<tr><TD>
!IBI.FIL.&DETL|;
</tr>
-LBL_XT
</TABLE>
</HTML>
-HTMLFORM END

See what i'm doing? giving you some specific control over your whole output table by making each individual output table the contents of one cell of an overall hosting table,
and also changing your < !-- webfocus syntax to the more modern bang ibi syntax !IBI.FIL
..
yes of course thanks Alan

This message has been edited. Last edited by: susannah,




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Virtuoso
posted Hide Post
Susannah

Shouldn't the TR be within the -REPEAT? Otherwise won't you get a horizontal set of tables.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Member
posted Hide Post
The bug i found is the summary stylesheet is not in sync wid detail stylesheet. Im put in detail style sheet more right gap and left gap . so the final report looks like as if squeeze off.

Still the problem exists

Every thing alignment, borders are comin fine for only first few tables. After 31 htmtable request(summary + detail), the tables are comin fine with proper alignment of data.but the borders , backcolor and font are not comin for these tables.


Hi sussannah
I used the above code, but the problem remaines same. Anyway thanks for the help

Is there any limitations in the above method of displayin?


WF 7.1.4 Win2k
 
Posts: 20 | Registered: December 21, 2006Report This Post
Expert
posted Hide Post
Take a look at this:

https://forums.informationbuilders.com/eve/forums/a/tpc/...1057331/m/7291006591

Try setting WF_BURST_OUTPUT to Off.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Hi All,

I dont have the permission to set WF_BURST_OUTPUT OFF. and also if we set this at server side it may affect other reports.

so we analyzed the output from html files. Every thing was applied and can be seen in the source code of html output. The problem here is, for every cell/table the webfocus is applying the same styling attribute to the html output. For huge no. of tables the browser is not capable of handling that many styling attributes at a time.

so we are looking for alternate option. We are trying to create CSS stylesheets. That can be used common for all the similar tables. In this way we can reduce redundant styling attributes for the similar tables.

once we done, i wil post the results here ...

Thanks & Regards
cdp
 
Posts: 20 | Registered: December 21, 2006Report This Post
Member
posted Hide Post
We stored all the tables in the html tables
Then by using the htmlform command we are displaying all these tables which refer to only one css file instead of multiple css(this is produced when we are using webfocus styling attributes)

  
-HTMLFORM BEGIN
<HTML>
<TITLE>
"BUDGET TOTALS REPORT"
</TITLE>
<HEAD>
<link rel="stylesheet" href="/style.css" type="text/css">
</HEAD>
<BODY>
-LBL_NXT
<DIV>
!IBI.FIL.&SMRY;
</DIV>
<DIV>
!IBI.FIL.&DETL;
</DIV>
-SET &V_CNT = &V_CNT + 1 ;
-SET &SMRY = 'SMRY'||&V_CNT ;
-SET &DETL = 'DETL'||&V_CNT ;
-IF &V_CNT LT &V_LOC_CNT THEN GOTO LBL_NXT ;
</BODY>
<HTML>




The code for style sheet using the CSS instead of webfocus functions

  
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE HOLD AS &DETL FORMAT HTMTABLE
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='Legal',
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
LEFTMARGIN=0.100000,
RIGHTMARGIN=0.00000,
TOPMARGIN=0.00000,
BOTTOMMARGIN=0.00000,
$
TYPE=REPORT,
LEFTGAP=0.0500000,
RIGHTGAP=0.0500000,
CLASS='RPT',
$
-*ACCOUNT NUMBER AND DESCRIPTION
TYPE=SUBHEAD,
BY=PAYROLL_ACCT,
CLASS='B_SBHD_ACTDESC',
$
-*COLUMN TITLES
TYPE=SUBHEAD,
BY=V_ACCTNO_DESC,
HEADALIGN=BODY,
CLASS='B_SBHD_TTL',
$
TYPE=SUBHEAD,
BY=V_ACCTNO_DESC,
OBJECT=TEXT,
ITEM=1,
CLASS='B_SBHD_TTL_LTHY',
$



All the tables have the same classes defined in the Style.css. Since the same classes are referring by all the tables we can eliminate the problem

Thanks & Regards,
cdprasad
 
Posts: 20 | Registered: December 21, 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 reporting in HTML format

Copyright © 1996-2020 Information Builders