View Single Post
  #1 (permalink)  
Old May 8th, 2006, 10:05 AM
michael1p michael1p is offline
Registered User
 
Join Date: May 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Wrong argument types

Hi im really new to this asp lark and wondered if anyone could give me some help. I keep getting ADODB.Recordset (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/MyWeb/inc_menu.asp, line 13.


<%
Dim CaseStudy__MMColParam
CaseStudy__MMColParam = "y"
If (Request("MM_EmptyValue") <> "") Then
  CaseStudy__MMColParam = Request("MM_EmptyValue")
End If
%>
<%
Dim CaseStudy
Dim CaseStudy_numRows

Set CaseStudy = Server.CreateObject("ADODB.Recordset")
CaseStudy.ActiveConnection = MM_AdminandIntra_STRING
CaseStudy.Source = "SELECT * FROM tblCaseStudy WHERE csFeatured = '" + Replace(CaseStudy__MMColParam, "'", "''") + "'"
CaseStudy.CursorType = 0
CaseStudy.CursorLocation = 2
CaseStudy.LockType = 1
CaseStudy.Open()

CaseStudy_numRows = 0

Reply With Quote