I'm not 100% sure this will work with web queries, butif you use:On error Resume Nextprior to the call, you can then test the Error number:if (Err.Number <> 0) thento deal with errors.