Focal Point
Number of record to Excel

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5061067192

July 16, 2008, 12:33 PM
Navaneeth
Number of record to Excel
Hi,

Few of my reports need to open in Excel( default), but the record count is 2 million.

How do we achieve this

How do we achieve the same if we have report opened in HTML, but we need to export it in Excel ( with formatting)

Thanks,
Navaneeth
WF 7.14
July 16, 2008, 12:52 PM
BlueZone
I am not really sure if it is worth even considering opening such a huge file in Excel. But if you gotta do it, here would be my suggestions -

#1> In what we have seen with Compound excel output, I believe you can actually have upto 64k lines per each Tab.

Include a row-counter field and put your final output to a Hold file. Query &RECORDS for the output size and put the execl compound generation steps in a -Repeat loop to show about 64k lines on each tab by using that row counter field for start-stop. Bad idea to begin with, but in case there are no other options.

#2> Better yet, when you query &RECORDS and determine the output size to be huge, force the output format to be HTML automatically with the WEBVIEWER option.
  
-SET &FMTX = IF &RECORDS GT 99999 THEN 'HTML' ELSE 'EXL2K';
ON TABLE PCHOLD FORMAT &FMTX 

Hope that helps,
Sandeep Mamidenna


-------------------------------------------------------------------------------------------------
Blue Cross & Blue Shield of MS
WF.76-10 on (WS2003 + WebSphere) / EDA on z/OS + DB2 + MS-SQL
MRE, BID, Dev. Studio, Self-Service apps & a dash of fun !! Music
July 16, 2008, 01:21 PM
jimster06
You may have asked a similar question before here

But I think that you are now asking whether you can convert HTML output to some spreadsheet format; is that correct?

Consider that the 65k restriction is Microsoft's and not that of WebFOCUS.

You might want to consider output in CSV format and then process it outside of WF.


jimster06
DevStu WF 7.6.11
W7
HTML, PDF, EXL2K
July 16, 2008, 02:35 PM
Darin Lee
You want 2 million records in a spreadsheet???? Try a database instead. The record limit for Excel has increased with the new Office 2007 version, but that's still not proper functionality for a spreadsheet.

Additionally, try using the Search functionality in the forum. There are NUMEROUS posts regarding this topic.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
July 16, 2008, 04:03 PM
GinnyJakes
Again, Naveenath, didn't we just answer this question for you the other day?
https://forums.informationbuilders.com/eve/forums/a/tpc/...1057331/m/6061002192


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
July 16, 2008, 04:03 PM
Kamesh
Check this link,

https://forums.informationbuilders.com/eve/forums/a/tpc/...831071272#5831071272


I gave a solution for this issue, hope that will work for you.


WFConsultant

WF 8105M on Win7/Tomcat
July 17, 2008, 07:26 AM
tlbrydie2
Navaneeth,

We have ton's of data running thru out Self Service aplication also.How we handle the HTML, Excel 2 million row question is to bring back a subset of the data to be shown in the browser (we display 1000 rows) then allow the user to export the entire data to either Excel or PDF. 2million rows may not come back in the Browser.




Prod: WebFOCUS 7.6.10 MRE
Oracle/Sybase
Test: DevStudio 7.6.6
WF Server 7.6.6
Report Caster 7.6.6
Web Server - Tomcat
MS Windows XP SP2
Output: HTML, Excel 2000 , PDF, CSV, DOC

July 17, 2008, 09:55 AM
PBrightwell
2 million rows is not a report, it is a data dump. What are you trying to accomplish? Have you considered putting criteria to limit the selection and/or doing a summary with drill downs?


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
July 17, 2008, 05:39 PM
Waz
Navaneeth, with 2 million rows, of info, perhaps you should be asking what the report will be used for.

Is the data going to be sliced and diced? If so storing in a DB and letting Excel query the data, or write something in WebFOCUS to do the same thing.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!