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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to generate a excel report.

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I want to transfer data from Access database and generate a excel report. What should I do? Please give me some idea or pass me code. Thanks in advance.
 
I want to transfer data from Access database and generate a excel report using ASP. What should I do? Please give me some idea or pass me code. Thanks in advance.
 
Create an .asp page
at the top, enter your code as you usually would:
Code:
<%@Language=VBScript>
Then tell the system that you are creating a excel spreadsheet:
Code:
<%
Response.ContentType = &quot;application/vnd.ms-excel&quot;
%>
The rest can be the HTML and VBscript you would use to create a table for presentation on a web page, only because you noted that you were sending it to an excel spreadsheet, it will open up in excel.

bc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top