September 29, 2016, 12:12 PM
HJTEXCEL Pivot
Hello
I have built a report that outputs EXCEL file with three tabs. First tab contains pivot table, second tab has data, and third tab is just text.
My issue is the second tab with data is blank when I pull full year of data, about 220,000 rows. I'm assuming has to do with row limitations in EXL2K. I can't use EXL07 as I understand PIVOT is not available.
Any ideas how I can get this to work? Thanks for your help.
WEBFOCUS 7.7.3
September 29, 2016, 12:17 PM
eric.woerleExcel should just cut off data in EXL2K if I remember correctly. Not provide a blank sheet. But incase I'm wrong, you can create a compute for a row count and sheet count, then do a TOC on the sheet count column to create your own "Fail Over" for too many records. EXL2K maxes out somewhere over 65K records.
October 03, 2016, 03:28 AM
MaranHi HJT,
I have developed the same kind of compound report (Summary report, Pivot report, Data and Detailed report) using EXL2K without any issues.
You can use RECORDLIMIT to limit the report output and check if you getting any rows in the second tab.
Or pls post your code here.
October 11, 2016, 11:00 AM
HJTThank you for your replies.
If I limit the record count I'm able to retrieve data on second tab. It appears that the record limit for EXL2K is around 181,000 if you're using Office 2013. If I try 185,000 or higher then I retrieve no data. Any idea if there is a setting that can change this limitation?
Here is the code for this tab.
TABLE FILE PIVOT1
PRINT *
HEADING
"SCRS Data Mining Report"
"For The Past 12 Months as of &DATEMtrYY"
" "
WHERE READLIMIT EQ 181000
ON TABLE SET STYLE *
type=report,
titletext='Data',
FONT='CALIBRI',$
TYPE=heading, size=11, STYLE=BOLD, $
TYPE=TITLE,
STYLE=BOLD,
BACKCOLOR=RGB(0 128 255),
JUSTIFY=CENTER,$
ENDSTYLE
ON TABLE PCHOLD AS DDDD FORMAT EXL2K
END