xref: /trunk/main/helpcontent2/source/text/swriter/01/04180400.xhp (revision d1c38b032124661cefbf584a5830d4fd90d84d51)
1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--***********************************************************
4 *
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements.  See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership.  The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License.  You may obtain a copy of the License at
12 *
13 *   http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing,
16 * software distributed under the License is distributed on an
17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 * KIND, either express or implied.  See the License for the
19 * specific language governing permissions and limitations
20 * under the License.
21 *
22 ***********************************************************-->
23
24<helpdocument version="1.0">
25<meta>
26<topic id="textswriter0104180400xml" indexer="include" status="PUBLISH">
27<title id="tit" xml-lang="en-US">Exchange Database</title>
28<filename>/text/swriter/01/04180400.xhp</filename>
29</topic>
30</meta>
31<body>
32<bookmark xml-lang="en-US" branch="index" id="bm_id3145799"><bookmark_value>databases; exchanging</bookmark_value>
33<bookmark_value>address books; exchanging</bookmark_value>
34<bookmark_value>exchanging databases</bookmark_value>
35<bookmark_value>replacing;databases</bookmark_value>
36</bookmark>
37<bookmark xml-lang="en-US" branch="hid/.uno:ChangeDatabaseField" id="bm_id4081199" localize="false"/>
38<bookmark xml-lang="en-US" branch="hid/.uno:ChangeDatabaseField" id="bm_id3153418" localize="false"/>
39<paragraph role="heading" id="hd_id3145799" xml-lang="en-US" level="1" l10n="U" oldref="1">Exchange Database</paragraph>
40<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.
41</variable></paragraph>
42<section id="howtoget">
43<embed href="text/swriter/00/00000402.xhp#datenaust"/>
44</section>
45<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>
46<paragraph role="heading" id="hd_id3149130" xml-lang="en-US" level="2" l10n="U" oldref="3">Exchanging Databases</paragraph>
47<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>
48<bookmark xml-lang="en-US" branch="hid/sw:ModalDialog:DLG_CHANGE_DB" id="bm_id3149048" localize="false"/>
49<paragraph role="heading" id="hd_id3146965" xml-lang="en-US" level="3" l10n="U" oldref="5">Databases in Use</paragraph>
50<paragraph role="paragraph" id="par_id3149053" xml-lang="en-US" l10n="U" oldref="9"><ahelp hid="SW_MODALDIALOG_DLG_CHANGE_DB">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><comment>UFI: removed double help id</comment>
51<paragraph role="heading" id="hd_id3147300" xml-lang="en-US" level="3" l10n="U" oldref="6">Available Databases</paragraph>
52<paragraph role="paragraph" id="par_id3150533" xml-lang="en-US" l10n="U" oldref="10"><ahelp hid="SW_MODALDIALOG_DLG_CHANGE_DB">Lists the databases that are registered in <item type="productname">%PRODUCTNAME</item>.</ahelp></paragraph>
53<bookmark xml-lang="en-US" branch="hid/sw:PushButton:DLG_CHANGE_DB:PB_ADDDB" id="bm_id9902035" localize="false"/>
54<paragraph role="heading" id="par_idN106DB" xml-lang="en-US" level="2" l10n="NEW">Browse</paragraph>
55<paragraph role="paragraph" id="par_idN106DF" xml-lang="en-US" l10n="NEW"><ahelp hid="1419596301">Opens a file open dialog to select a database file (*.odb). The selected file is added to the Available Databases list.</ahelp></paragraph>
56<paragraph role="heading" id="hd_id3149349" xml-lang="en-US" level="2" l10n="U" oldref="7">Define</paragraph>
57<paragraph role="paragraph" id="par_id3145827" xml-lang="en-US" l10n="U" oldref="11"><ahelp hid="SW_MODALDIALOG_DLG_CHANGE_DB">Replaces the current data source with the data source that you selected in the <emph>Available Databases </emph>list.</ahelp></paragraph>
58<paragraph role="heading" id="hd_id3154506" xml-lang="en-US" level="2" l10n="U" oldref="12">To exchange a database:</paragraph>
59<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>
60<list type="ordered">
61<listitem>
62<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>
63</listitem>
64<listitem>
65<paragraph role="listitem" id="par_id3150564" xml-lang="en-US" l10n="U" oldref="15">Choose <emph>Edit - Exchange Database</emph>.</paragraph>
66</listitem>
67<listitem>
68<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>
69</listitem>
70<listitem>
71<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>
72</listitem>
73<listitem>
74<paragraph role="listitem" id="par_id3151273" xml-lang="en-US" l10n="U" oldref="18">Click <emph>Define</emph>.</paragraph>
75</listitem>
76</list>
77</body>
78</helpdocument>
79