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] html styling field spanning columns help...

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] html styling field spanning columns help...
 Login/Join
 
Master
posted
I have created a prototype report with the CAR file using the OVER command.

It is styling nicely but I like to have the BLANK field span two columns rather
than one.

I defined a 2nd field named FILL/5='HELLO'; to populate the extra cell
but I'd rather not go that route unless necessary.

-* File car_over.fex
SET PAGE = NOPAGE

DEFINE FILE CAR
BLANK/A1 = '';
END

TABLE FILE CAR
HEADING
"CAR <+0> DEALER"
"COUNTRY <+0> RETAIL"
" "
"<+0> <+0>COMBINED"
"<+0> <+0>SF85 SF85P "
PRINT
CAR AS ''
DEALER AS ''
OVER COUNTRY AS ''
RETAIL AS ''
OVER BLANK AS ''
-*
WHERE COUNTRY EQ 'ENGLAND';
ON TABLE PCHOLD FORMAT HTML

ON TABLE SET STYLE *
TYPE=REPORT, ORIENTATION=LANDSCAPE, GRID=ON, FONT=ARIAL, SIZE=9, $
TYPE=HEADING, HEADALIGN=BODY, $
TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=1, COLSPAN=1, JUSTIFY=CENTER, $
TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=2, COLSPAN=1, JUSTIFY=CENTER, $
TYPE=HEADING, LINE=2, OBJECT=TEXT, ITEM=1, COLSPAN=1, JUSTIFY=CENTER, $
TYPE=HEADING, LINE=2, OBJECT=TEXT, ITEM=2, COLSPAN=1, JUSTIFY=CENTER, $
TYPE=HEADING, LINE=3, OBJECT=TEXT, COLSPAN=2, JUSTIFY=CENTER, $
-*
TYPE=HEADING, LINE=4, OBJECT=TEXT, ITEM=1, COLSPAN=1, JUSTIFY=CENTER, $
TYPE=HEADING, LINE=4, OBJECT=TEXT, ITEM=2, COLSPAN=1, JUSTIFY=RIGHT, $
TYPE=HEADING, LINE=5, OBJECT=TEXT, ITEM=1, COLSPAN=1, JUSTIFY=CENTER, $
TYPE=HEADING, LINE=5, OBJECT=TEXT, ITEM=2, COLSPAN=1, JUSTIFY=CENTER, $
-*
TYPE=DATA, JUSTIFY=CENTER, $
TYPE=DATA, COLUMN=N1, COLOR=ORANGE, $
TYPE=DATA, COLUMN=N2, COLOR=GREEN, $
TYPE=DATA, COLUMN=N3, COLOR=BLUE, $
TYPE=DATA, COLUMN=N4, COLOR=PURPLE, $
TYPE=DATA, COLUMN=N5, COLOR=BROWN, $
TYPE=DATA, COLUMN=N6, COLOR=RED, $ 

ENDSTYLE
END
-RUN


Can anyone help me fix this ?

Thanks!

This message has been edited. Last edited by: <Kathryn Henning>,


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Expert
posted Hide Post
Quick and dirty HTML solution?
DEFINE FILE CAR
BLANK/A22 = '&|nbsp;</td><td>&|nbsp;';
END

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
Ok, not exactly what you wanted (column span) but you would have to hack into the TD tag attributes for that and that would probably mean using HTMTABLE holds and inclusion of JQuery, reading the DOM and then changing the bit you want.

A lot of effort for not much benefit?

Of course the reason that you cannot use TYPE=DATA, COLUMN=BLANK, COLSPAN=2, $ in the stylesheet is your use of OVER.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Master
posted Hide Post
I can live with it as it is, but as we used to say in college: "This bl**s"


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 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     [CLOSED] html styling field spanning columns help...

Copyright © 1996-2020 Information Builders