Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
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
Go
New
Search
Notify
Tools
Reply
  
[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, 2012Reply With QuoteReport 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: 3106 | Location: Tennessee, Nashville area | Registered: February 23, 2005Reply With QuoteReport 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, 2012Reply With QuoteReport 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: 5686 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport 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, 2012Reply With QuoteReport This Post
  Powered by Social Strata  
 

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-2018 Information Builders, leaders in enterprise business intelligence.