My PB17 program is connecting to a MySQL server over the Internet (through an SSH tunnel for relative safety). I'm testing what happens when the Internet goes down.
There is a place where it is doing an embedded SQL statement (an Update). We test sqlca.sqlcode after that, and if it is not 0 (i.e. it failed) we put up a message and give the user an option to reconnect. However, it seems that PB is also putting up its own messagebox, as follows:
Any idea how to prevent that? It's certainly not something we coded. And it really doesn't seem as if anything else in our program could be trying to do something at the same time - this action is in a timer (to check and mark that we are still connected, once a minute) and it's the only thing happening right then.
The transaction object we are using is our own inherited version, but all that is in its dberror event is setting a couple of instance variables.
Thanks.