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.
We have a field called SOLDBY with values like LB, KG, UN and so on.
In Dev Studio I have done everything I can think of to remove the cell borders that appear under the ACROSS (and to the right of the CCODE field)- including making the borders the same colour as the background, setting the line width to none and turning the borders off. But they persist. Irritating !!
All suggestions are welcome ....
DEFINE FILE SOMEFILE
QRTR/Q = BLDATE;
COUNTRY/A2=IF CCODE EQ 'USXM' THEN 'XM' ELSE COUNTRY;
AREA/A16=
IF COUNTRY EQ 'AN' OR 'BA' OR 'CU' OR 'GD' OR 'GR' OR 'AR'
OR 'GY' OR 'BE' OR 'DO' OR 'BH' OR 'CA' OR 'GA' OR 'SL'
OR 'HA' OR 'JA' OR 'MA' OR 'SU' OR 'TR' OR 'XM'
THEN 'CARIBBEAN' ELSE
IF COUNTRY EQ 'CR' OR 'GU' OR 'HO' OR 'NI' OR 'PA' OR 'SA' OR 'PR' OR 'DR' OR 'MX'
THEN 'CENTRAL AMERICA' ELSE
IF COUNTRY EQ 'US' THEN 'USA'
ELSE 'SOUTH AMERICA';
END
SET HIDENULLACRS=ON
TABLE FILE SOMEFILE
PRINT
NEWORDER.PRODUCTS.PQTY AS 'QTY'
BY NEWORDER.ROOT_SEG.AREA NOPRINT
BY SOMEFILE.ROOT_SEG.QRTR NOPRINT
BY SOMEFILE.PRODUCTS.PSCODE NOPRINT
BY SOMEFILE.ROOT_SEG.COUNTRY
BY SOMEFILE.PRODUCTS.PDESC
BY SOMEFILE.ROOT_SEG.CCODE
ACROSS SOMEFILE.ROOT_SEG.BL_YEAR AS ' '
ACROSS SOMEFILE.PRODUCTS.SOLDBY AS ''
ON SOMEFILE.ROOT_SEG.AREA SUBTOTAL AS '*Total for area '
ON SOMEFILE.ROOT_SEG.AREA PAGE-BREAK
ON TABLE SUBHEAD
"&SUPPLIER QUARTER &QUARTER SALES FROM 2007 TO 2011"
"BY AREA AND COUNTRY"
"Report printed on <+0>&DATEtrMDYY <+0> "
"4"
HEADING
"<'SOMEFILE.ROOT_SEG.AREA'"
ON TABLE SUBFOOT
"This report runs from the file &FOCFEXNAME "
WHERE PSCODE EQ '&SUPPLIER';
WHERE BL_YEAR GE &STARTYEAR;
WHERE QRTR EQ '&QUARTER';
ON TABLE SET PRINT ONLINE
ON TABLE COLUMN-TOTAL AS 'TOTAL'
ON TABLE PCHOLD FORMAT &WFFMT
ON TABLE SET STYLE *
INCLUDE = PROBLUE,
UNITS=IN,
PAGESIZE='Letter',
LEFTMARGIN=0.250000,
RIGHTMARGIN=0.250000,
TOPMARGIN=0.250000,
BOTTOMMARGIN=0.250000,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
$
TYPE=REPORT,
FONT='ARIAL',
SIZE=10,
COLOR='BLACK',
STYLE=NORMAL,
RIGHTGAP=0.125000,
$
TYPE=TITLE,
COLUMN=N6,
BORDER-RIGHT=OFF,
BORDER-RIGHT-STYLE=NONE,
$
TYPE=TITLE,
COLUMN=N8,
JUSTIFY=CENTER,
$
TYPE=TITLE,
COLUMN=N9,
JUSTIFY=CENTER,
$
TYPE=TITLE,
COLUMN=N10,
JUSTIFY=CENTER,
$
TYPE=TITLE,
ACROSSCOLUMN=N1,
BORDER-TOP=OFF,
BORDER-BOTTOM=OFF,
BORDER-LEFT=OFF,
BORDER-RIGHT=OFF,
BORDER-TOP-STYLE=NONE,
BORDER-BOTTOM-STYLE=NONE,
BORDER-LEFT-STYLE=NONE,
BORDER-RIGHT-STYLE=NONE,
BORDER-TOP-COLOR=RGB(147 172 219),
BORDER-BOTTOM-COLOR=RGB(147 172 219),
BORDER-LEFT-COLOR=RGB(147 172 219),
BORDER-RIGHT-COLOR=RGB(147 172 219),
COLOR=RGB(147 172 219),
BACKCOLOR=RGB(147 172 219),
STYLE=NORMAL,
$
TYPE=TABHEADING,
SIZE=12,
COLOR='WHITE',
BACKCOLOR=RGB(147 172 219),
STYLE=BOLD,
$
TYPE=TABHEADING,
LINE=1,
JUSTIFY=CENTER,
$
TYPE=TABHEADING,
LINE=2,
JUSTIFY=CENTER,
$
TYPE=TABHEADING,
LINE=3,
JUSTIFY=CENTER,
$
TYPE=HEADING,
SIZE=12,
COLOR='WHITE',
BACKCOLOR=RGB(147 172 219),
STYLE=BOLD,
$
TYPE=HEADING,
LINE=1,
JUSTIFY=LEFT,
$
TYPE=HEADING,
LINE=1,
OBJECT=FIELD,
ITEM=1,
SIZE=12,
$
TYPE=ACROSSVALUE,
ACROSS=1,
SIZE=10,
COLOR='WHITE',
BACKCOLOR=RGB(147 172 219),
$
TYPE=ACROSSVALUE,
ACROSS=2,
SIZE=10,
COLOR='WHITE',
BACKCOLOR=RGB(147 172 219),
$
TYPE=ACROSSTITLE,
ACROSS=1,
COLOR='WHITE',
BACKCOLOR='NONE',
$
TYPE=ACROSSTITLE,
ACROSS=2,
COLOR='WHITE',
BACKCOLOR='NONE',
$
ENDSTYLE
END
-RUN
This message has been edited. Last edited by: Kerry,
You could try to do this with an external stylesheet. Suppose there is an external stylesheet named mystyle.css, containing just this one line:
.with { border: solid 1 #032610;}
You can reference this file in your code and use the style that's defvined there, for example:
SET CSSURL = /approot/SESSION/mystyle.css
TABLE FILE CAR
PRINT SALES
BY COUNTRY
BY CAR
BY MODEL
ACROSS BODYTYPE AS ' '
ACROSS SEATS AS ''
ON TABLE SUBHEAD
"BY COUNTRY AND CAR"
"Report printed on <+0>&DATEtrMDYY <+0> "
ON TABLE SUBFOOT
"This report runs from the file &FOCFEXNAME "
ON TABLE SET PRINT ONLINE
ON TABLE SET PAGE NOLEAD
ON TABLE COLUMN-TOTAL AS 'TOTAL'
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
SQUEEZE=ON,
$
TYPE=REPORT, FONT='ARIAL', SIZE=10, COLOR='BLACK', STYLE=NORMAL,
GRID=OFF, RIGHTGAP=0.125000, $
TYPE=DATA, class=with, $
TYPE=tabfooting, class=with, $
TYPE=TABHEADING, SIZE=12, COLOR='WHITE', BACKCOLOR=RGB(147 172 219),
STYLE=BOLD, JUSTIFY=CENTER, $
TYPE=ACROSSVALUE, ACROSS=1, SIZE=10, COLOR='GREEN', $
TYPE=ACROSSVALUE, ACROSS=2, SIZE=10, COLOR='RED', $
ENDSTYLE
END
-RUN
Hope this helps ...
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
Oops ... I didn't see GamP's suggestion until today. Unfortunately the output where the issue arises is PDF, not HTML so the CSS stylesheet doesn't help. But thanks anyway !