Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Application uses a value of the wrong type for the current operation 1

Status
Not open for further replies.

hyperbug

Programmer
Aug 10, 2001
25
ES
Error:
ADODB.Command '800a0d5d'
Application uses a value of the wrong type for the current operation.

I'am calling a stored procedure with parameters. But in this line I'm receiving that error:

Set parm = cmd.createParameter("@Preg68", adVarChar, adParamInput, 1024, Survey.item("preg68"))

Survey is a dictionary object, its item("preg68") contains data taken from a form textarea. It usually works fine.
I don't know what kind of data it received that it crashed.
Thank you by your help.
 
If u use SQL be shure to seek and replace ' with '' cuz in texearea u could put anny character... ________

George
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top