merge the formfield patch from ooo-build
[ooovba.git] / helpcontent2 / source / text / shared / explorer / database / tablewizard02.xhp
blobe985d2219c2420ec0ad37d4085f66deb292a642d
1 <?xml version="1.0" encoding="UTF-8"?>
5 <!--
6 ***********************************************************************
8 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
9 *
10 * Copyright 2008 by Sun Microsystems, Inc.
12 * OpenOffice.org - a multi-platform office productivity suite
14 * $RCSfile: tablewizard02.xhp,v $
15 * $Revision: 1.11 $
17 * This file is part of OpenOffice.org.
19 * OpenOffice.org is free software: you can redistribute it and/or modify
20 * it under the terms of the GNU Lesser General Public License version 3
21 * only, as published by the Free Software Foundation.
23 * OpenOffice.org is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 * GNU Lesser General Public License version 3 for more details
27 * (a copy is included in the LICENSE file that accompanied this code).
29 * You should have received a copy of the GNU Lesser General Public License
30 * version 3 along with OpenOffice.org. If not, see
31 * <http://www.openoffice.org/license.html>
32 * for a copy of the LGPLv3 License.
34 ************************************************************************
35 -->
38 <helpdocument version="1.0">
39 <meta>
40 <topic id="textsharedexplorerdatabasetablewizard02xml" indexer="include" status="PUBLISH">
41 <title id="tit" xml-lang="en-US">Table Wizard - Set Types and Formats</title>
42 <filename>/text/shared/explorer/database/tablewizard02.xhp</filename>
43 </topic>
44 </meta>
45 <body>
46 <section id="settype">
47 <paragraph role="heading" id="par_idN10552" xml-lang="en-US" level="1" l10n="CHG"><link href="text/shared/explorer/database/tablewizard02.xhp">Table Wizard - Set Types and Formats</link></paragraph>
48 <paragraph role="paragraph" id="par_idN10562" xml-lang="en-US" l10n="NEW">Specifies the field information for your selected fields.</paragraph>
49 </section>
50 <bookmark xml-lang="en-US" branch="hid/HID_DLGTABLE_LB_SELFIELDNAMES" id="bm_id5365764" localize="false"/><paragraph role="heading" id="par_idN10565" xml-lang="en-US" level="2" l10n="NEW">Selected fields</paragraph>
51 <paragraph role="paragraph" id="par_idN10569" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Select a field in order to edit the field information.</ahelp></paragraph>
52 <embed href="text/shared/autopi/01090100.xhp#updown"/>
53 <bookmark xml-lang="en-US" branch="hid/HID_DLGTABLE_CMDMINUS" id="bm_id8947111.00000001" localize="false"/><paragraph role="heading" id="par_idN10574" xml-lang="en-US" level="3" l10n="NEW">-</paragraph>
54 <paragraph role="paragraph" id="par_idN10578" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Remove the selected field from the list box.</ahelp></paragraph>
55 <bookmark xml-lang="en-US" branch="hid/HID_DLGTABLE_CMDPLUS" id="bm_id7230140" localize="false"/><paragraph role="heading" id="par_idN1057B" xml-lang="en-US" level="3" l10n="NEW">+</paragraph>
56 <paragraph role="paragraph" id="par_idN1057F" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Add a new data field to the list box.</ahelp></paragraph>
57 <paragraph role="heading" id="par_idN10582" xml-lang="en-US" level="2" l10n="NEW">Field information</paragraph>
58 <bookmark xml-lang="en-US" branch="hid/HID_DLGTABLE_COLNAME" id="bm_id1665089" localize="false"/><paragraph role="heading" id="par_idN10586" xml-lang="en-US" level="3" l10n="NEW">Field name</paragraph>
59 <paragraph role="paragraph" id="par_idN1058A" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Displays the name of the selected data field. If you want, you can enter a new name.</ahelp></paragraph>
60 <paragraph role="heading" id="par_idN1058D" xml-lang="en-US" level="3" l10n="NEW">Field type</paragraph>
61 <paragraph role="paragraph" id="par_idN10591" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Select a field type.</ahelp></paragraph>
62 <bookmark xml-lang="en-US" branch="hid/HID_TAB_ENT_AUTOINCREMENT" id="bm_id1055330" localize="false"/><paragraph role="heading" id="hd_id5486922" xml-lang="en-US" level="3" l10n="NEW">AutoValue</paragraph>
63 <paragraph role="paragraph" id="par_id4198736" xml-lang="en-US" l10n="NEW"><ahelp hid=".">If set to Yes, the values for this data field are generated by the database engine.</ahelp></paragraph>
64 <bookmark xml-lang="en-US" branch="hid/HID_TAB_ENT_REQUIRED" id="bm_id3498336" localize="false"/><paragraph role="heading" id="par_idN106A0" xml-lang="en-US" level="3" l10n="NEW">Entry required</paragraph>
65 <paragraph role="paragraph" id="par_idN106A6" xml-lang="en-US" l10n="NEW"><ahelp hid=".">If set to Yes, this field must not be empty.</ahelp><comment>not in spec doc</comment></paragraph>
66 <paragraph role="heading" id="par_idN10594" xml-lang="en-US" level="3" l10n="NEW">Length</paragraph>
67 <paragraph role="paragraph" id="par_idN10598" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Specifies the number of characters for the data field.</ahelp></paragraph>
68 <paragraph role="heading" id="par_idN1059B" xml-lang="en-US" level="3" l10n="NEW">Decimal places</paragraph>
69 <paragraph role="paragraph" id="par_idN1059F" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Specifies the number of decimal places for the data field. This option is only available for numerical or decimal data fields.</ahelp></paragraph>
70 <paragraph role="heading" id="par_idN105A2" xml-lang="en-US" level="3" l10n="NEW">Default value</paragraph>
71 <paragraph role="paragraph" id="par_idN105A6" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Specifies the default value for a Yes/No field.</ahelp></paragraph>
72 <bookmark xml-lang="en-US" branch="hid/HID_TAB_AUTOINCREMENTVALUE" id="bm_id8732871.00000001" localize="false"/><paragraph role="heading" id="par_idN10730" xml-lang="en-US" level="3" l10n="NEW">Auto-increment statement</paragraph>
73 <paragraph role="paragraph" id="par_id6706747" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Enter the SQL command specifier that instructs the data source to auto-increment a specified Integer data field.</ahelp> For example, the following MySQL statement used the AUTO_INCREMENT statement to increase the "id" field each time the statement creates a data field:</paragraph>
74 <paragraph role="code" id="par_id8946501" xml-lang="en-US" l10n="NEW">CREATE TABLE "table1" ("id" INTEGER AUTO_INCREMENT)</paragraph>
75 <paragraph role="paragraph" id="par_id4846949" xml-lang="en-US" l10n="NEW">For this example, you must enter AUTO_INCREMENT into the Auto-increment statement box.</paragraph>
76 <paragraph role="paragraph" id="par_idN105A9" xml-lang="en-US" l10n="NEW"><link href="text/shared/explorer/database/tablewizard03.xhp" name="Table Wizard - Set primary key">Table Wizard - Set primary key</link></paragraph>
77 </body>
78 </helpdocument>