This statement is used to determine if a query database is open. The test state will be set to true if the database is open, otherwise false. The Query Database Modified named variable will be set as follows:
Click here for information on identifying an open database.
The special named variable Open Query Database Prefix will be set to the open database's prefix or the empty string.
The path may contain any of the escape sequences described in Escape Sequences.