summaryrefslogtreecommitdiff
path: root/source/text/swriter/01/04180400.xhp
blob: 6d01142f38594f2266dd4f70ef5112abb12b06ce (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<!--
 * 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 .
-->

<meta>
  <topic id="textswriter0104180400xml" indexer="include" status="PUBLISH">
    <title id="tit">Exchange Database</title>
    <filename>/text/swriter/01/04180400.xhp</filename>
  </topic>
</meta>
<body>
<bookmark branch="index" id="bm_id3145799">
  <bookmark_value>databases; exchanging</bookmark_value>
  <bookmark_value>address books; exchanging</bookmark_value>
  <bookmark_value>exchanging databases</bookmark_value>
  <bookmark_value>replacing;databases</bookmark_value>
</bookmark>

<bookmark branch="hid/.uno:ChangeDatabaseField" id="bm_id4081199" localize="false"/>
<bookmark branch="hid/modules/swriter/ui/exchangedatabases/@@nowidget@@" id="bm_@@nowidget@@" localize="false"/>
<bookmark branch="hid/modules/swriter/ui/exchangedatabases/ExchangeDatabasesDialog" id="bm_id4081299" localize="false"/>

<section id="exchange_database">
<h1 id="hd_id3145799"><link href="text/swriter/01/04180400.xhp">Exchange Database</link></h1>
<paragraph id="par_id3156384" role="paragraph"><variable id="datenbankaustext"><ahelp hid=".uno:ChangeDatabaseField">Change the data sources for the current document.</ahelp> To correctly display the contents of inserted fields, the replacement database must contain identical field names. </variable></paragraph>
</section>

<section id="howtoget">
<embed href="text/swriter/00/00000402.xhp#datenaust"/>
</section>
<paragraph id="par_id3153818" role="paragraph">For example, if you inserting address fields in a form letter from an address database, you can then exchange the database with another address database to insert different addresses.</paragraph>

<h2 id="hd_id3149130">Exchange Databases</h2>
<paragraph id="par_id3154651" role="paragraph">You can only change one database at a time in this dialog.</paragraph>
<bookmark branch="hid/modules/swriter/ui/exchangedatabases/inuselb" id="bm_id3149048" localize="false"/>

<h3 id="hd_id3146965">Databases in Use</h3>
<paragraph id="par_id3149053" role="paragraph"><ahelp hid="modules/swriter/ui/exchangedatabases/inuselb">Lists the databases that are currently in use.</ahelp> The current document contains at least one data field from each of the databases in the list.</paragraph>
<bookmark branch="hid/modules/swriter/ui/exchangedatabases/availablelb" id="bm_id3146048" localize="false"/>

<h3 id="hd_id3147300">Available Databases</h3>
<paragraph id="par_id3150533" role="paragraph"><ahelp hid="modules/swriter/ui/exchangedatabases/availablelb">Lists the databases that are registered in <item type="productname">%PRODUCTNAME</item>.</ahelp></paragraph>
<bookmark branch="hid/modules/swriter/ui/exchangedatabases/browse" id="bm_id9902035" localize="false"/>

<h2 id="par_idN106DB">Browse</h2>
<paragraph id="par_idN106DF" role="paragraph"><ahelp hid="modules/swriter/ui/exchangedatabases/browse">Opens a file open dialog to select a database file (*.odb). The selected file is added to the Available Databases list.</ahelp></paragraph>
<bookmark branch="hid/modules/swriter/ui/exchangedatabases/define" id="bm_id9902036" localize="false"/>

<h2 id="hd_id3149349">Define</h2>
<paragraph id="par_id3145827" role="paragraph"><ahelp hid="modules/swriter/ui/exchangedatabases/define">Replaces the current data source with the data source that you selected in the <emph>Available Databases </emph>list.</ahelp></paragraph>

<h2 id="hd_id3154506">To exchange a database:</h2>
<paragraph id="par_id3149881" role="paragraph">Ensure that both databases contain matching field names and field types.</paragraph>

<list type="ordered">
  <listitem>
    <paragraph id="par_id3148386" role="listitem">Click in the document that you want to change the data source for.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3150564" role="listitem">Choose <item type="menuitem">Edit - Exchange Database</item>.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3153925" role="listitem">In the <emph>Databases in Use</emph> list, select the database table that you want to replace.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3147169" role="listitem">In the <emph>Available Databases</emph> list, select the replacement database table.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3151273" role="listitem">Click <emph>Define</emph>.</paragraph>
  </listitem>
</list>
</body>

</helpdocument>