Getting the following error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e07'
[Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
/regions/webpages/HHSC_Voice_Consolidation/UpdateDelete.asp, line 15
My Code:
<%@LANGUAGE="VBSCRIPT"%>
<!--#include virtual="/regions/Connections/regional_personnel1.asp" -->
<%
Dim Recordset1__MMColParam
Recordset1__MMColParam = "1"
if (Request.QueryString("Select"
<> ""
then Recordset1__MMColParam = Request.QueryString("Select"
%>
<%
set Recordset1 = Server.CreateObject("ADODB.Recordset"
Recordset1.ActiveConnection = MM_regional_personnel1_STRING
Recordset1.Source = "SELECT * FROM HHSC_VoiceInventory WHERE region = '" & Session("region"
& "' ORDER BY city ASC"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 3
Recordset1.Open()
Recordset1_numRows = 0
%>
<%
Dim Repeat1__numRows
Repeat1__numRows = -1
Dim Repeat1__index
Repeat1__index = 0
Recordset1_numRows = Recordset1_numRows + Repeat1__numRows
%>
Microsoft OLE DB Provider for ODBC Drivers error '80040e07'
[Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
/regions/webpages/HHSC_Voice_Consolidation/UpdateDelete.asp, line 15
My Code:
<%@LANGUAGE="VBSCRIPT"%>
<!--#include virtual="/regions/Connections/regional_personnel1.asp" -->
<%
Dim Recordset1__MMColParam
Recordset1__MMColParam = "1"
if (Request.QueryString("Select"
%>
<%
set Recordset1 = Server.CreateObject("ADODB.Recordset"
Recordset1.ActiveConnection = MM_regional_personnel1_STRING
Recordset1.Source = "SELECT * FROM HHSC_VoiceInventory WHERE region = '" & Session("region"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 3
Recordset1.Open()
Recordset1_numRows = 0
%>
<%
Dim Repeat1__numRows
Repeat1__numRows = -1
Dim Repeat1__index
Repeat1__index = 0
Recordset1_numRows = Recordset1_numRows + Repeat1__numRows
%>