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.
Hi All, Greetings. I am trying to generate a PDF report where I need to have the back ground color of a column spanned to a limited width and height.
TABLE FILE CAR PRINT COUNTRY CAR SEAT ON TABLE SET ONLINE-FMT PDF ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * TYPE= REPORT,SIZE=8,$ TYPE= TITLE, BORDER=MEDIUM,$ TYPE= DATA, BORDER=MEDIUM, TOPGAP=0.1, BOTTOMGAP=0.1,$ ENDSTYLE END
In this case, the back ground color is applied to the whole column. But my need is to specify the back ground only on a specific width and height of the column. Can this be achieved? Thanks in advance.This message has been edited. Last edited by: Kerry,
Regards, Kasi Krishnan WF 7.1.4 & WF 7.6.9: Databases - DB2, SQL Server 2000. OS: Windows & AIX
TABLE FILE CAR PRINT COUNTRY CAR SEAT ON TABLE SET ONLINE-FMT PDF ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * TYPE= REPORT,SIZE=8,$ TYPE= TITLE, BORDER=MEDIUM,$ TYPE= DATA, BORDER=MEDIUM, TOPGAP=0.1, BOTTOMGAP=0.1,$ TYPE= DATA, COLUMN = N3, BACKCOLOR=RGB(50 50 230),$ ENDSTYLE END
is there anyway, we can apply the back ground colour only on a specific width and height inside the column.
Regards, Kasi Krishnan WF 7.1.4 & WF 7.6.9: Databases - DB2, SQL Server 2000. OS: Windows & AIX
TABLE FILE CAR
SUM
RETAIL_COST AS 'Retail Cost'
DEALER_COST AS 'Dealer Cost'
COMPUTE XPCT/P6.2B% = (RETAIL_COST / DEALER_COST) * 100; AS '%'
SALES AS 'Sales'
BY COUNTRY AS 'Country'
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
LEFTMARGIN = 0.550000,
RIGHTMARGIN = 0.250000,
TOPMARGIN = 0.35000000,
BOTTOMMARGIN= 0.55000000,
$
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=10,
$
TYPE=REPORT, NAME='TITLE_1', OBJECT=BOX, POSITION=(0.55 0.90), DIMENSION=(0.95 0.20), BACKCOLOR=RED,$
ENDSTYLE
END
-RUN
JG correctly answered your question, although, this will answer your "new" criteria:
TABLE FILE CAR
SUM
RETAIL_COST AS 'Retail Cost'
DEALER_COST AS 'Dealer Cost'
COMPUTE XPCT/P6.2B% = (RETAIL_COST / DEALER_COST) * 100; AS '%'
SALES AS 'Sales'
BY COUNTRY AS 'Country'
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
LEFTMARGIN = 0.550000,
RIGHTMARGIN = 0.250000,
TOPMARGIN = 0.35000000,
BOTTOMMARGIN= 0.55000000,
$
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=10,
$
TYPE=DATA, COLUMN=COUNTRY, BORDER=ON, BACKCOLOR=RED, WHEN=COUNTRY EQ 'JAPAN',$
ENDSTYLE
END
-RUN