Error Messages/40278

< Error Messages
Revision as of 00:44, 28 January 2010 by AManandhar (talk | contribs) (Created page with '= Error Message Examples = In call to function ConvertToNum, a value passed to the first parameter, X, could not be coerced to type numeric. = Cause = You have called a func…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Error Message Examples

In call to function ConvertToNum, a value passed to the first parameter, X, could not be coerced to type numeric.

Cause

You have called a function by passing a parameter that cannot be coerced to the type the function is trying to coerce to.

If a function coerces passed values to a number, '1005' would be forced to 1005 while 'not a number' would trigger this error.

Remedies

Study the parameters the function expects and correct the parameter passed to the function to a value that can be coerced to the expected type.




You are not allowed to post comments.

Comments
<comments />