# Is Query Database Open

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:

empty
  The query database is not open.
0
  The query database has not been modified.
1
  The query database has been modified.

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.