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.
I need to print without grids (if possible - with red color arial 9) in left top corner, immediately as html page starts.
If I do
TABLE FILE DATABASES PRINT CON_DIR NOPRINT WHERE CON_DIR EQ '&&DB_PATH'; ON TABLE SUBHEAD "Reporting DB: " END
Then I am getting text as needed, just at the beginning of page. But it is with grids (and not arial, not red and not size=9).
If I am starting to play with styles, i.e. like that
TABLE FILE DATABASES PRINT CON_DIR NOPRINT WHERE CON_DIR EQ '&&DB_PATH'; ON TABLE SUBHEAD "Reporting DB: "
ON TABLE SET PAGE NOLEAD ON TABLE SET PAGE-NUM NOLEAD ON TABLE NOTOTAL ON TABLE SET STYLE * TYPE=REPORT, GRID=OFF,$ ENDSTYLE END
Then I can get grids switched off, right color, size etc, but I am getting several empty lines at the beginning of page. Text is not placed at the top of page. I have small frame, just for one line of text. Text becoming invisible, I need to scroll
p.s. I have tried to search for solution, but have not found a solution in forum
TIA for your advise,
PiterThis message has been edited. Last edited by: <Kathryn Henning>,
Thank you Dave! After your advise I have played more and have found that GRID=OFF makes several empty lines. So I have left Grids, but have added BORDER=LIGHT and now it is quite fine when I do it like :
ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * LEFTMARGIN=0.000000, RIGHTMARGIN=0.000000, TOPMARGIN=0.000000, BOTTOMMARGIN=0.000000, RIGHTGAP=0.000000, LEFTGAP=0.000000, FONT=ARIAL, SIZE=9, STYLE=BOLD+ITALIC, COLOR='RED', BORDER=LIGHT, $ ENDSTYLE
TABLE FILE CAR
PRINT COUNTRY NOPRINT
WHERE COUNTRY EQ 'ENGLAND';
ON TABLE SUBHEAD "REPORTING DB: "
ON TABLE SET PAGE NOLEAD
ON TABLE NOTOTAL
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF, $
ENDSTYLE
ON TABLE HOLD AS H001 FORMAT HTMTABLE
END
-RUN
-HTMLFORM BEGIN
<html>
<head>
<style type="text/css">
body
{
margin: 0px;
font-family: "Arial", sans-serif;
font-size: 9pt; color: red;
}
</style>
</head>
<body>
!IBI.FIL.H001;
<body>
</html>
-HTMLFORM END
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server