summaryrefslogtreecommitdiff
path: root/source/text/swriter/01/04180400.xhp
blob: c28d844b1b06414ebf0f56dccee13120d045253a (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
<?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="textswriter0104180400xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Exchange Database</title>
<filename>/text/swriter/01/04180400.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
<lastedited date="2006-02-24T12:09:53">converted from old format - fpe</lastedited>
</history>
</meta>
<body>
<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/ExchangeDatabasesDialog" id="bm_id4081299" localize="false"/>
<paragraph role="heading" id="hd_id3145799" xml-lang="en-US" level="1" l10n="U" oldref="1">Exchange Database</paragraph>
<paragraph role="paragraph" id="par_id3156384" xml-lang="en-US" l10n="U" oldref="2"><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 id="howtoget">
  <embed href="text/swriter/00/00000402.xhp#datenaust"/>
</section>
<paragraph role="paragraph" id="par_id3153818" xml-lang="en-US" l10n="U" oldref="8">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 role="heading" id="hd_id3149130" xml-lang="en-US" level="2" l10n="U" oldref="3">Exchanging Databases</paragraph>
<paragraph role="paragraph" id="par_id3154651" xml-lang="en-US" l10n="U" oldref="4">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 role="heading" id="hd_id3146965" xml-lang="en-US" level="3" l10n="U" oldref="5">Databases in Use</paragraph>
<paragraph role="paragraph" id="par_id3149053" xml-lang="en-US" l10n="U" oldref="9"><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 role="heading" id="hd_id3147300" xml-lang="en-US" level="3" l10n="U" oldref="6">Available Databases</paragraph>
<paragraph role="paragraph" id="par_id3150533" xml-lang="en-US" l10n="U" oldref="10"><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 role="heading" id="par_idN106DB" xml-lang="en-US" level="2" l10n="NEW">Browse</paragraph>
<paragraph role="paragraph" id="par_idN106DF" xml-lang="en-US" l10n="NEW"><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 role="heading" id="hd_id3149349" xml-lang="en-US" level="2" l10n="U" oldref="7">Define</paragraph>
<paragraph role="paragraph" id="par_id3145827" xml-lang="en-US" l10n="U" oldref="11"><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 role="heading" id="hd_id3154506" xml-lang="en-US" level="2" l10n="U" oldref="12">To exchange a database:</paragraph>
<paragraph role="paragraph" id="par_id3149881" xml-lang="en-US" l10n="U" oldref="13">Ensure that both databases contain matching field names and field types.</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3148386" xml-lang="en-US" l10n="U" oldref="14">Click in the document that you want to change the data source for.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3150564" xml-lang="en-US" l10n="U" oldref="15">Choose <emph>Edit - Exchange Database</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3153925" xml-lang="en-US" l10n="U" oldref="16">In the <emph>Databases in Use</emph> list, select the database table that you want to replace.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3147169" xml-lang="en-US" l10n="U" oldref="17">In the <emph>Available Databases</emph> list, select the replacement database table.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3151273" xml-lang="en-US" l10n="U" oldref="18">Click <emph>Define</emph>.</paragraph>
</listitem>
</list>
</body>
</helpdocument>