Hi,
I've been using the RDC tool with great success. My one problem is how to trap and display the error message that gets displayed on the server when there is a problem with the SQL command being run.
Currently I have:
But when there is an SQL problem I just get "Server Error" as Job.ErrorMessage.
Is there another property that I can use to display the SQL error?
I've been using the RDC tool with great success. My one problem is how to trap and display the error message that gets displayed on the server when there is a problem with the SQL command being run.
Currently I have:
B4X:
Sub JobDone(Job As HttpJob)
If Job.Success = False Then
Log("Error: " & Job.ErrorMessage)
Msgbox("Error: " & Job.ErrorMessage, "Unable to query Remote Database")
Else
But when there is an SQL problem I just get "Server Error" as Job.ErrorMessage.
Is there another property that I can use to display the SQL error?