summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/shared/02/12070200.xhp
blob: aa7d7ffd74caf32f9d445cb4bfcb1b79a6b9382a (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
47
48
49
50
51
52
53
54
<?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="textshared0212070200xml" indexer="include" status="PUBLISH">
<title xml-lang="en-US" id="tit">Fields</title>
<filename>/text/shared/02/12070200.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
</history>
</meta>
<body>
  
  
  <switch select="appl"><case select="WRITER">
  <bookmark branch="hid/modules/swriter/ui/insertdbcolumnsdialog/asfields" xml-lang="en-US" id="bm_id3153116" localize="false"/><paragraph role="heading" level="1" id="hd_id3149991" xml-lang="en-US">Fields</paragraph>
  <bookmark xml-lang="en-US" branch="index" id="bm_id3149987"><bookmark_value>database contents; inserting as fields</bookmark_value></bookmark><paragraph xml-lang="en-US" id="par_id3149987" role="paragraph"><ahelp hid="modules/swriter/ui/insertdbcolumnsdialog/asfields" visibility="hidden">Inserts data selected from the data source browser into the document as fields.</ahelp> In the <emph>Insert Database Columns</emph> dialog, select the <link href="text/swriter/01/04090000.xhp" name="Fields">Fields</link> to insert the selected data into the document as fields. These <link href="text/swriter/01/04090006.xhp" name="database fields">database fields</link> work as wildcards for the individual database columns and can be used for form letters. Click the <link href="text/shared/02/12080000.xhp" name="Data to Fields"><emph>Data to Fields</emph></link> icon to match the contents of the fields to the currently selected record.</paragraph>
  <paragraph xml-lang="en-US" role="note" id="par_id3153114">If several records are selected when you choose the <emph>Data to Text</emph> function, the mail merge fields will be inserted according to the number of records. Also, a field command such as "Next record" will be inserted automatically between individual field command blocks.</paragraph>
  <paragraph xml-lang="en-US" role="paragraph" id="par_id3145090">The <emph>Insert Database Columns</emph> dialog lets you define which database fields to insert into the document and how to format the paragraphs.</paragraph>
  <paragraph role="heading" level="2" id="hd_id3156136" xml-lang="en-US">Fields</paragraph>
  <paragraph xml-lang="en-US" role="paragraph" id="par_id3147571">In the <emph>Fields</emph> area, use the arrow button to select the database table columns into which you want to insert field contents.</paragraph>
  <section id="anchor_for_text_option">
  <bookmark branch="hid/modules/swriter/ui/insertdbcolumnsdialog/tabletxtcols" xml-lang="en-US" id="bm_id3156411" localize="false"/><paragraph role="heading" level="3" id="hd_id3153345" xml-lang="en-US">Database columns</paragraph>
  <paragraph role="paragraph" id="par_id3155535" xml-lang="en-US">Lists all columns of the database table, which can be accepted in the selection list box to insert them into the document. <ahelp hid="modules/swriter/ui/insertdbcolumnsdialog/tabletxtcols" visibility="visible">Select the database columns that you want to insert it in the document.</ahelp></paragraph>
  <bookmark branch="hid/modules/swriter/ui/insertdbcolumnsdialog/toedit" xml-lang="en-US" id="bm_id3149178" localize="false"/><paragraph role="heading" level="3" id="hd_id3152551" xml-lang="en-US">&gt;</paragraph>
  <paragraph role="paragraph" id="par_id3145345" xml-lang="en-US"><ahelp visibility="visible" hid="modules/swriter/ui/insertdbcolumnsdialog/toedit">Moves the fields that you selected in the <emph>Database columns</emph> list box into the selection field.</ahelp> You can also double-click the entry to select it.</paragraph>
  <bookmark branch="hid/modules/swriter/ui/insertdbcolumnsdialog/textview" xml-lang="en-US" id="bm_id3152997" localize="false"/><paragraph role="heading" level="3" id="hd_id3166411" xml-lang="en-US">Select</paragraph>
  <paragraph role="paragraph" id="par_id3163802" xml-lang="en-US"><ahelp hid="modules/swriter/ui/insertdbcolumnsdialog/textview" visibility="visible">Lists the database columns that you selected to be inserted into the document. You can also enter text here. This text will be also inserted into the document.</ahelp> The entries' order in the selection field corresponds to the data order in the document.</paragraph>
  <embed href="text/shared/02/12070100.xhp#format"/>
  <bookmark branch="hid/modules/swriter/ui/insertdbcolumnsdialog/parastyle" xml-lang="en-US" id="bm_id3154852" localize="false"/><paragraph role="heading" level="3" id="hd_id3153257" xml-lang="en-US">Paragraph Style</paragraph>
  <paragraph xml-lang="en-US" id="par_id3158430" role="paragraph">By default, the inserted paragraphs are formatted with the current Paragraph Styles. This format corresponds to the "none" entry in the <emph>Paragraph Style</emph> list box. <ahelp hid="modules/swriter/ui/insertdbcolumnsdialog/parastyle" visibility="visible">This is where you can select other Paragraph Styles to apply to the paragraph you want to insert into the document.</ahelp> The list box displays the available Paragraph Styles defined in <item type="productname">%PRODUCTNAME</item> and managed in the <link href="text/swriter/01/05130000.xhp" name="Style Catalog">Style Catalog</link>.</paragraph>
  </section>
  </case></switch>
 </body>
</helpdocument>