merge the formfield patch from ooo-build
[ooovba.git] / helpcontent2 / source / text / swriter / 01 / 04180400.xhp
bloba08111a05dce3e73fb4eaa152103019027bb523c
1 <?xml version="1.0" encoding="UTF-8"?>
4 <!--
5 ***********************************************************************
7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8 *
9 * Copyright 2008 by Sun Microsystems, Inc.
11 * OpenOffice.org - a multi-platform office productivity suite
13 * $RCSfile: 04180400.xhp,v $
14 * $Revision: 1.10 $
16 * This file is part of OpenOffice.org.
18 * OpenOffice.org is free software: you can redistribute it and/or modify
19 * it under the terms of the GNU Lesser General Public License version 3
20 * only, as published by the Free Software Foundation.
22 * OpenOffice.org is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU Lesser General Public License version 3 for more details
26 * (a copy is included in the LICENSE file that accompanied this code).
28 * You should have received a copy of the GNU Lesser General Public License
29 * version 3 along with OpenOffice.org. If not, see
30 * <http://www.openoffice.org/license.html>
31 * for a copy of the LGPLv3 License.
33 ************************************************************************
34 -->
36 <helpdocument version="1.0">
37 <meta>
38 <topic id="textswriter0104180400xml" indexer="include" status="PUBLISH">
39 <title id="tit" xml-lang="en-US">Exchange Database</title>
40 <filename>/text/swriter/01/04180400.xhp</filename>
41 </topic>
42 <history>
43 <created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
44 <lastedited date="2006-02-24T12:09:53">converted from old format - fpe</lastedited>
45 </history>
46 </meta>
47 <body>
48 <bookmark xml-lang="en-US" branch="index" id="bm_id3145799"><bookmark_value>databases; exchanging</bookmark_value>
49 <bookmark_value>address books; exchanging</bookmark_value>
50 <bookmark_value>exchanging databases</bookmark_value>
51 <bookmark_value>replacing;databases</bookmark_value>
52 </bookmark>
53 <bookmark xml-lang="en-US" branch="hid/FN_CHANGE_DBFIELD" id="bm_id4081199" localize="false"/>
54 <bookmark xml-lang="en-US" branch="hid/.uno:ChangeDatabaseField" id="bm_id3153418" localize="false"/>
55 <paragraph role="heading" id="hd_id3145799" xml-lang="en-US" level="1" l10n="U" oldref="1">Exchange Database</paragraph>
56 <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.
57 </variable></paragraph>
58 <section id="howtoget">
59 <embed href="text/swriter/00/00000402.xhp#datenaust"/>
60 </section>
61 <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>
62 <paragraph role="heading" id="hd_id3149130" xml-lang="en-US" level="2" l10n="U" oldref="3">Exchanging Databases</paragraph>
63 <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>
64 <bookmark xml-lang="en-US" branch="hid/SW_MODALDIALOG_DLG_CHANGE_DB" id="bm_id3149048" localize="false"/>
65 <paragraph role="heading" id="hd_id3146965" xml-lang="en-US" level="3" l10n="U" oldref="5">Databases in Use</paragraph>
66 <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>
67 <paragraph role="heading" id="hd_id3147300" xml-lang="en-US" level="3" l10n="U" oldref="6">Available Databases</paragraph>
68 <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>
69 <bookmark xml-lang="en-US" branch="hid/sw_PushButton_DLG_CHANGE_DB_PB_ADDDB" id="bm_id9902035" localize="false"/>
70 <paragraph role="heading" id="par_idN106DB" xml-lang="en-US" level="2" l10n="NEW">Browse</paragraph>
71 <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>
72 <paragraph role="heading" id="hd_id3149349" xml-lang="en-US" level="2" l10n="U" oldref="7">Define</paragraph>
73 <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>
74 <paragraph role="heading" id="hd_id3154506" xml-lang="en-US" level="2" l10n="U" oldref="12">To exchange a database:</paragraph>
75 <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>
76 <list type="ordered">
77 <listitem>
78 <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>
79 </listitem>
80 <listitem>
81 <paragraph role="listitem" id="par_id3150564" xml-lang="en-US" l10n="U" oldref="15">Choose <emph>Edit - Exchange Database</emph>.</paragraph>
82 </listitem>
83 <listitem>
84 <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>
85 </listitem>
86 <listitem>
87 <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>
88 </listitem>
89 <listitem>
90 <paragraph role="listitem" id="par_id3151273" xml-lang="en-US" l10n="U" oldref="18">Click <emph>Define</emph>.</paragraph>
91 </listitem>
92 </list>
93 </body>
94 </helpdocument>