Treat it as a long to be on the safe side. As a rule, I save it off to a long variable and use the variable. At best, Err.Number is an Unsigned integer (as indicated by VBScript docs). At worst, it is a Long - as identified by the fact that it can contain an SCODE.
HTH, Tore. -----Original Message----- From: rhino [mailto:[EMAIL PROTECTED]] Sent: Friday, August 02, 2002 11:43 AM To: ActiveServerPages Subject: Err.Number ?? I have come into contact with a block of code that catches what is returned from Err.Number through a Case statement. Basically, I've learned that if something is expecting an integer and you put in 857437393, the error code returned is "Must be -32,768 to 32,767," which is apparently Err.Number 2. I believe this is a standard integer error, is it not? If it is, where can I find a list of errors returned from err.number? thanks --- You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --- You are currently subscribed to activeserverpages as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
