No database is open or set as the current database (Error 1520)

You have attempted to perform an action which requires a database to be open and set as current.

Use the OPEN DATABASE or SET DATABASE TO commands, or select a database from the database drop-down list in the standard toolbar.