LibreOffice 7.1 abi
This command opens the Relation Design window, which allows you to define relationships between various database tables.
Here you can link together tables from the current database through common data fields. Click the New Relation icon to create the relationships, or simply drag-and-drop with the mouse.
See funktsioon on ainult siis saadava, kui sa töötad relatsioonilise andmebaasiga.
When you choose Tools - Relationships, a window opens in which all the existing relationships between the tables of the current database are shown. If no relationships have been defined, or if you want to relate other tables of the database to each other, then click on the Add Tables icon. The Add Tables dialog opens in which you can select the tables with which to create a relation.
If the Relation Design window is open, the selected tables cannot be modified, even in Table Design mode. This ensures that tables are not changed while the relations are being created.
The selected tables are shown in the top area of the relation design view. You can close a table window through the context menu or with the Delete key.
If you want to define a relation among the various tables, you should enter a primary key that uniquely identifies a data field of an existing table. You can refer to the primary key from other tables to access the data of this table. All data fields referring to this primary key will be identified as a foreign key.
All data fields referring to a primary key will be identified in the table window by a small key symbol.
Relatsioonide aknas kuvatakse kĂ”ik olemasolevad relatsioonid joontena, mis ĂŒhendavad esmaseid ja muid vĂ”tmevĂ€lju. Relatsiooni lisamiseks lohista ĂŒhe tabeli vĂ€li teise tabeli vĂ€ljale. Relatsiooni eemaldamiseks tuleb relatsioon valida ja siis vajutada kustutusklahvi (Delete).
Teine vĂ”imalus relatsiooni luua on klĂ”psata relatsioonivĂ€lja ĂŒlaosas ikoonil Uus relatsioon ja mÀÀratleda kahe tabeli vaheline relatsioon dialoogis >Relatsioonid.
Kui LibreOffice'it kasutatakse relatsioonilise andmebaasi kasutajaliidesena, ei talleta LibreOffice relatsioonide loomist ja kustutamist vahemÀlus, vaid edastab need toimingud otse vÀlisele andmebaasile.
Ăhendusjoonel topeltklĂ”psu tehes saab relatsioonile teatud omadusi mÀÀrata. Avaneb dialoog Relatsioonid.