CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 export to Excel rears it's ugly head (again)

Print topic Send  topic

Author Message
Waspman

Posts: 948
Posted: 09/29/2010, 6:04 AM

I know how to get small amounts out, up to 5k, but what about more?

Anyone managed to get 10K, 20K out?


_________________
http://www.waspmedia.co.uk
View profile  Send private message
rbaldwin

Posts: 172
Posted: 09/30/2010, 10:49 AM

well you don't say what language

in vb.net beforeshow event
Page.EnableViewState=False
Response.ContentType="application/vnd.ms-excel"
Response.AddHeader("Content-Disposition","inline;filename=""YourReportName.xls""")

let's me output excel several MB in size.

View profile  Send private message
Waspman

Posts: 948
Posted: 09/30/2010, 11:23 AM

Yeah that's the way I've always done it, but max I get before a time out is 5k. Just wondered if there was better way.
_________________
http://www.waspmedia.co.uk
View profile  Send private message
Oper


Posts: 1195
Posted: 10/01/2010, 6:11 PM

wasp...

that method is really for small file, no matter what other could said.
work but that not the way.

the best way is to output to CSV format

and link to that file generated

5K register is like 10sec average.

(but you would have to generate the output by your own, no grid builder


what database are you using?

_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
Waspman

Posts: 948
Posted: 10/02/2010, 1:56 AM

Hi Oper. It's asp and access
_________________
http://www.waspmedia.co.uk
View profile  Send private message
Oper


Posts: 1195
Posted: 10/04/2010, 4:30 PM

in Access we used to do this way, long time ago (we swiched to MySQL)

we use this "Scripting.FileSystemObject"
to create a File named Whatever CSV

and create a loop writing all records to that file

The file Created will be a CSV Comma Delimited but excel will open like was a XLS file.


_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.