1<?xml version="1.0" encoding="UTF-8"?>
2
3
4<!--***********************************************************
5 *
6 * Licensed to the Apache Software Foundation (ASF) under one
7 * or more contributor license agreements.  See the NOTICE file
8 * distributed with this work for additional information
9 * regarding copyright ownership.  The ASF licenses this file
10 * to you under the Apache License, Version 2.0 (the
11 * "License"); you may not use this file except in compliance
12 * with the License.  You may obtain a copy of the License at
13 *
14 *   http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing,
17 * software distributed under the License is distributed on an
18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19 * KIND, either express or implied.  See the License for the
20 * specific language governing permissions and limitations
21 * under the License.
22 *
23 ***********************************************************-->
24
25
26
27
28
29<helpdocument version="1.0">
30<meta>
31<topic id="textsharedexplorerdatabase05010000xml" indexer="exclude" status="PUBLISH">
32<title id="tit" xml-lang="en-US">Table Design</title>
33<filename>/text/shared/explorer/database/05010000.xhp</filename>
34</topic>
35<history>
36<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
37<lastedited date="2006-01-17T14:54:32">converted from old format - fpe</lastedited>
38</history>
39</meta>
40<body>
41<section id="tabellenentwurf">
42<paragraph role="heading" id="hd_id3154228" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/shared/explorer/database/05010000.xhp" name="Table Design">Table Design</link></paragraph>
43<paragraph role="paragraph" id="par_id3152363" xml-lang="en-US" l10n="U" oldref="2">In the <emph>Table Design</emph> window you define new tables or edit the structure of a table.</paragraph>
44</section>
45<section id="howtoget">
46  <embed href="text/shared/00/00000450.xhp#tabellenentwurf"/>
47</section>
48<embed href="text/shared/guide/database_main.xhp#database_main"/>
49<embed href="text/shared/guide/data_tabledefine.xhp#data_tabledefine"/>
50<paragraph role="paragraph" id="par_id3146957" xml-lang="en-US" l10n="U" oldref="3">The window has its own menu bar. It also contains the following new command: <link href="text/shared/explorer/database/05010100.xhp" name="Index Design"><emph>Index Design</emph></link></paragraph>
51<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TABDESIGN_BACKGROUND" id="bm_id3147088" localize="false"/>
52<paragraph role="heading" id="hd_id3152551" xml-lang="en-US" level="2" l10n="U" oldref="4">Table definition area</paragraph>
53<paragraph role="paragraph" id="par_id3153681" xml-lang="en-US" l10n="U" oldref="5"><ahelp hid="HID_TABDESIGN_BACKGROUND">This area is where you define the table structure.</ahelp></paragraph>
54<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TABDESIGN_NAMECELL" id="bm_id3145382" localize="false"/>
55<paragraph role="heading" id="hd_id3153031" xml-lang="en-US" level="3" l10n="U" oldref="6">Field Name</paragraph>
56<paragraph role="paragraph" id="par_id3156113" xml-lang="en-US" l10n="U" oldref="7"><ahelp hid="HID_TABDESIGN_NAMECELL">Specifies the name of the data field. Note the database restrictions, such as the length of the name, special characters and spaces.</ahelp></paragraph>
57<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TABDESIGN_TYPECELL" id="bm_id3148473" localize="false"/>
58<paragraph role="heading" id="hd_id3147618" xml-lang="en-US" level="3" l10n="U" oldref="8">Field type</paragraph>
59<paragraph role="paragraph" id="par_id3154897" xml-lang="en-US" l10n="U" oldref="9"><ahelp hid="HID_TABDESIGN_TYPECELL">Specifies the field type.</ahelp></paragraph>
60<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TABDESIGN_COMMENTCELL" id="bm_id3149233" localize="false"/>
61<paragraph role="heading" id="hd_id3156119" xml-lang="en-US" level="3" l10n="U" oldref="10">Description</paragraph>
62<paragraph role="paragraph" id="par_id3145315" xml-lang="en-US" l10n="U" oldref="11"><ahelp hid="HID_TABDESIGN_COMMENTCELL">Specifies an optional description.</ahelp></paragraph>
63<paragraph role="paragraph" id="par_id3155630" xml-lang="en-US" l10n="U" oldref="12">The row headers contain the following context menu commands:</paragraph>
64<paragraph role="heading" id="hd_id3156330" xml-lang="en-US" level="3" l10n="U" oldref="13">Cut</paragraph>
65<paragraph role="paragraph" id="par_id3159157" xml-lang="en-US" l10n="U" oldref="14">Cuts the selected row to the clipboard.</paragraph>
66<paragraph role="heading" id="hd_id3159177" xml-lang="en-US" level="3" l10n="U" oldref="15">Copy</paragraph>
67<paragraph role="paragraph" id="par_id3148685" xml-lang="en-US" l10n="U" oldref="16">Copies the selected row to the clipboard.</paragraph>
68<paragraph role="heading" id="hd_id3156327" xml-lang="en-US" level="3" l10n="U" oldref="17">Paste</paragraph>
69<paragraph role="paragraph" id="par_id3152472" xml-lang="en-US" l10n="U" oldref="18">Pastes the content of the clipboard.</paragraph>
70<paragraph role="heading" id="hd_id3144511" xml-lang="en-US" level="3" l10n="U" oldref="19">Delete</paragraph>
71<paragraph role="paragraph" id="par_id3148550" xml-lang="en-US" l10n="U" oldref="20"><ahelp hid=".uno:Delete">Deletes the selected row.</ahelp></paragraph>
72<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TABLEDESIGN_INSERTROWS" id="bm_id3159414" localize="false"/>
73<paragraph role="heading" id="hd_id3147303" xml-lang="en-US" level="3" l10n="U" oldref="21">Insert Rows</paragraph>
74<paragraph role="paragraph" id="par_id3149456" xml-lang="en-US" l10n="CHG" oldref="22"><ahelp hid="SID_TABLEDESIGN_INSERTROWS">Inserts an empty row above the current row, if the table has not been saved. Inserts an empty row at the end of the table if the table has been saved.</ahelp></paragraph>
75<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TABLEDESIGN_TABED_PRIMARYKEY" id="bm_id3150791" localize="false"/>
76<paragraph role="heading" id="hd_id3153524" xml-lang="en-US" level="3" l10n="U" oldref="23">Primary Key</paragraph>
77<paragraph role="paragraph" id="par_id3150398" xml-lang="en-US" l10n="U" oldref="24"><ahelp hid="SID_TABLEDESIGN_TABED_PRIMARYKEY">If this command has a check mark, the data field in this line is a primary key.</ahelp> By clicking the command you activate/deactivate the status. The command is only visible if the data source supports primary keys.</paragraph>
78<paragraph role="heading" id="hd_id3153104" xml-lang="en-US" level="2" l10n="U" oldref="25">Field properties</paragraph>
79<paragraph role="paragraph" id="par_id3148922" xml-lang="en-US" l10n="U" oldref="26">Defines the field properties of the currently selected field.</paragraph>
80<paragraph role="heading" id="hd_id3150767" xml-lang="en-US" level="3" l10n="U" oldref="27">Length</paragraph>
81<paragraph role="paragraph" id="par_id3144761" xml-lang="en-US" l10n="U" oldref="28">Specifies the length of the data field.</paragraph>
82<paragraph role="heading" id="hd_id3154948" xml-lang="en-US" level="3" l10n="U" oldref="29">Decimal places</paragraph>
83<paragraph role="paragraph" id="par_id3149203" xml-lang="en-US" l10n="U" oldref="30">Specifies the number of decimal places for a numerical field or decimal field.</paragraph>
84<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TAB_ENT_DEFAULT" id="bm_id3158410" localize="false"/>
85<paragraph role="heading" id="hd_id3156422" xml-lang="en-US" level="3" l10n="U" oldref="31">Default value</paragraph>
86<paragraph role="paragraph" id="par_id3125863" xml-lang="en-US" l10n="U" oldref="32"><ahelp hid="HID_TAB_ENT_DEFAULT">Specifies the value that is the default in new data records.</ahelp></paragraph>
87<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TAB_ENT_FORMAT_SAMPLE" id="bm_id3149562" localize="false"/>
88<paragraph role="heading" id="hd_id3147289" xml-lang="en-US" level="3" l10n="U" oldref="33">Format example</paragraph>
89<paragraph role="paragraph" id="par_id3155131" xml-lang="en-US" l10n="U" oldref="34"><ahelp hid="HID_TAB_ENT_FORMAT_SAMPLE">Displays the format code that you can select with the<emph> ... </emph>button.</ahelp></paragraph>
90<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TAB_ENT_FORMAT" id="bm_id3147319" localize="false"/>
91<paragraph role="heading" id="hd_id3154129" xml-lang="en-US" level="3" l10n="U" oldref="35">...</paragraph>
92<paragraph role="paragraph" id="par_id3154146" xml-lang="en-US" l10n="U" oldref="36"><ahelp hid="HID_TAB_ENT_FORMAT">This button opens the <link href="text/shared/01/05340405.xhp" name="Field Format"><emph>Field Format</emph></link> dialog.</ahelp></paragraph>
93<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TABLE_DESIGN_HELP_WINDOW" id="bm_id3152941" localize="false"/>
94<paragraph role="heading" id="hd_id3152576" xml-lang="en-US" level="2" l10n="U" oldref="37">Help area</paragraph>
95<paragraph role="paragraph" id="par_id3150685" xml-lang="en-US" l10n="U" oldref="38"><ahelp hid="HID_TABLE_DESIGN_HELP_WINDOW">Displays help texts.</ahelp></paragraph>
96</body>
97</helpdocument>
98