TOC: Connecting a Custom Table to an Existing Interaction | Adding a Custom Interaction to an Existing Metrix Database | Editing the Values in an Existing Lookup Table Associated with a Custom Table | Adding a Field to an Existing Custom Table | Deleting a Custom Table
Editing an Existing Interaction
See also:
Connecting a Custom Table to an Existing Interaction
Note: Only the Metrix Administrator is able to edit Interaction Definitions and link custom tables.
- Open Metrix with Metrix Administrative rights.
- Click Customize in the Navigation Menu.
- Click the edit link for the Interaction you want to associate with the custom table.
Figure: Selecting the Interaction for editing
- In the Edit Interaction Definition form, select the custom table or tables from the Tables to Use drop-down list.
There is no limit to the number of tables you can select. For more information on Interactions with multiple tables, see Building New Custom Tables for Interactions.
- In the lower portion of the form, open the Select the Module/Table drop-down list and select the custom table. Available Columns now lists the table's fields.
- Click a field name and then the Right arrow (>) to move it to the Columns to Display list. Don't choose pkey, Interaction ID, InteractionDefinitionID or ContactID; these can and should remain invisible to users. If you are attaching multiple tables, repeat this process for each one.
Figure: Editing the Interaction Definition
You can use the up and down arrows to arrange the columns in the order that you want.
- When you have added all the fields you wish to display on the form for this Interaction, press OK to save the Interaction Definition.
Back To Top
Adding a Custom Interaction to an Existing Metrix Database
- Create the custom data table structure in the Developer Module (devmodule130 ) and import it to interactsql.adp. For more information on these steps, see Building New Custom Tables for Interactions.
- Create a new Interaction Definition.
- Follow the steps in Connecting a Custom Table to an Existing Interaction above.
Back To Top
Editing the Values in an Existing Lookup Table Associated with a Custom Table
- Open Metrix with Metrix Administrator rights.
- Click on Customize in the Navigation Menu and then click Edit Value Lists.
The value lists are displayed in the Value List window.
- To isolate the custom lists, select the Custom radio button under Display Tables at the bottom of this form.
- Click the table name to highlight it.
The value list will appear in the Values in List (Change, Add and Delete) window.
Figure: Editing a value list
- Make the necessary changes, additions or deletions.
Note: Changes are finalized as they are made; there is no "Save" button.
Back To Top
Adding a Field to an Existing Custom Table
- Launch Metrix using the shift-bypass technique.
- Open the custom table in Design View.
- Add the new field. Double-check the data-type and field-length values.
Figure: Adding a field to a custom table
- Open tblInteractionModules and find the record for your custom table. Make a note of the value in the InteractModID column.
- Open tblInteractModColumns and add a record for the new field. Review the other records in the table for examples of the correct values. In the column InteractModID, use the value from tblInteractionModules.
Figure: Adding a field record to tblInteractModColumns
- Close Metrix.adp and open interactsql.adp .
- Go to the Forms tab in the database window. Open the corresponding custom form; it will have the prefix "frmUsetblCustom."
- Add a control for the new column to the form.
Figure: Adding the new field to the Interaction form
- If the Interaction is to be shown in Form View, make sure to adjust the Tab Order property of the form to accommodate the new field.
Back To Top
Deleting a Custom Table
 | Warning In interactsql.adp , the Manage Modules form gives you a listing of all the current custom tables in your database. You should delete a table only if it is not being used for any existing Interaction Definitions. You can see whether a table is associated with an Interaction by clicking on a custom table name, and viewing the Interaction Definitions associated with that table in the lower panel of the window. |
- Close Metrix.adp and openinteractsql.adp.
- In the Manage Modules form, click on the name of the custom table you wish to delete.
- Click Delete Custom Table.
Back To Top