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