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] Two Reports in One FEX--Style Sheet Problem
Go
New
Search
Notify
Tools
Reply
  
[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, 2006Reply With QuoteReport 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, 2005Reply With QuoteReport 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, 2006Reply With QuoteReport 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, 2005Reply With QuoteReport 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, 2006Reply With QuoteReport 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, 2006Reply With QuoteReport This Post
Master
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: 924 | Location: At the Mast | Registered: May 17, 2007Reply With QuoteReport 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.
   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
Master
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: 924 | Location: At the Mast | Registered: May 17, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

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-2018 Information Builders, leaders in enterprise business intelligence.