summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/shared/02/01170400.xhp
blob: 6df2946e58229d91a55e7f3ef7dfcbe30d9ab5d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="UTF-8"?>
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->
<helpdocument version="1.0">
<meta>
<topic id="textshared0201170400xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Add Field</title>
<filename>/text/shared/02/01170400.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="hid/.uno:AddField" id="bm_id2298449" localize="false"/>
<bookmark xml-lang="en-US" branch="index" id="bm_id871647297744020">
<bookmark_value>database field;add to form</bookmark_value>
<bookmark_value>forms;add database field</bookmark_value>
<bookmark_value>database field;add to report</bookmark_value>
<bookmark_value>report;add database field</bookmark_value>
</bookmark>
<section id="add_field_Head">
    <h1 id="hd_id3144436"><link href="text/shared/02/01170400.xhp" name="Add Field">Add Field</link></h1>
    <paragraph role="paragraph" id="par_id3166460" xml-lang="en-US"><variable id="text"><ahelp hid=".uno:AddField">Opens a window where you can select a database field to add to the form or report.</ahelp></variable><comment>same help id used for forms and reports</comment></paragraph>
</section>
<section id="howtoget">
  <embed href="text/shared/00/00040501.xhp#add_field"/>
</section>
<bookmark xml-lang="en-US" branch="hid/SVX_HID_FIELD_SEL" id="bm_id3155503" localize="false"/>
<paragraph role="paragraph" id="par_id3156114" xml-lang="en-US"><ahelp hid="HID_FIELD_SEL">The field selection window lists all database fields of the table or query that was specified as the data source in the <link href="text/shared/02/01170201.xhp" name="Form Properties">Form Properties</link>.</ahelp></paragraph>
<paragraph role="paragraph" id="par_id3147620" xml-lang="en-US">You can insert a field into the current document by dragging and dropping. A field is then inserted which contains a link to the database.</paragraph>
<paragraph role="paragraph" id="par_id3153541" xml-lang="en-US">If you add fields to a form and you switch off the <link href="text/shared/02/01170500.xhp" name="Design Mode">Design Mode</link>, you can see that $[officename] adds a labeled input field for every inserted database field.<comment>may be different for reports</comment></paragraph>
</body>
</helpdocument>