Focal Point
Exporting 1.2 million records to excel

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

July 11, 2008, 09:53 AM
Navaneeth
Exporting 1.2 million records to excel
Hi,

We know excel has a limitation on number of rows it can take ( it is around 65K).

but is there any way to split the records and put it in different excel sheet on the click of export button.

Regards,
Navaneeth
July 11, 2008, 09:59 AM
GinnyJakes
Navaneeth,

This question has been answered multiple times on this Forum. Do a search and look for excel, limits, BYTOC, etc. and I'm sure you will find an answer that you can use.

But essentially, the answer is to count the rows and split them into multiple worksheets or divide into multiple worksheets by high-level sort field.


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 11, 2008, 01:10 PM
Tony A
Navaneenth,

Take the time to read the sticky topics at the top of this Forum. Particularly the ones about updating your signature and also performing a search first. You could have saved yourself a lot of time!

T

This message has been edited. Last edited by: Tony A,



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 
July 14, 2008, 09:42 AM
PBrightwell
Using BYTOC will break on your first sort field, if you want a different grouping you will need to create it, but it will make more sense if you break your report by something meaningful rather than by a count. Also keep in mind that BYTOC only works with EXL2K (and higher) it will not work with EXL97 or EXCEL.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
July 15, 2008, 09:06 AM
Gobinath Velusamy
Hi Navaneeth

Try this code to break the multiple worksheet

TABLE FILE HOLD
PRINT
*
COMPUTE COUNTER/I7=COUNTER + 1; NOPRINT
COMPUTE WORKSHEET/I3=COUNTER/65000; NOPRINT
BY TOTAL WORKSHEET NOPRINT
ON TABLE PCHOLD FORMAT EXL2K BYTOC
END



Thanks
Gobinath Velusamy


WebFOCUS 7610
Windows
July 15, 2008, 10:58 AM
ira
Navaneeth, you ask a good question, but there's a tab above called: "Search". Were you able to find the topic you were asking about by clicking on it as suggested by Tony? Were you able to find it once directed there by Ginny and PBrightwell? There is also a rate it below the 'go/new' tabs. Feel free to rate the search once you have looked up the bytoc option.

Moderator - just a suggestion - maybe a bright color background behind the 'search' tab to help those that just don't "no"tice it.

Ira
AIX 533 WF 533(P)

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


aix-533,websphere 5.1.1,apache-2.0,
wf 538(d), 537 (p),
==============
7.6.11 (t) aix 5312
websphere 6.1.19
apache 2.0
July 16, 2008, 05:39 PM
Prarie
Maybe we should have it Blink...in Pink. Smiler


In Focus since 1993. WebFOCUS 7.7.03 Win 2003