summaryrefslogtreecommitdiff
path: root/source/text/swriter/01/04180400.xhp
blob: 57c340300b5daf1c536d3b1e72edd070217fa3d2 (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
91
92
93
<?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" xml-lang="en-US">Exchange Database</title>
    <filename>/text/swriter/01/04180400.xhp</filename>
  </topic>
</meta>

<body>


<section id="exchange_database">
<bookmark xml-lang="en-US" 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 xml-lang="en-US" branch="hid/.uno:ChangeDatabaseField" id="bm_id4081199" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/exchangedatabases/@@nowidget@@" id="bm_@@nowidget@@" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/exchangedatabases/ExchangeDatabasesDialog" id="bm_id4081299" localize="false"/>

<paragraph id="hd_id3145799" role="heading" level="1" xml-lang="en-US"><link href="text/swriter/01/04180400.xhp" name="Exchange Database">Exchange Database</link></paragraph>
<paragraph id="par_id3156384" role="paragraph" xml-lang="en-US"><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" xml-lang="en-US">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>

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

<paragraph id="hd_id3146965" role="heading" level="3" xml-lang="en-US">Databases in Use</paragraph>
<paragraph id="par_id3149053" role="paragraph" xml-lang="en-US"><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 xml-lang="en-US" branch="hid/modules/swriter/ui/exchangedatabases/availablelb" id="bm_id3146048" localize="false"/>

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

<paragraph id="par_idN106DB" role="heading" level="2" xml-lang="en-US">Browse</paragraph>
<paragraph id="par_idN106DF" role="paragraph" xml-lang="en-US"><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 xml-lang="en-US" branch="hid/modules/swriter/ui/exchangedatabases/define" id="bm_id9902036" localize="false"/>

<paragraph id="hd_id3149349" role="heading" level="2" xml-lang="en-US">Define</paragraph>
<paragraph id="par_id3145827" role="paragraph" xml-lang="en-US"><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>

<paragraph id="hd_id3154506" role="heading" level="2" xml-lang="en-US">To exchange a database:</paragraph>
<paragraph id="par_id3149881" role="paragraph" xml-lang="en-US">Ensure that both databases contain matching field names and field types.</paragraph>

<list type="ordered">
  <listitem>
    <paragraph id="par_id3148386" role="listitem" xml-lang="en-US">Click in the document that you want to change the data source for.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3150564" role="listitem" xml-lang="en-US">Choose <item type="menuitem">Edit - Exchange Database</item>.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3153925" role="listitem" xml-lang="en-US">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" xml-lang="en-US">In the <emph>Available Databases</emph> list, select the replacement database table.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3151273" role="listitem" xml-lang="en-US">Click <emph>Define</emph>.</paragraph>
  </listitem>
</list>
</body>

</helpdocument>