Hi,
I have a db driven page and am getting the following error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e10'
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
The area of code in question reads:
<%
set cmdMsg = Server.CreateObject("ADODB.Command")
cmdMsg.ActiveConnection = MM_cnTOforum_STRING
cmdMsg.CommandText = "UPDATE MESSAGES SET MSG_READ_COUNT = MSG_READ_COUNT + 1 WHERE MSG_ID = varID "
cmdMsg.CommandType = 1
cmdMsg.CommandTimeout = 0
cmdMsg.Prepared = true
cmdMsg.Execute()
%>
I know this error pertains to a missing or mistyped field name in the db, but everything is typed correctly.
Help!