I am doing a simple profile update webpage, I keep getting this error and can'y figure out how to fix it. I have included the code. The only field in my database that isn't a text field is my userid field which is an autoinumber field.
Microsoft OLE DB Provider for ODBC Drivers error '80040e07'
[Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
Userid = Request.Form("Uidfield")
strSQL = "SELECT * FROM users WHERE Uid='"& Userid &"';"
Set results = cnnEXDB.Execute(strSQL)
Any help with this would be greatly appreciated.