What is "data type conversion error ", I have this message in my program ?
Printable View
What is "data type conversion error ", I have this message in my program ?
It means that the type of the value you are trying to assign to a variable is not compatible with the type of the variable. That can happen if you try to assign for example a string to an integer like in the following example:
dim i as integer
i="hello"
Check the types of variables in any assignments in your program.
Nick A.
If your program is using a database I assume you are trying to put a value of the wrong type into one of the columns in a table
ie. trying to put a string value into a numeric field etc.
Yep, that must be the case. I was about to mention that.
Nick A.