Forum Moderators: open
If there is an error in the excel file (too many chars, etc.) the routine crashes, and the system process stays open. I have go into the task manager and manually kill the process to end it, so the user can try again.
I need to know how to trap the errors using javascript and the following code:
CMD.ActiveConnection = SQLCONN;
CMD.CommandText = sqlDET;
CMD.Execute();
Would a try/catch work here? Can someone please post or mail the syntax for me?
Thanks!
As long as your file is pretty tabular in nature this will work good. If you need to access specific cells then it might be harder.