I use: If Err.Description = "" Then
Perhaps if you use greater than: if Err.number > 0 then
--- Valter <[EMAIL PROTECTED]> wrote:
> first and foremost I like to thank you all guys for your help.
> Now, this is another trouble I 've encountered. I am using
> On Error Resume Next to avoid user to get an error message, also I
> would like to use
> if Err.number = 0 then
> else
> to be able to create options in case of errors..
> eg:
> if Err.number = 0 then
> <% set outpostDB = Server.CreateObject("ADODB.Connectio")
>
> ......
>
> <% else %>
>
> Sorry something wrong
>
> <% end if %>
>
> I've tryed but it doesn't seem to work
> Actually, I didn't really understood where to place the beginning of
> the if statement.
>
> Anybody can post me some good advice? I would really appreciate that
>
> Thanks
> Valter
>
>
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/