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] Two Reports in One FEX--Style Sheet Problem

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Two Reports in One FEX--Style Sheet Problem
 Login/Join
 
Platinum Member
posted
Hi All,

i have two reports in one fex from same file, the two reports having the same fileds(columns) except one BY field. the desired output is in HTML format.

my code is like this

TABLE FILE CAR
PRINT A
B
BY C
ON TABLE STYLE *
Style Sheet
ENDSTYLE
END
TABLE FILE CAR
PRINT A
B
ON TABLE STYLE *
Style Sheet
ENDSTYLE
END


HERE THE PROBLEM IS the two style sheets are mixing and giving some bad results, how can i eliminate this mixing of style sheets.
give me some suggestion to combine these two reports.
i tried with set compund but there is no use.

Thanks,
Kalyan

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


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------
 
Posts: 155 | Location: Bangalore. | Registered: January 24, 2006Report This Post
Platinum Member
posted Hide Post
K.,

Does it help to hold each report in a HTMtable

and then to show it

-HTMLFORM BEGIN
!IBI.FIL.REPORT1;
!IBI.FIL.REPORT2;
!IBI.FIL.REPORT3;
-HTMLFORM END


Just thinking....


Hope it helps
Peter


D: WF 7.6.2 P. : WF 7.6.2 on W2003
------------------------------------------------------------------
I see myself as an intelligent, sensitive human, with the soul of a clown which forces me to blow it at the most important moments.

-Jim Morrison-

 
Posts: 206 | Registered: February 25, 2005Report This Post
Platinum Member
posted Hide Post
Hi Pete, Thanks for your Sugestion, but i do not want to put in !IBI.FIL....
my idea is through fex


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------
 
Posts: 155 | Location: Bangalore. | Registered: January 24, 2006Report This Post
Platinum Member
posted Hide Post
K.,

its still in a fex

TABLE FILE CAR
"REPORT 1"
PRINT CAR MODEL BODYTYPE BY COUNTRY
ON TABLE HOLD FORMAT HTMTABLE AS REPORT1
ON TABLE SET STYLE *
TYPE=DATA,STYLE=BOLD,COLOR=RED,$
ENDSTYLE
END
TABLE FILE CAR
"REPORT 2"
PRINT CAR MODEL COUNTRY BY BODYTYPE
ON TABLE HOLD FORMAT HTMTABLE AS REPORT2
ON TABLE SET STYLE *
TYPE=DATA,STYLE=BOLD,COLOR=BLUE,$
ENDSTYLE
END
TABLE FILE CAR
"REPORT 3"
PRINT MODEL BODYTYPE COUNTRY BY CAR
ON TABLE HOLD FORMAT HTMTABLE AS REPORT3
ON TABLE SET STYLE *
TYPE=DATA,STYLE=BOLD,COLOR=GREEN,$
ENDSTYLE
END
-HTMLFORM BEGIN
!IBI.FIL.REPORT1;
!IBI.FIL.REPORT2;
!IBI.FIL.REPORT3;
-HTMLFORM END


or am i missing something

P.


D: WF 7.6.2 P. : WF 7.6.2 on W2003
------------------------------------------------------------------
I see myself as an intelligent, sensitive human, with the soul of a clown which forces me to blow it at the most important moments.

-Jim Morrison-

 
Posts: 206 | Registered: February 25, 2005Report This Post
Virtuoso
posted Hide Post
You might also use a dummy BY (an empty field) in the second part, so the layout of both reports are the same.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Platinum Member
posted Hide Post
Thanks a lot Pete, it's working Fine.


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------
 
Posts: 155 | Location: Bangalore. | Registered: January 24, 2006Report This Post
Virtuoso
posted Hide Post
On behalf of the preceding 12 years, I'd like to thank Pete again. I had one report as an HTML, one as an HTMTABLE. The HTMTABLE styling bled into the HTML table, making both of them HTMTABLE fixed it.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Expert
posted Hide Post
The bottom line is that WebFOCUS code is Interpreted and, thus, the last items, including TYPE=xyz...' in stylesheets, override the previous items.




   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
This is the style lines from one report affecting the style lines from another. This is the result of both being rendered on the same web page, and the output css lines using the same names. In theory they shouldn't be linked, but they are.

Putting both reports into an independent htmtable instead of two bodies of html code results in a separation of their styling.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report 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] Two Reports in One FEX--Style Sheet Problem

Copyright © 1996-2020 Information Builders