They probably did return an error, its up you to check for them though. For example in this line here:

Code:

DBConnOpen($objConn)



Might want to add error checking like this:

Code:

DBConnOpen($objConn)
If @ERROR
?"ERROR @ERROR : @SERROR"
Endif



-Shawn