1<?xml version="1.0" encoding="UTF-8"?>
2
3
4<!--***********************************************************
5 *
6 * Licensed to the Apache Software Foundation (ASF) under one
7 * or more contributor license agreements.  See the NOTICE file
8 * distributed with this work for additional information
9 * regarding copyright ownership.  The ASF licenses this file
10 * to you under the Apache License, Version 2.0 (the
11 * "License"); you may not use this file except in compliance
12 * with the License.  You may obtain a copy of the License at
13 *
14 *   http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing,
17 * software distributed under the License is distributed on an
18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19 * KIND, either express or implied.  See the License for the
20 * specific language governing permissions and limitations
21 * under the License.
22 *
23 ***********************************************************-->
24
25
26
27
28
29<helpdocument version="1.0">
30<meta>
31<topic id="textscalc0112090101xml" indexer="include" status="PUBLISH">
32<title id="tit" xml-lang="en-US">Select Data Source</title>
33<filename>/text/scalc/01/12090101.xhp</filename>
34</topic>
35<history>
36<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
37<lastedited date="2005-11-11T15:15:36">converted from old format - fpe</lastedited>
38</history>
39</meta>
40<body>
41<paragraph role="heading" id="hd_id3143268" xml-lang="en-US" level="1" l10n="U" oldref="1">Select Data Source</paragraph>
42<paragraph role="paragraph" id="par_id3148552" xml-lang="en-US" l10n="U" oldref="2">Select the database and the table or query containing the data that you want to use.</paragraph>
43<section id="howtoget">
44  <embed href="text/scalc/00/00000412.xhp#dndq"/>
45</section>
46<paragraph role="heading" id="hd_id3154140" xml-lang="en-US" level="2" l10n="U" oldref="3">Selection</paragraph>
47<paragraph role="paragraph" id="par_id3125863" xml-lang="en-US" l10n="CHG" oldref="4"><ahelp hid=".">You can only select databases that are registered in %PRODUCTNAME.</ahelp> To register a data source, choose <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - %PRODUCTNAME Base - Databases</emph>.</paragraph>
48<bookmark xml-lang="en-US" branch="hid/sc:ListBox:RID_SCDLG_DAPIDATA:LB_DATABASE" id="bm_id3154684" localize="false"/>
49<paragraph role="heading" id="hd_id3151041" xml-lang="en-US" level="3" l10n="U" oldref="5">Database</paragraph>
50<paragraph role="paragraph" id="par_id3156424" xml-lang="en-US" l10n="U" oldref="6"><ahelp hid="SC:LISTBOX:RID_SCDLG_DAPIDATA:LB_DATABASE">Select the database that contains the data source that you want to use.</ahelp></paragraph>
51<bookmark xml-lang="en-US" branch="hid/sc:ComboBox:RID_SCDLG_DAPIDATA:CB_OBJECT" id="bm_id3151112" localize="false"/>
52<paragraph role="heading" id="hd_id3145364" xml-lang="en-US" level="3" l10n="U" oldref="7">Data source</paragraph>
53<paragraph role="paragraph" id="par_id3149260" xml-lang="en-US" l10n="U" oldref="8"><ahelp hid="SC:COMBOBOX:RID_SCDLG_DAPIDATA:CB_OBJECT">Select the data source that you want to use.</ahelp></paragraph>
54<bookmark xml-lang="en-US" branch="hid/sc:ListBox:RID_SCDLG_DAPIDATA:LB_OBJTYPE" id="bm_id3153726" localize="false"/>
55<paragraph role="heading" id="hd_id3147428" xml-lang="en-US" level="3" l10n="U" oldref="9">Type</paragraph>
56<paragraph role="paragraph" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="10"><ahelp hid="SC:LISTBOX:RID_SCDLG_DAPIDATA:LB_OBJTYPE">Click the source type of for the selected data source.</ahelp> You can choose from four source types: "Table", "Query" and "SQL" or SQL (Native).</paragraph>
57<section id="relatedtopics">
58<paragraph role="paragraph" id="par_id3147348" xml-lang="en-US" l10n="U" oldref="11"><link href="text/scalc/01/12090102.xhp" name="Pivot table dialog">Pivot table dialog</link></paragraph>
59</section>
60</body>
61</helpdocument>
62