Erlazioak

Komando honek Erlazio-diseinua leihoa irekitzen du. Hor datu-baseen hainbat taulen arteko erlazioak defini ditzakezu.

Hor uneko datu-baseko taulak estekatu ditzakezu datu-eremu arrunten bidez. Erlazioak sortzeko, Egin klik Erlazio berria ikonoan edo egin “arrastatu eta jaregin” sagua erabiliz.

Komando hau erabiltzeko...

Datu-baseen fitxategi-leihoan, aukeratu Tresnak - Erlazioak.


Ohar-ikonoa

Datu-base erlazionalarekin lanean ari bazara bakarrik egongo da erabilgarri funtzio hau.


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.

Ikonoa

Taulak txertatu

Ohar-ikonoa

Erlazio-diseinua leihoa irekitzen bada, hautatutako taulak ezingo dira aldatu, ezta taula-diseinua moduan ere. Horrek honako hau bermatzen du: taulak ezingo dira aldatu erlazioak sortzen ari diren bitartean.


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.

Lekuz aldatu taula eta aldatu bere tamaina

Zure hobespenen arabera, tamainaz aldatu eta antolatu egin ditzakezu taulak. Taulak lekuz aldatzeko, arrastatu goiko ertza nahi duzun kokalekura. Handitu edo txikitu taularen tamaina saguaren kurtsorea ertzean edo izkinan kokatuz, eta ondoren, arrastatu taula nahi duzun tamaina eman arte.

Primary key and foreign keys

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.

Lehen mailako gakoari dagozkion datu-eremu guztiak giltza txiki baten bidez identifikatuko dira taulan.

Erlazioak definitzea

All existing relations are shown in the relations windows by a line that connects the primary and foreign key fields. You can add a relation by using drag-and-drop to drop the field of one table onto the field of the other table. A relation is removed again by selecting it and pressing the Delete key.

Bestela, egin klik erlazio-eremuaren goiko areako Erlazio berria ikonoan eta zehaztu bi taulen arteko erlazioa Erlazioak elkarrizketa-koadroan.

Ikonoa

Erlazio berria

Abisu-ikonoa

If you use LibreOfficeDev as the front-end for a relational database, the creation and deletion of relationships is not placed in an intermediate memory by LibreOfficeDev, but is forwarded directly to the database.


Lotura-marran klik bikoitza eginez, erlazioari propietate batzuk esleitu ahal izango zaizkio. Erlazioak elkarrizketa-koadroa irekiko da.