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

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Error...Help Please..can't read topic.
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

prankmonkey
Starting Member

7 Posts

Posted - 12 May 2002 :  16:57:16  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:00:24

Edited by - prankmonkey on 12 May 2002 17:25:00

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 12 May 2002 :  17:35:36  Show Profile
is this forum releated?

good dam stop loggin me out

.:: Brother Beyond::.
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 12 May 2002 :  17:36:58  Show Profile
You only need to post once.

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=27946


======
Doug G
======
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.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07