I am trying to add a timeout option in SQLDatabaseMBS plugin but I cannot find anything working.
I tried solutions given in a closed thread but none if it is working.
I also tried the native SQLDatabase from xojo but this one throws about a bug with big nvarchar values.
Thank you in advance.
Well, the answer is: There is no timeout with Microsoft.
What you can do is use ConnectMT in a thread.
If it takes too long, you set a flag on the thread to ignore the result.
This way your GUI can proceed as if there was a timeout after some seconds and then the thread terminates after a minute or so in the background.