K
Kevin Audleman
I am trying to pass a text string into a stored procedure via a
parameter, and am getting this baffling error while trying to create
one of the parameters:
adErrDataConversion 3421 You are using a value of the wrong type for
the current operation.
I know for sure that the data type I've selected is correct. The code
looks like this:
Set plsShare = cmd.CreateParameter("@shareIdeas", adVarChar,
adParamInput, 500, trim(Request("Please share your ideas")))
The crazy thing is that it only throws this error 1/20 times the
procedure is submitted. The last time it failed, the text string passed
in was:
always share a brief inspirational reading/statistic at beginning or
end of the class and establish a theme around which you teach your
material. Everything has a story.
Does anybody have insight into this error? A big thank you for anyone
who can solve this. It's been baffling me for a month!!
Thank you,
Kevin
parameter, and am getting this baffling error while trying to create
one of the parameters:
adErrDataConversion 3421 You are using a value of the wrong type for
the current operation.
I know for sure that the data type I've selected is correct. The code
looks like this:
Set plsShare = cmd.CreateParameter("@shareIdeas", adVarChar,
adParamInput, 500, trim(Request("Please share your ideas")))
The crazy thing is that it only throws this error 1/20 times the
procedure is submitted. The last time it failed, the text string passed
in was:
always share a brief inspirational reading/statistic at beginning or
end of the class and establish a theme around which you teach your
material. Everything has a story.
Does anybody have insight into this error? A big thank you for anyone
who can solve this. It's been baffling me for a month!!
Thank you,
Kevin