Print Page | Close Window

Variable uses an Automation type not supp

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=4124
Printed Date: 30 March 2026 at 10:07am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Variable uses an Automation type not supp
Posted By: ngaisteve1
Subject: Variable uses an Automation type not supp
Date Posted: 08 July 2003 at 2:10am

I got this error mesg:

Variable uses an Automation type not supported in VBScript

Using response.end method, this is the code:
response.write "<td>" & rs("dateyy_requested") & "/" & Right("0" & rs("datemm_requested"),2) & "/" & Right("0" & rs ("datedd_requested"),2) & "</td>"

Anyone knows how to fix this?




Replies:
Posted By: MorningZ
Date Posted: 08 July 2003 at 5:48am

First: the error reporting should tell you what line this happened on, not sure why the need for a Response.End was warranted

Second: i notice in the last part:
Right("0" & rs ("datedd_requested"),2)

loose the space between rs and ("datedd_requested") to try to beat the error
& Right("0" & rs("datedd_requested"),2)



-------------
Contribute to the working anarchy we fondly call the Internet


Posted By: ngaisteve1
Date Posted: 08 July 2003 at 9:12pm

yeah ah. i thought the line no include those inc file but it is not. I have loose the space but still the same.



Posted By: MorningZ
Date Posted: 09 July 2003 at 7:26am

if you take the exact error in google groups.... you can usually find people that have had the same exact problem, and respective answers on how to get it fixed and what to look for...

for example:
http://groups.google.com/groups?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=Variable+uses+an+Automation+type+not+supported+in+VBscript - http://groups.google.com/groups?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=Variable+uses+an+Automation+type+not+supported+in+VBScript



-------------
Contribute to the working anarchy we fondly call the Internet



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net