I searched and found out that this solution is not possible
The whole idea is that I want Query when opening it, if there is internet, it opens a table, and if not, it opens another, exclusively when opening Query because the program is in another programming language and I do not have access to...