1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2cdf0e10cSrcweir 382a1df74SAndrew Rist<!--*********************************************************** 495b3667eSmseidel * 582a1df74SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 682a1df74SAndrew Rist * or more contributor license agreements. See the NOTICE file 782a1df74SAndrew Rist * distributed with this work for additional information 882a1df74SAndrew Rist * regarding copyright ownership. The ASF licenses this file 982a1df74SAndrew Rist * to you under the Apache License, Version 2.0 (the 1082a1df74SAndrew Rist * "License"); you may not use this file except in compliance 1182a1df74SAndrew Rist * with the License. You may obtain a copy of the License at 1295b3667eSmseidel * 1382a1df74SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 1495b3667eSmseidel * 1582a1df74SAndrew Rist * Unless required by applicable law or agreed to in writing, 1682a1df74SAndrew Rist * software distributed under the License is distributed on an 1782a1df74SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 1882a1df74SAndrew Rist * KIND, either express or implied. See the License for the 1982a1df74SAndrew Rist * specific language governing permissions and limitations 2082a1df74SAndrew Rist * under the License. 2195b3667eSmseidel * 2282a1df74SAndrew Rist ***********************************************************--> 2382a1df74SAndrew Rist 24cdf0e10cSrcweir<helpdocument version="1.0"> 25cdf0e10cSrcweir<meta> 26cdf0e10cSrcweir<topic id="textswriter0104180400xml" indexer="include" status="PUBLISH"> 27cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Exchange Database</title> 28cdf0e10cSrcweir<filename>/text/swriter/01/04180400.xhp</filename> 29cdf0e10cSrcweir</topic> 30cdf0e10cSrcweir</meta> 31cdf0e10cSrcweir<body> 3272c4b3b3Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3145799"> 3372c4b3b3Smseidel<bookmark_value>databases; exchanging</bookmark_value> 34cdf0e10cSrcweir<bookmark_value>address books; exchanging</bookmark_value> 35cdf0e10cSrcweir<bookmark_value>exchanging databases</bookmark_value> 36cdf0e10cSrcweir<bookmark_value>replacing;databases</bookmark_value> 37cdf0e10cSrcweir</bookmark> 38cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/.uno:ChangeDatabaseField" id="bm_id4081199" localize="false"/> 39cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/.uno:ChangeDatabaseField" id="bm_id3153418" localize="false"/> 40cdf0e10cSrcweir<paragraph role="heading" id="hd_id3145799" xml-lang="en-US" level="1" l10n="U" oldref="1">Exchange Database</paragraph> 41cdf0e10cSrcweir<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. 42cdf0e10cSrcweir</variable></paragraph> 43cdf0e10cSrcweir<section id="howtoget"> 4495b3667eSmseidel<embed href="text/swriter/00/00000402.xhp#datenaust"/> 45cdf0e10cSrcweir</section> 46cdf0e10cSrcweir<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> 47cdf0e10cSrcweir<paragraph role="heading" id="hd_id3149130" xml-lang="en-US" level="2" l10n="U" oldref="3">Exchanging Databases</paragraph> 48cdf0e10cSrcweir<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> 49cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sw:ModalDialog:DLG_CHANGE_DB" id="bm_id3149048" localize="false"/> 50cdf0e10cSrcweir<paragraph role="heading" id="hd_id3146965" xml-lang="en-US" level="3" l10n="U" oldref="5">Databases in Use</paragraph> 51cdf0e10cSrcweir<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> 52cdf0e10cSrcweir<paragraph role="heading" id="hd_id3147300" xml-lang="en-US" level="3" l10n="U" oldref="6">Available Databases</paragraph> 53cdf0e10cSrcweir<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> 54cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sw:PushButton:DLG_CHANGE_DB:PB_ADDDB" id="bm_id9902035" localize="false"/> 55cdf0e10cSrcweir<paragraph role="heading" id="par_idN106DB" xml-lang="en-US" level="2" l10n="NEW">Browse</paragraph> 56cdf0e10cSrcweir<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> 57cdf0e10cSrcweir<paragraph role="heading" id="hd_id3149349" xml-lang="en-US" level="2" l10n="U" oldref="7">Define</paragraph> 58*00f592e0Smseidel<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> 59cdf0e10cSrcweir<paragraph role="heading" id="hd_id3154506" xml-lang="en-US" level="2" l10n="U" oldref="12">To exchange a database:</paragraph> 60cdf0e10cSrcweir<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> 61cdf0e10cSrcweir<list type="ordered"> 62cdf0e10cSrcweir<listitem> 63cdf0e10cSrcweir<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> 64cdf0e10cSrcweir</listitem> 65cdf0e10cSrcweir<listitem> 66cdf0e10cSrcweir<paragraph role="listitem" id="par_id3150564" xml-lang="en-US" l10n="U" oldref="15">Choose <emph>Edit - Exchange Database</emph>.</paragraph> 67cdf0e10cSrcweir</listitem> 68cdf0e10cSrcweir<listitem> 69cdf0e10cSrcweir<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> 70cdf0e10cSrcweir</listitem> 71cdf0e10cSrcweir<listitem> 72cdf0e10cSrcweir<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> 73cdf0e10cSrcweir</listitem> 74cdf0e10cSrcweir<listitem> 75cdf0e10cSrcweir<paragraph role="listitem" id="par_id3151273" xml-lang="en-US" l10n="U" oldref="18">Click <emph>Define</emph>.</paragraph> 76cdf0e10cSrcweir</listitem> 77cdf0e10cSrcweir</list> 78cdf0e10cSrcweir</body> 79cdf0e10cSrcweir</helpdocument> 80