Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Grrrr. Recieving this error..Can't view posts
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

prankmonkey
Starting Member

7 Posts

Posted - 12 May 2002 :  17:00:50  Show Profile
Hi Im receiving this error:

Error Type:
ADODB.Recordset (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/crzychinaman/forum/inc_functions.asp, line 1790

Line 1790 on inc_functions.asp is:

rsGetMemberID.open strSql, my_Conn

code around it is :

function getNewMemberNumber()
'## Forum_SQL
strSql = "SELECT " & strMemberTablePrefix & "MEMBERS.MEMBER_ID "
strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS "
strSql = strSql & " WHERE " & strDBNTSQLName & " = '" & ChkString(strDBNTUserName, "SQLString") & "'"

Set rsGetMemberID = Server.CreateObject("ADODB.Recordset")
rsGetMemberID.open strSql, my_Conn

if rsGetMemberID.EOF or rsGetMemberID.BOF then
getNewMemberNumber = -1
rsGetMemberID.close
set rsGetMemberID = nothing
exit function
end if

getNewMemberNumber = rsGetMemberID("MEMBER_ID")

rsGetMemberID.close
set rsGetMemberID = nothing

end function

Please help me.....





Edited by - prankmonkey on 12 May 2002 17:42:08

prankmonkey
Starting Member

7 Posts

Posted - 12 May 2002 :  18:01:50  Show Profile
I just replaced the topic.asp with the original and everything works fine..

This was a problem with the events mod....Thanks for you help

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07