Ah, now we know that you are executing the pieces of code on a web server.
As you are testing/developping your application, nothing forbid you to add
the value of strSQL to the output of HTML code; for example with:
Response.Write sqlString & "<br>"
' Uncomment the following line to stop the execution of the rest of the
If your sqlString has special characters, you can choose to encode it:
Response.Write Server.HTMLEncode (sqlString) & "<br>"
With some IDEs like Visual Studio, Visual Interdev or Visual Studio.NET,
it's possible to put the web site into debug mode; even sometimes when the
web site is not local. Of course, this is all a configuration problem and I
don't know what your situation is for this web site.
Finally, for classic ASP, a better newsgroup to post this kind of question
would have be:
m.p.inetsdk.programming.scripting.vbscript could also be of interest to you.
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: sylvain aei ca (fill the blanks, no spam please)