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     [SOLVED]Joining the two fex file to get the single output

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Joining the two fex file to get the single output
 Login/Join
 
Gold member
posted
Hi,

I'm trying to put two fex files into one so that the output of both the fex files just appears at the top and bottom of each other.
I have a common sql for both the fex files and then separate sql out for both the files in one common fex file.
The problem is when I'm running the fex file, it is messing up the formatting of the two fex file included in the common fex file.
Second file has header and the first has the title with background color settings. But the second fex file is taking the formatting of the first fex file in the header section.Can anybody please help me?

Thank you in advance,
Mehak

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


WebFOCUS 8.2.02
Windows, All Outputs
 
Posts: 95 | Registered: May 16, 2016Report This Post
Expert
posted Hide Post
You are probably using SET HTMLCSS=ON. This generates a CSS stylesheet. The styling for each report will interfere with each other because the same CSS class is generated.

Solution: hold the two reports in HTMTABLE format, then use HTMLFORM to display the reports. With this method, different CSS classes are generated in each report.

Example:

TABLE FILE CAR
SUM
SALES
BY COUNTRY
HEADING
"WEBFOCUS REPORT 1"
ON TABLE SET PAGE NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT, SQUEEZE=ON, FONT='ARIAL',
SIZE=9, BORDER=1, BORDER-COLOR=SILVER,
$
TYPE=HEADING, COLOR=BLUE, $
ENDSTYLE

ON TABLE HOLD AS HOLDREPORT1 FORMAT HTMTABLE
END
-RUN

TABLE FILE CAR
SUM
SALES
BY SEATS
HEADING
"WEBFOCUS REPORT 2"
ON TABLE SET PAGE NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT, SQUEEZE=ON, FONT='ARIAL',
SIZE=9, BORDER=1, BORDER-COLOR=SILVER,
$
TYPE=HEADING, COLOR=GREEN, $
ENDSTYLE

ON TABLE HOLD AS HOLDREPORT2 FORMAT HTMTABLE
END
-RUN

-HTMLFORM BEGIN
!IBI.FIL.HOLDREPORT1;
!IBI.FIL.HOLDREPORT2;
-HTMLFORM END



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
Gold member
posted Hide Post
Thank you very much Francis, it worked Smiler


WebFOCUS 8.2.02
Windows, All Outputs
 
Posts: 95 | Registered: May 16, 2016Report This Post
Expert
posted Hide Post
"Thank you very much Francis, it worked" — music to my ears.


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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]Joining the two fex file to get the single output

Copyright © 1996-2020 Information Builders