##### Define > Database Interfaces

# Database Interfaces Overview

The Database Interfaces menu option is the ninth item in the Define menu. The database interface allows you to set up connections to databases for Selecting, Updating, and Deleting rows of data. Selecting this option opens the Database Interface List dialog box.

From this dialog box you can edit and delete existing interfaces, as well as add new ones.

## Reference Filter

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

## Add

Clicking Add opens the Database Interface Properties dialog box.

## Edit

Use the Edit button to modify existing database interfaces. To edit a database interface, you must select one from the database interface list and click Edit. When this option is selected, the Database Interface 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 interface. Click Copy and a confirmation message will appear.

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

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

## Delete

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

To delete a Database Interface, the user must select a database interface from the database interface 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 interface to be deleted is not used anywhere in the system. If the database interface is not being used anywhere else, it will be deleted. However, if any other object references the database interface, you will not be able to delete it at this time and a message will appear.

- Click No to return to the Database Interface List.

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

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

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