Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [Solved] Empty Rows in Excel if we use HTMLCSS ON

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Solved] Empty Rows in Excel if we use HTMLCSS ON
 Login/Join
 
Gold member
posted
Hi,

I have to display the report in excel. Below is my sample code contains more than 100...
If I am using SET HTMLCSS ON; then I am getting empty rows in mid of each page (line no 55...). If I set CSS OFF then am not getting empty rows; But the look and feel/font everything is changed completely.

Why am using EXL97 is: this format have option to show the date formats AS DATE in the excel file. other formats are showing as General instead of Date. (We are using this excel data to paste in another macro excel file)
I don't see any option to display the date format as date format in Excel file using XLS & XLSX PCHOLD formats. If we have please share...

1. How to avoid the empty Rows in each page of excel in single sheet?
2. Without CSS how to achieve the styling? Whatever we used in styling it is not applying in the output.

Please share your thoughts will help to solve this issue Smiler

 
TABLE FILE SYSCOLUM
PRINT TBNAME AS ''  TBCREATOR AS '' PARENT	AS ''  TAG	AS ''  
FILENAME AS ''  LONGDESC AS ''  REFERENCE AS ''	PROPERTY AS ''
COMPUTE DAT/YYMD = &YYMD; AS ''
WHERE RECORDLIMIT EQ 99
ON TABLE SET PAGE NOPAGE
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE SET HTMLCSS ON
-*ON TABLE HOLD AS RREPORT FORMAT HTMTABLE
ON TABLE PCHOLD FORMAT EXL97
ON TABLE SET STYLE *
     UNITS=IN,SQUEEZE=ON,ORIENTATION=LANDSCAPE,$
TYPE=REPORT, FONT='Calibri', SIZE=11, COLOR='BLACK', STYLE=NORMAL,BORDER=OFF,$
ENDSTYLE
END
-RUN

-*SET HTMLFORMTYPE=XLS
-*-RUN
-*-HTMLFORM BEGIN
-*<BODY>
-*!IBI.FIL.RREPORT;
-*</BODY>
-*-HTMLFORM END
 

This message has been edited. Last edited by: Dev,


8202, 8105M, 7.7.03
 
Posts: 79 | Registered: June 12, 2012Report This Post
Expert
posted Hide Post
What are the rows which would be empty in your example, that you do not want to see in the output?




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Gold member
posted Hide Post
If you execute my code. You can see the empty rows in line no: 55, 110,... +55 (remove the record limit and see)
It is splitting the page automatically for each 55 rows.


8202, 8105M, 7.7.03
 
Posts: 79 | Registered: June 12, 2012Report This Post
Expert
posted Hide Post
Look at using SET LINES = 999999 to prevent paging. You could also use ON TABLE SET LINES 999999

Note, for "unpaged" the requirement in 6 x 9s, no more no less.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Gold member
posted Hide Post
Thanks Tony Smiler

Its coming as I expected...


8202, 8105M, 7.7.03
 
Posts: 79 | Registered: June 12, 2012Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [Solved] Empty Rows in Excel if we use HTMLCSS ON

Copyright © 1996-2020 Information Builders