Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Arguments are of the wrong type, are out of accept

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,818
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Arguments are of the wrong type, are out of accept
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Arguments are of the wrong type, are out of accept - 4/1/2003 11:51:04 AM   
  gcorlis

 

Posts: 2
Score: 0
Joined: 2/21/2003
From: USA
Status: offline
I continue to receive the above error when the following code executes.

function print_page_title()

strSQL = "SELECT Courses.CourseName FROM Courses WHERE Not Courses.CourseName Is Null"
set rsTmp = Server.CreateObject("ADODB.Recordset")
rsTmp.Open strSQL, fp_conn, 3, 1, &H0001

if rsTmp.RecordCount > 0 then
print_page_title = rsTmp("CourseName")
else
print_page_title = "Survey and assessment"
end if

rsTmp.close
set rsTmp = nothing

end function

I have the ado file included in the code so I don't believe that is the problem. (i.e. )
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Arguments are of the wrong type, are out of accept Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts