You can simulate an error using the error statement
Error errornumber
So if you want to trap on an condition put this in an IF statement
if isnumeric() then Error 123
--
joel
------------------------------------------------------------------------
joel's Profile:
http://www.thecodecage.com/forumz/member.php?userid=229
View this thread:
http://www.thecodecage.com/forumz/sh...d.php?t=149399