Hi all,
I want to make sure numberofQuoted is integer before processing. So I use the following function to make sure that the white spaces will be trimmed before it passes to CInt. It likes this CInt(Trim(Request("numberofQuoted"))).
But very intertesting thing is: one out of one hundred there is an error message stated that:
COM Error #: -2146828275 (800A000D)
* Category: Microsoft VBScript runtime
Line, Column:108, -1
Description: Type mismatch: 'CInt'
It's pointing to the line as follow:
CInt(Trim(Request("numberofQuoted")))
Just wondering how does that happen, why is just so random.
Thank you.
Betty
I want to make sure numberofQuoted is integer before processing. So I use the following function to make sure that the white spaces will be trimmed before it passes to CInt. It likes this CInt(Trim(Request("numberofQuoted"))).
But very intertesting thing is: one out of one hundred there is an error message stated that:
COM Error #: -2146828275 (800A000D)
* Category: Microsoft VBScript runtime
Line, Column:108, -1
Description: Type mismatch: 'CInt'
It's pointing to the line as follow:
CInt(Trim(Request("numberofQuoted")))
Just wondering how does that happen, why is just so random.
Thank you.
Betty