Hi There, I'm currently inserting customers, invoices, credits into AccPac and whenever there are any problems with the data or if AccPac throws out an error messages, my code displays an generic error from my try catch statement:
Try...
Catch SqlExceptionErr As SystemException
MessageBox.Show("ACCPAR ERROR", "ACCPAC IE Customers Update", MessageBoxButtons.OK, _
MessageBoxIcon.Error, MessageBoxDefaultButton.Button1)
I then have to manually look for the error in the dataset or try to insert the line manually into AccPac to determine why my program fell over. Is there any way that the actual error message that is given by AccPac can be displayed via my code to the user? This will make pin pointing the error much more easy and save me lots of time.
Thanks in advance...
Try...
Catch SqlExceptionErr As SystemException
MessageBox.Show("ACCPAR ERROR", "ACCPAC IE Customers Update", MessageBoxButtons.OK, _
MessageBoxIcon.Error, MessageBoxDefaultButton.Button1)
I then have to manually look for the error in the dataset or try to insert the line manually into AccPac to determine why my program fell over. Is there any way that the actual error message that is given by AccPac can be displayed via my code to the user? This will make pin pointing the error much more easy and save me lots of time.
Thanks in advance...