place data in excel

Guadalupe

New Member
I need that when a user clicks an hyperlink in a web page, run a procedure that output data in an excel spreadsheet. Does somebody knows how to do it?? is there a way to make the browser launch excel and feed the output data??

Thanks!
 
Excel spreadsheet

Use comma separated values. Output all you data into file and separate your values by commas. Call the file 'something.csv'. Then redirect the user to that file.

Message imported from PEG email list
 
First set the content type to application/x-msexcel.
output-content-type("application/x-msexcel":U) in the output-header procedure.

Then just {&OUT} the contents of the Excel-file.

See kb 19797.

Regards
Jens
jens.dahlin@g4it.se

Message imported from PEG email list
 
Back
Top