I don't know if this'll help, but here's some code to show you where there condition 
should be :-

        'turn off error checking
        on error resume next

        'run a statement that may cause an error
        x = 1 / 0

        'check for an error
        if err.number <> 0 then
            response.write "Error"
        else
            response.write "Success"
        end if

        'turn error checking back on
        on error goto 0

So judging by your code you're expecting that an error may occur within these lines :-

        p_mese = Request.Form("p_mese")
        .
        .'Here coming others Request.Form
        .
        %>
        <% 'Here I am setting the DB connection
        Dim outpostDB
        Dim......
        Dim .......
        %>
        <%
        set outpostDB = Server.CreateObject("ADOBEDB.Connection")
        ....
        %>

Does that help at all?

Dan
www.diado.com
-----Original Message-----
From: Valter [mailto:[EMAIL PROTECTED]
Sent: 07 September 2004 10:06
To: [EMAIL PROTECTED]
Subject: [AspClassicAnyQuestionIsOk] Re: Another question..


thanks for your help....yet I can't make this script work.
I do really believe that my mistake is on where I am writing the if 
Err.number coz it isnt responding. I've tried to move that line 
before opening the DB connection....before creating the record 
set ...after that (and it is returning the error Do...without Loop)
after all this before closing the DB connection, after closing the Db 
connection. Nothing seems to work right...

Valter


Yahoo! Groups Sponsor
ADVERTISEMENT






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 the Yahoo! Terms of Service. 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/
 

Reply via email to