(SOLVED) Using BACKCOLOR within TABHEADING with spot markers
I have a heading in a spreadsheet that looks something like this
Yellow Background - Child has Turned 17
Green Background - Child turns 17 in one week
Purple Background - Child turns 17 in two weeks
Plain Background - Child turns 17 within the 6 month reporting period
The code looks like this:
ON TABLE SUBHEAD
"Yellow Background <+0> - Child has Turned 17"
"Green Background <+0> - Child turns 17 in one week"
"Purple Background <+0> - Child turns 17 in two weeks"
"Plain Background - Child turns 17 within the 6 month reporting period"
While I can apply -BOLD, Italics, text color to the left or right of the spot marker, backcolor does not work, it colors the whole line. What I want is for the "Yellow Background" to have yellow as the background color and the rest of the line be the default backcolor of silver. Any one know why this does not work or what I am doing wrong?
It does the same thing in 7.1.3 or 7.6.11.This message has been edited. Last edited by: jgelona,
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
December 22, 2010, 05:01 PM
Waz
What format is the report ?
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
December 23, 2010, 06:54 AM
<JG>
quote:
I have a heading in a spreadsheet
To close to Christmas Waz. You already been at the egg nog?
December 23, 2010, 07:11 AM
Tony A
Your output is combining the entire row as one item owing to the default column spanning. To effect what you want you will need to "split" the subheading into individual cells using HEADALIGN=BODY within the TABHEADING styling.
The downside is that if your first column is fairly narrow then it will expand to match the width of the subheading. You will also ned to add a spot marker to the fourth line of heading to ensure that the alignment of the subheading text is assured.
Happy holidays one and all.
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
December 23, 2010, 03:32 PM
Waz
quote:
To close to Christmas Waz. You already been at the egg nog?
I think perhaps its not enough.
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
December 27, 2010, 10:41 AM
jgelona
Thanks Tony.
That explains what is happening. Think I'll put in a NFR.
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.