dawilis
09-01-2002, 01:49 AM
What is going wrong here
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E07)
[Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
/class/showvoucher.asp, line 15
7 set RSVoucher = Server.CreateObject("ADODB.Recordset")
8 'RSVoucher.ActiveConnection = MM_class_STRING
9 RSvoucher.ActiveConnection = dbdir
10 RSVoucher.Source = "SELECT * FROM voucher WHERE CatID ='" & Request.QueryString("cat") & "'"
11
12 RSVoucher.CursorType = 0
13 RSVoucher.CursorLocation = 2
14 RSVoucher.LockType = 3
15 RSVoucher.Open()
16 RSVoucher_numRows = 0
17 %>
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E07)
[Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
/class/showvoucher.asp, line 15
7 set RSVoucher = Server.CreateObject("ADODB.Recordset")
8 'RSVoucher.ActiveConnection = MM_class_STRING
9 RSvoucher.ActiveConnection = dbdir
10 RSVoucher.Source = "SELECT * FROM voucher WHERE CatID ='" & Request.QueryString("cat") & "'"
11
12 RSVoucher.CursorType = 0
13 RSVoucher.CursorLocation = 2
14 RSVoucher.LockType = 3
15 RSVoucher.Open()
16 RSVoucher_numRows = 0
17 %>