---
title: Relations between tables
project: Tables
version: 7.0
section: guides
language: en
translation: missing
license: Total.js Enterprise
url: https://totaljs.es/docs/de/tables/7-0/guides/relations/
updated: 2026-11-20T06:39:57.622Z
---

# Relations between tables

> Link a record to a record of another table with a column of the type Table.

A relation links two tables. For example, each order belongs to one customer. You create it with a column of the type **Table** in the table that points to the other one.

## Create a relation

1. Open the settings of the table that holds the link, for example *Orders*.
2. In the **Columns** tab, click **Add**.
3. Choose the type **Table**.
4. In **Table**, choose the table to link to, for example *Customers*.
5. Enter the **Name**, for example `Customer`.
6. Click **SUBMIT** in the column window and in the table form.

In the list of orders, the **Customer** column shows the name of the linked customer. In the detail of an order, you choose the customer from a list.

## Options of a relation

- **Render items in all related tables**: decides how the linked records appear in the detail of the other table. With **As list**, the detail of a customer shows a panel with the customer's orders.
- **Show link button**: adds **Show more** under the value in the detail. Click it to open the linked record.
- **Filter by**: limits which records can be chosen.

![The detail of a customer with the panel of its orders](/files/JasslK2ov61f.webp)

## See the relations

**Options** > **Toggle diagram** shows all the tables and their relations. See [Diagram](../diagram/).
