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 have the following report to be displayed in a frame of compound PDF report. 1) I am having trouble getting rid the top margin space believed to be space for the title. 2) Don't know why the first cell has no data.
SET TITLE = OFF
DEFINE FILE EMPLOYEE
EMP_CNT/I2=IF EMP_ID EQ LAST EMP_ID THEN 0 ELSE EMP_CNT + 1;
ROW_CNT/I2 = EMP_CNT/4;
COL_CNT/I2=IMOD(EMP_CNT,4,'I2');
END
TABLE FILE EMPLOYEE
SUM
LAST_NAME AS '' OVER
ADDRESS_LN1 AS '' OVER
ADDRESS_LN2 AS ''
BY ROW_CNT NOPRINT
ACROSS COL_CNT NOPRINT
ON ROW_CNT SKIP-LINE
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='Letter',
LEFTMARGIN=0.000000,
TOPMARGIN=0.000000,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=4,
$
TYPE=DATA,
ACROSSCOLUMN=N1,
STYLE=BOLD,
$
TYPE=TITLE,STYLE=-UNDERLINE,$
ENDSTYLE
END
Thanks.
HuaThis message has been edited. Last edited by: Kerry,
Developer Studio 7.6.11 AS400 - V5R4 HTML,PDF,XLS
Posts: 305 | Location: Winnipeg,MB | Registered: May 12, 2008
Ok, I'm not alone... I'm having a similiar problem with PDF. There is way more white space on my reports (portrait or landscape) and the top and bottom margin settings appears to be ignored. I'll be interested to see what thoughts folks have on this one.
WebFOCUS 7.7.0.3 Wintel/Windows SQL Server 2008 Output: PDF, HTML, XLS
Of course there is no mention of "NEWLAYOUT" and "DATAMATRIX" in the Developer Studio Help documentation, nor in the 39 PDF documents I have accumulated that pertain to WF 7.6.1 - 7.6.5.
One document pops up when searching Tech Support for "DATAMATRIX" while three do for "NEWLAYOUT".
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
I don't have any solutions for yout first problem, however as far as the blank column, if you change your defines to this /* DEFINE FILE EMPLOYEE EMP_CNT/I2=IF EMP_ID EQ LAST EMP_ID THEN 0 ELSE IF LAST EMP_ID EQ '' THEN 0 ELSE EMP_CNT + 1; ROW_CNT/I2 = EMP_CNT/4; COL_CNT/I2=IMOD(EMP_CNT,4,'I2'); /* it will eliminate your problem.
WF 7.6.11 Oracle WebSphere Windows NT-5.2 x86 32bit
Originally posted by RSquared: I don't have any solutions for yout first problem, however as far as the blank column, if you change your defines to this /* DEFINE FILE EMPLOYEE EMP_CNT/I2=IF EMP_ID EQ LAST EMP_ID THEN 0 ELSE IF LAST EMP_ID EQ '' THEN 0 ELSE EMP_CNT + 1; ROW_CNT/I2 = EMP_CNT/4; COL_CNT/I2=IMOD(EMP_CNT,4,'I2'); /* it will eliminate your problem.
Regarding blank first cell: I think the first cell is blank because the first record you reading probably has blank value in LAST_NAME field. pls check the detail record results of your query without the 'BY' and 'ACROSS'.
-Yogesh Patel ------------------------------------------------------------------------ PROD: WF 764 on Linux Apache tomcat v5.5 DEV: WF 768 on Linux
Posts: 42 | Location: Edison, New Jersey | Registered: January 30, 2007
The problem of the blank first cell is caused by the Define for the EMP_CNT. The first record it reads sets the value to 1 and therefor there is no data to put in Row = 0 & Col = 0. I ran a print of the data as well as print off the Emp_ID, Row_CNT, COL_cnt, before I posted the reply
WF 7.6.11 Oracle WebSphere Windows NT-5.2 x86 32bit