Not clear from your description exactly where the mismatch is coming, but
you might try...
Force the values to be what you expect them to be with Cint() or CStr()
Something like:
conn.webqry_insertDate_Source CStr(strReinDistance) , _
CStr(strRandr) , _
CStr(strA) & _
"_" & _
CStr(strB) , _
Cint(strSourceStockID)
Not sure about the formatting on that. Hope you get the idea.
"RICK" <RICK@xxxxxx> wrote in message
news:C638BE1C-6CC2-46A4-8173-95543125E6BB@xxxxxx
> Getting "Data type mismatch in criteria expression" with the following.
> strings are obtained with request.form("strReinDistance"), etc.
>
> Set rsDataOfIntroduction = server.createobject("adodb.recordset")
> conn.webqry_insertDate_Source strReinDistance, strRandr, strA & "_" &
> strB,
> strSourceStockID
>
> strSourceStockID is numeric.
>
> What is wrong,
>
> Thanks
>
>