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 believe that WebFOCUS always assumes one line prior to data. As many have said, can you let us know which environment you are using by adding your signature.
Extra lines in headings could be due to hitting 'new line' in the GUI after the last line which results in an extra line. Is that your issue or is it just the 'standard' line.
Leah
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004
NAG, It is true that when you use ACROSS there will always be a space between the line of across values and the data. This is because that is where a column heading will appear should you have more than one field in your output. However, never despair, WF always has a solution:
-DEFAULT &OUTPUT=HTML
SET HOLDLIST=PRINTONLY
TABLE FILE CAR
BY SEATS
ON TABLE SAVE
END
-RUN
-SET &MSEAT=&LINES;
DEFINE FILE CAR
-REPEAT #SEATLOOP FOR &I FROM 1 TO &MSEAT;
-READ SAVE,&SEATNUM
-SET &S.&I=&SEATNUM;
SAL&I / I6 = IF SEATS EQ &S.&I THEN SALES ELSE 0;
-#SEATLOOP
END
TABLE FILE CAR
SUM
-REPEAT #SEATREP FOR &I FROM 1 TO &MSEAT;
-SET &S0=IF &I EQ 1 THEN 'SEATS' ELSE ' ';
SAL&I AS '&S.&I'
-#SEATREP
BY COUNTRY
HEADING
"SEATS<+0 "
ON TABLE SET HTMLCSS ON
ON TABLE PCHOLD FORMAT &OUTPUT
-SET &HEAD=IF &OUTPUT EQ PDF THEN 'POSITION=SAL1, JUSTIFY=RIGHT'
- ELSE 'COLSPAN=2, JUSTIFY=RIGHT ';
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF, $
TYPE=REPORT, HEADALIGN=BODY, $
TYPE=HEADING, LINE=1, ITEM=1, &HEAD, $
ENDSTYLE
END
Change the parameter &OUTPUT from HTML to PDF to see the different formats.
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006
Similiar results if you just use an AS '' on your by field.
You lose the column title which is causing the space but more than likely your user will be able to determine the sort field by the data or title of the report.
Posts: 3 | Location: Corporate | Registered: May 15, 2003