##### Define > Databases

# Databases Overview

The Databases menu option is the eighth item in the Define menu. This option allows you to define a database for use by drop-down list and radio button field values and for database interfaces. Selecting the Database menu option opens the Database List dialog box

From this dialog you can edit or delete an existing database definition or add a new one.

## Reference Filter

This filter allows the user to display All, Unused, or Used objects in the List.

## Add

Clicking Add opens the Database Properties dialog box.

## Edit

Use the Edit button to modify existing databases. In order to edit a database, you must select one from the database list and click Edit. When this option is selected, the Database Properties dialog box will appear. You can then edit any item on this window.

## Copy

This option allows you to make a copy of a database. Click Copy and a confirmation message will appear.

- Click Yes to add a copy of the selected object to the database list.

- Click No to close the dialog box without making a copy of the database.

## Delete

Use delete to remove a Genesys Agent Scripting Database from the list.

In order to delete a Database, you must select a database from the database list and click Delete. A confirmation message will appear:

- Click No to cancel the delete.

- Click Yes to continue.

When you select Yes, Genesys Agent Scripting will first verify that the database to be deleted is not used anywhere in the system. If the database is not being used anywhere else, it will be deleted. However, if any other object references the database, you will not be able to delete it at this time and a message will appear.

- Click No to return to the Database List dialog box.

- Click Yes to open the Object Cross Reference dialog box.

You may select multiple databases to be deleted by holding the Shift key while selecting the databases.

Until all of the references are removed, you cannot delete the database. Double-clicking on each reference will take you to the selected object.