# Is Database Open

This function is used to determine if a specified database is open.

The path may contain any of the escape sequences described in Escape Sequences. At runtime, the path to a database must be absolute (/) or relative to the home folder (~/) and must have a filename extension of .csv, .tsv or .tab.

The action test state will be set to true if the database is open, otherwise false. If the database is open, the Database Status named variable may contain the following codes:

T
  The associated database is a Track database.
A
  The associated database is an Album database.
S
  The associated database is a standalone database.
G
  The associated database is currently grabbed. ie. it is associated with a query database.
B
  The associated database is busy. It is performing a lengthy operation or has a displayed sheet.
K
  The associated database is key. ie. it is the window with focus.
M
  The associated database has unsaved changes. ie. it has been modified.