Thanks for the coding, it worked perfectly and I am now able to debug it a
lot easier.
> Try changing this:
>
> > If err.number>0 then
> > response.write "An Error has occurred, you may have tried to place
> > text in the Donated Number field. Please try again, if the problem
> > persists contact the <A HREF='mailto:dbonline@h...?
subject=Error
> > message additem'> administrator </A>"
> > response.write "<BR><BR><A HREF='main.asp'>Return to main</A>"
> > else
> > response.redirect "main.asp"
> > end if ' this is the error message i keep getting
> >
>
> to this (the response.write's will give you the info you need for
trouble-
> shooting):
>
> IF err <> 0 THEN 'err can be positive or negative
> RESPONSE.WRITE "VBS Error Number: " & err.number & <br>
> RESPONSE.WRITE "VBS Error Description: " & err.description & "<br>"
> RESPONSE.WRITE "ADO Error Number: " & objConnection.errors(0).number
> & "<br>"
> RESPONSE.WRITE "ADO Error Description: " & objConnection.errors
> (0).description & "<br>"
> else
> response.redirect "main.asp"
> end if