|
-
Jan 28th, 2003, 08:12 AM
#1
Thread Starter
Lively Member
Response.ContentType = application/msword - Refuses SQL Query...
I'm compiling a Word Document form Data which is inside my SQL database....
Everything goes allright...I can use...request.querystring, sessions, etc etc, inside the document.
Whenever I start creating a Query to get some information...and try to insert it in my document it fails...Is this a common issue??
<%@LANGUAGE="VBSCRIPT"%>
<%
' changes MIME Type to open as MS-Word document file type
Response.ContentType = "application/msword"
Response.AddHeader "Content-Disposition", "attachment;filename=Documentatiebrief.doc"
%>
-
Jan 28th, 2003, 10:40 AM
#2
Frenzied Member
Waht is a error message? How does it fail?
-
Jan 28th, 2003, 11:39 AM
#3
Black Cat
Is the output of your ASP valid Word doc format?
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|