Relations /text/sdatabase/05020000.xhp

Relations

relational databases (Base) mw added "(Base)" 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.
This function is only available if you are working with a relational database. 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. primary keys;inserting (Base) keys;primary keys (Base) external keys (Base) mw added "(Base)" to all entries

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. All data fields referring to a primary key will be identified in the table window by a small key symbol.

Define relations

relations; creating and deleting (Base) mw added "(Base)" 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. Alternatively, you can also click the New Relation icon in the top area of the relation field and define the relation between two tables in the Relations dialog. If you use $[officename] as the front-end for a relational database, the creation and deletion of relationships is not placed in an intermediate memory by $[officename], but is forwarded directly to the database. By double-clicking a connection line, you can assign certain properties to the relation. The Relations dialog opens.
v-6.1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/drawinglayer/source/drawinglayeruno
AgeCommit message (Expand)Author
2021-07-31drawinglayer: extract Prop. Value conversion from ViewInformation2DTomaž Vajngerl
2021-06-04sw HTML export: fix pixel size of shapesMiklos Vajna
2021-05-11drawinglayer: move converter.hxx to public includeTomaž Vajngerl
2020-07-07drawinglayer: create instances with uno constructorsNoel Grandin
2020-05-08compact namespace in dbaccess..dtransNoel Grandin
2020-01-31new loplugin:namespaceindentationNoel Grandin
2020-01-20clang-tidy modernize-concat-nested-namespace in drawinglayerNoel Grandin
2019-12-19sal_Char->char in desktop..dtransNoel Grandin
2019-11-22Extend loplugin:external to warn about classesStephan Bergmann
2019-11-22tdf#42949 Fix IWYU warnings in drawinglayer/Gabor Kelemen
2019-08-17tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctorJulien Nabet
2019-07-31Improved loplugin:stringconstant (now that GCC 7 supports it): drawinglayerStephan Bergmann