Files
help/helpcontent2/source/text/shared/explorer/database/11000002.xhp
Rüdiger Timm f01b237534 INTEGRATION: CWS ooo19126 (1.1.106); FILE MERGED
2005/09/05 18:20:29 rt 1.1.106.1: #i54170# Change license header: remove SISSL
2005-09-07 21:32:53 +00:00

81 lines
6.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--***********************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: 11000002.xhp,v $
*
* $Revision: 1.2 $
*
* last change: $Author: rt $ $Date: 2005-09-07 22:32:53 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
************************************************************************-->
<helpdocument version="1.0">
<meta>
<topic id="textsharedexplorerdatabase11000002xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Data sources in $[officename]</title>
<filename>/text/shared/explorer/database/11000002.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
<lastedited date="2004-06-07T13:26:41">FPE: Removed mentioning of Adabas (#i10510#)</lastedited>
</history>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3155449"><bookmark_value>databases;drag and drop</bookmark_value>
</bookmark>
<paragraph role="heading" id="hd_id3151299" xml-lang="en-US" level="1" l10n="U" oldref="93"><link href="text/shared/explorer/database/11000002.xhp" name="Data sources in $[officename]">Data sources in $[officename]</link></paragraph>
<paragraph role="paragraph" id="par_id3150445" xml-lang="en-US" l10n="U" oldref="94">You can register a database with $[officename] and then insert records from the database into a document.</paragraph>
<section id="adressbuch">
<paragraph role="heading" id="hd_id3150616" xml-lang="en-US" level="2" l10n="U" oldref="49">Selecting the Address Book</paragraph>
<embed href="text/shared/guide/data_addressbook.xhp#adressbuch"/>
<paragraph role="paragraph" id="par_id3153049" xml-lang="en-US" l10n="U" oldref="101">To select the address address book that you want to use, choose <link href="text/shared/01/01110101.xhp" name="File - Templates - Address Book Source"><emph>File - Templates - Address Book Source</emph></link>.</paragraph>
</section>
<paragraph role="heading" id="hd_id3153748" xml-lang="en-US" level="2" l10n="U" oldref="19">Creating a New Data Source</paragraph>
<paragraph role="paragraph" id="par_id3153311" xml-lang="en-US" l10n="U" oldref="25">When you register a data source, $[officename] creates a link to the database so that you can access its data.</paragraph>
<list type="unordered">
<listitem>
<paragraph role="listitem" id="par_id3147576" xml-lang="en-US" l10n="U" oldref="8">To select and specify the properties of a data source, such as the name that $[officename] uses for the data source, choose <emph>Tools - Data Sources </emph>to open the <emph>Data Source Administration </emph>dialog.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3147209" xml-lang="en-US" l10n="U" oldref="3">To use an existing database, type the path to the database in the <emph>Data source URL </emph>box. If the data source is a text or dBase database, specify the folder that contains the database and its tables.</paragraph>
</listitem>
</list>
<paragraph role="heading" id="hd_id3147275" xml-lang="en-US" level="2" l10n="U" oldref="26">Opening a Data Source</paragraph>
<paragraph role="paragraph" id="par_id3154143" xml-lang="en-US" l10n="U" oldref="102">To open the data source view, press F4 in a text, spreadsheet or form document.</paragraph>
<paragraph role="paragraph" id="par_id3154046" xml-lang="en-US" l10n="U" oldref="11">To view the contents of a database, click the plus sign (+) in front it name in the data source view.</paragraph>
<paragraph role="heading" id="hd_id3155449" xml-lang="en-US" level="3" l10n="U" oldref="28">Copying and Moving Database Objects</paragraph>
<paragraph role="paragraph" id="par_id3149164" xml-lang="en-US" l10n="U" oldref="14">In the data source view, you can copy database objects by drag and drop, even within the same database.</paragraph>
<paragraph role="paragraph" id="par_id3154897" xml-lang="en-US" l10n="U" oldref="100">To quickly add a record from a table cell in a $[officename] Writer document, an HTML document or from $[officename] Calc, select the cell, and then drag it into a database table in data source view. You can also drag a record from a database table into a document.</paragraph>
<paragraph role="paragraph" id="par_id3153561" xml-lang="en-US" l10n="U" oldref="52">To move a database object, hold down Shift while you drag.</paragraph>
<paragraph role="note" id="par_id3147559" xml-lang="en-US" l10n="CHG" oldref="53">Field naming conventions are different for different database types. For example, in dBase tables, field names can only be 10 characters long.</paragraph>
<paragraph role="heading" id="hd_id3145069" xml-lang="en-US" level="3" l10n="U" oldref="40">Copying database queries</paragraph>
<paragraph role="paragraph" id="par_id3151056" xml-lang="en-US" l10n="U" oldref="31">To create a new query that is similar to an existing one, simply drag the existing query onto the Queries container in the data source view.</paragraph>
<paragraph role="paragraph" id="par_id3150085" xml-lang="en-US" l10n="U" oldref="34">If you drag the query onto a table container, the query is treated as a table.</paragraph>
</body>
</helpdocument>