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

Save output as html file? 1

Status
Not open for further replies.

msf11

Technical User
Apr 10, 2003
15
0
0
US
I've created a report that is an asp page that uses vbscript. It pulls data off of a database and displays it in a table. I want to be able to run the report once and then allow users to access the html output intead of continuously pulling the same data off of the database.

Is there a way that I can include code in the asp page that will save the html output as a file?

Thanks!
-marc
 
Yes, you could use the FileSystemObject to write the information to a text file. Here is more info on the FileSystemObject:

-Tarwn

[sub]01010100 01101001 01100101 01110010 01101110 01101111 01101011 00101110 01100011 01101111 01101101 [/sub]
[sup]29 3K 10 3D 3L 3J 3K 10 32 35 10 3E 39 33 35 10 3K 3F 10 38 31 3M 35 10 36 3I 35 35 10 3K 39 3D 35 10 1Q 19[/sup]
Get better results for your questions: faq333-2924
Frequently Asked ASP Questions: faq333-3048
 
Thanks for your help Tarwn! That's exactly what I needed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top