I have a stored procedure that does a bulk insert and a number of other updates, what I need to do is return a value to an asp page that syas whether the process havs been successful or not! is this possible?
the problem I am getting is that the sp is erroring so the asp page just displays the error
Could not bulk insert. File 'c:\bulk\pos\us\ingram_micro\0502.csv' does not exist.
what I need to do is be able to return to the page a custom error from the sp, depending on when it errored. if I put on error resume next at the top of the page it gets rid of this but the asp
strSQL = ""&sp&" '"&filename&"' "
set disti=posconn.execute(strSQL)
------------DOESN't GET TO HERE??????-------------
disti.close
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.