Product Family: Act!
Product: Act! Premium Plus
Note: Custom table fields cannot be managed from within a remote database or offline client
You can associate the records of one custom table with the records of another custom table by creating a parent/child relationship between them using a custom table field. For example, if you work in a support environment, you could create a custom table to store your customer’s support contracts, then you could create another custom table to store support tickets. Once these are created, you could relate the two tables together, so that all of your support tickets for an individual will appear under their support contract.
To do this, the Support Contract table would be considered the “parent table”, and the Support Tickets table would be the “child table”.
Using the example above, you can relate the custom tables by following the steps below:
- Login to the database as an Administrator or Manager level user
- Click Custom Tables > Manage Custom Tables
- From the Load Table drop-down, select the table that you intend to become the child table in the relationship
- Click Create Field, and create a new character field that will be used to link the child and parent tables together. Give the field a name that matches the parent table’s name (recommended), and ensure that the Field Length setting is at least 36 characters (required). For information about creating custom table fields, refer to the following knowledgebase article:
How to create and manage custom table fields
- Add the new field to the child table’s layout. For information about how to add fields to a custom table layout, refer to the following knowledgebase article:
How to create and manage custom table layouts
- Ensure the child table is still the selected table in the Load Table drop-down
- Under Table Management, click Manage Parent Tables
- In the Manage Parent Tables window, under Configure Parent tables, click Add Parent Link
- Select the appropriate parent table, then click Next
- Select the link field that was created in steps 4-8, then click Next
- Click Next again to establish the relationship, then click Finish, then click Close on the Manage Parent Tables window and return to the main Manage Custom Tables screen
- Ensure the parent table is still selected, then click Design Layouts
- Ensure the desired layout is selected, then click Edit Layout
- From the Properties Window, drag “[child table name] records” over to the layout. For example, if your child table’s name is “Support Tickets”, look for “Support Tickets records”
- Click OK on the layout to save changes, then click Close to return to the main Manage Custom Tables screen
Once the relationship has been created and the child table records have been added to the parent table layout, you’ll be able to view all the child records associated with that parent record.