Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Client Side Script to Export to Excel from the Server Side

Status
Not open for further replies.

w3bd3v

Programmer
May 8, 2003
2
US
I'm trying to set-up a client side script (in jscript/javascript) that will export some dynamically generated report data from a table to excel on the server side. Afterwards, the user will be pointed to this file on the server.
At this point, I can do this from the client side. However, the volume of data expected will make it painfully slow. Can anyone help me?
Thanks,
w3bd3v
 
you want to make excel files server side?

save an html table as "fileName.xls" on the server.



=========================================================
try { succeed(); } catch(E) { tryAgain(); }
-jeff
 
I'm looking to create an excel file on the server side at the request of a client and then export the report data generated into that excel file and point the client's browser to it. It needs to be flexible for code reuse.

I can do this all on the client side, however, its too slow.

I think my problem maybe a little too specific. I'll keep looking. Thanks for your reply.
 
i do this all the time...

on the server, create an text file, write an html table containing your report data, then name the file whateverYouWant.xls

then either give the client a hyperlink to "whateverYouWant.xls" or open a new window with "whateverYouWant.xls" as the URL



=========================================================
try { succeed(); } catch(E) { tryAgain(); }
-jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top