Function opendb
Writing functions:
opendb(x)
Where x is the variable name or string representing the database identifier (from the list of databases in the Tools < Databases menu).
This function opens the required database and provides access to all its features implemented in the script.