xref: /trunk/main/helpcontent2/source/text/shared/01/05340400.xhp (revision d52405488e151828d937b61852bbaa40bd8274f3)
1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir
3c63dc91bSAndrew Rist<!--***********************************************************
4cdf0e10cSrcweir *
5c63dc91bSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
6c63dc91bSAndrew Rist * or more contributor license agreements.  See the NOTICE file
7c63dc91bSAndrew Rist * distributed with this work for additional information
8c63dc91bSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
9c63dc91bSAndrew Rist * to you under the Apache License, Version 2.0 (the
10c63dc91bSAndrew Rist * "License"); you may not use this file except in compliance
11c63dc91bSAndrew Rist * with the License.  You may obtain a copy of the License at
12cdf0e10cSrcweir *
13c63dc91bSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
14cdf0e10cSrcweir *
15c63dc91bSAndrew Rist * Unless required by applicable law or agreed to in writing,
16c63dc91bSAndrew Rist * software distributed under the License is distributed on an
17c63dc91bSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18c63dc91bSAndrew Rist * KIND, either express or implied.  See the License for the
19c63dc91bSAndrew Rist * specific language governing permissions and limitations
20c63dc91bSAndrew Rist * under the License.
21cdf0e10cSrcweir *
22c63dc91bSAndrew Rist ***********************************************************-->
23c63dc91bSAndrew Rist
24cdf0e10cSrcweir<helpdocument version="1.0">
25cdf0e10cSrcweir<meta>
26cdf0e10cSrcweir<topic id="textshared0105340400xml" indexer="include" status="PUBLISH">
27cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Data Sources</title>
28cdf0e10cSrcweir<filename>/text/shared/01/05340400.xhp</filename>
29cdf0e10cSrcweir</topic>
30cdf0e10cSrcweir</meta>
31cdf0e10cSrcweir<body>
32cdf0e10cSrcweir<section id="umgang">
3388cae784Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3153116">
3488cae784Smseidel<bookmark_value>data source browser</bookmark_value>
35cdf0e10cSrcweir<bookmark_value>tables in databases;browsing and editing</bookmark_value>
36cdf0e10cSrcweir<bookmark_value>databases; editing tables</bookmark_value>
37cdf0e10cSrcweir<bookmark_value>editing; database tables and queries</bookmark_value>
38cdf0e10cSrcweir<bookmark_value>queries; editing in data source view</bookmark_value>
3988cae784Smseidel</bookmark><comment>mw deleted "database tables," and changed "tables in databases;"</comment>
40*d5240548Smseidel<paragraph role="paragraph" id="par_id3153116" xml-lang="en-US" l10n="E" localize="false"/>
41*d5240548Smseidel<paragraph role="heading" id="hd_id3153323" xml-lang="en-US" level="1" l10n="U"><link href="text/shared/01/05340400.xhp" name="Data Sources">Data Sources</link></paragraph>
42*d5240548Smseidel<paragraph role="paragraph" id="par_id3149511" xml-lang="en-US" l10n="U">This section contains information on browsing and editing database tables.</paragraph>
43cdf0e10cSrcweir</section>
44cdf0e10cSrcweir<embed href="text/shared/guide/database_main.xhp#database_main"/>
45*d5240548Smseidel<paragraph role="note" id="par_id3149150" xml-lang="en-US" l10n="U">You cannot use the data source browser on a database table that is open in Design view.</paragraph>
46*d5240548Smseidel<paragraph role="heading" id="hd_id3149235" xml-lang="en-US" level="2" l10n="U">Data source browser</paragraph>
47*d5240548Smseidel<paragraph role="paragraph" id="par_id3154897" xml-lang="en-US" l10n="U"><ahelp hid=".">The commands for the data source browser are found on the <link href="text/shared/01/05340400.xhp" name="Database Bar">Table Data bar</link> and in <link href="text/shared/01/05340400.xhp" name="context menus">context menus</link>.</ahelp></paragraph>
48*d5240548Smseidel<paragraph role="heading" id="hd_id3154514" xml-lang="en-US" level="3" l10n="U">Selecting records</paragraph>
49*d5240548Smseidel<paragraph role="paragraph" id="par_id3149514" xml-lang="en-US" l10n="U">To select a record in a database table, click the row header, or click a row header, and then use the Up or Down arrow keys.</paragraph>
50265380d3Smseidel<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_CTL_TABBROWSER" id="bm_id6056703" localize="false"/>
51265380d3Smseidel<paragraph role="paragraph" id="par_id7812433001" xml-lang="en-US" l10n="NEW"><ahelp hid="." visibility="hidden">Select database records. Drag-and-drop rows or cells to the document to insert contents. Drag-and-drop column headers to insert fields.</ahelp></paragraph>
52*d5240548Smseidel<paragraph role="paragraph" id="par_id3149578" xml-lang="en-US" l10n="U">The following table describes how to select individual elements in the data source browser:</paragraph>
53cdf0e10cSrcweir<table id="tbl_id3149795">
54cdf0e10cSrcweir<tablerow>
55cdf0e10cSrcweir<tablecell colspan="" rowspan="">
56*d5240548Smseidel<paragraph role="tablehead" id="par_id3158432" xml-lang="en-US" l10n="U">Selection</paragraph>
57cdf0e10cSrcweir</tablecell>
58cdf0e10cSrcweir<tablecell colspan="" rowspan="">
59*d5240548Smseidel<paragraph role="tablehead" id="par_id3150670" xml-lang="en-US" l10n="U">Action</paragraph>
60cdf0e10cSrcweir</tablecell>
61cdf0e10cSrcweir</tablerow>
62cdf0e10cSrcweir<tablerow>
63cdf0e10cSrcweir<tablecell colspan="" rowspan="">
64*d5240548Smseidel<paragraph role="tablecontent" id="par_id3153332" xml-lang="en-US" l10n="U">Record</paragraph>
65cdf0e10cSrcweir</tablecell>
66cdf0e10cSrcweir<tablecell colspan="" rowspan="">
67*d5240548Smseidel<paragraph role="tablecontent" id="par_id3153700" xml-lang="en-US" l10n="U">Click the row header</paragraph>
68cdf0e10cSrcweir</tablecell>
69cdf0e10cSrcweir</tablerow>
70cdf0e10cSrcweir<tablerow>
71cdf0e10cSrcweir<tablecell colspan="" rowspan="">
72*d5240548Smseidel<paragraph role="tablecontent" id="par_id3149575" xml-lang="en-US" l10n="U">Several records or removing a selection</paragraph>
73cdf0e10cSrcweir</tablecell>
74cdf0e10cSrcweir<tablecell colspan="" rowspan="">
75*d5240548Smseidel<paragraph role="tablecontent" id="par_id3149295" xml-lang="en-US" l10n="U">Hold down <switchinline select="sys"><caseinline select="MAC">Command </caseinline><defaultinline>Ctrl </defaultinline></switchinline>and click the row header</paragraph>
76cdf0e10cSrcweir</tablecell>
77cdf0e10cSrcweir</tablerow>
78cdf0e10cSrcweir<tablerow>
79cdf0e10cSrcweir<tablecell colspan="" rowspan="">
80*d5240548Smseidel<paragraph role="tablecontent" id="par_id3152360" xml-lang="en-US" l10n="U">Column</paragraph>
81cdf0e10cSrcweir</tablecell>
82cdf0e10cSrcweir<tablecell colspan="" rowspan="">
83*d5240548Smseidel<paragraph role="tablecontent" id="par_id3153960" xml-lang="en-US" l10n="U">Click the column header</paragraph>
84cdf0e10cSrcweir</tablecell>
85cdf0e10cSrcweir</tablerow>
86cdf0e10cSrcweir<tablerow>
87cdf0e10cSrcweir<tablecell colspan="" rowspan="">
88*d5240548Smseidel<paragraph role="tablecontent" id="par_id3150541" xml-lang="en-US" l10n="U">Data field</paragraph>
89cdf0e10cSrcweir</tablecell>
90cdf0e10cSrcweir<tablecell colspan="" rowspan="">
91*d5240548Smseidel<paragraph role="tablecontent" id="par_id3150358" xml-lang="en-US" l10n="U">Click in the data field</paragraph>
92cdf0e10cSrcweir</tablecell>
93cdf0e10cSrcweir</tablerow>
94cdf0e10cSrcweir<tablerow>
95cdf0e10cSrcweir<tablecell colspan="" rowspan="">
96*d5240548Smseidel<paragraph role="tablecontent" id="par_id3154366" xml-lang="en-US" l10n="U">Entire table</paragraph>
97cdf0e10cSrcweir</tablecell>
98cdf0e10cSrcweir<tablecell colspan="" rowspan="">
99*d5240548Smseidel<paragraph role="tablecontent" id="par_id3156422" xml-lang="en-US" l10n="U">Click the row header of the column headings</paragraph>
100cdf0e10cSrcweir</tablecell>
101cdf0e10cSrcweir</tablerow>
102cdf0e10cSrcweir</table>
103*d5240548Smseidel<paragraph role="heading" id="hd_id3154822" xml-lang="en-US" level="3" l10n="CHG">Table Data toolbar (editing table data)</paragraph>
104cdf0e10cSrcweir<table id="tbl_id3145608">
105cdf0e10cSrcweir<tablerow>
106cdf0e10cSrcweir<tablecell colspan="" rowspan="">
107cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3151041" xml-lang="en-US" l10n="E">
108cdf0e10cSrcweir<image id="img_id3150740" src="res/commandimagelist/sc_editdoc.png" width="0.222inch" height="0.222inch"><alt id="alt_id3150740" xml-lang="en-US">Icon</alt>
109cdf0e10cSrcweir</image></paragraph>
110cdf0e10cSrcweir</tablecell>
111cdf0e10cSrcweir<tablecell colspan="" rowspan="">
112*d5240548Smseidel<paragraph role="paragraph" id="par_id3158410" xml-lang="en-US" l10n="U">Allows you to edit, add, or delete records from the database table.<comment>removed 3 ancient paras</comment></paragraph>
113cdf0e10cSrcweir</tablecell>
114cdf0e10cSrcweir</tablerow>
115cdf0e10cSrcweir</table>
116*d5240548Smseidel<paragraph role="heading" id="hd_id3152463" xml-lang="en-US" level="3" l10n="U">Cutting, copying and pasting data</paragraph>
117*d5240548Smseidel<paragraph role="paragraph" id="par_id3149287" xml-lang="en-US" l10n="CHG">You can cut, copy, and paste records in <emph>Data Source</emph> view. The Data Source browser also supports the dragging and dropping of records, or text and numbers from other $[officename] files.</paragraph>
118*d5240548Smseidel<paragraph role="paragraph" id="par_id3146921" xml-lang="en-US" l10n="U">You cannot drag and drop to Yes/No, binary, image, or counting table fields.</paragraph>
119*d5240548Smseidel<paragraph role="note" id="par_id3149064" xml-lang="en-US" l10n="U">Drag and drop only works in <emph>Edit</emph> mode.</paragraph>
120cdf0e10cSrcweir<embed href="text/shared/main0212.xhp#datenbank"/>
121*d5240548Smseidel<paragraph role="heading" id="hd_id3147295" xml-lang="en-US" level="3" l10n="U">Navigating in the Data Source Browser</paragraph>
122*d5240548Smseidel<paragraph role="paragraph" id="par_id3152598" xml-lang="en-US" l10n="U">Use the Form Navigation bar at the bottom of the Data Source view to navigate between different records.</paragraph>
123*d5240548Smseidel<paragraph role="heading" id="hd_id3145263" xml-lang="en-US" level="3" l10n="U">First record</paragraph>
124cdf0e10cSrcweir<table id="tbl_id3149260">
125cdf0e10cSrcweir<tablerow>
126cdf0e10cSrcweir<tablecell colspan="" rowspan="">
127cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3149266" xml-lang="en-US" l10n="E">
128cdf0e10cSrcweir<image id="img_id3156060" src="res/commandimagelist/sc_firstrecord.png" width="0.222inch" height="0.222inch"><alt id="alt_id3156060" xml-lang="en-US">Icon</alt>
129cdf0e10cSrcweir</image></paragraph>
130cdf0e10cSrcweir</tablecell>
131cdf0e10cSrcweir<tablecell colspan="" rowspan="">
132cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SVX_HID_GRID_TRAVEL_FIRST" id="bm_id3152821005" localize="false"/>
133*d5240548Smseidel<paragraph role="paragraph" id="par_id3151173" xml-lang="en-US" l10n="U"><ahelp hid=".">Go to the first record in the table.</ahelp></paragraph>
134cdf0e10cSrcweir</tablecell>
135cdf0e10cSrcweir</tablerow>
136cdf0e10cSrcweir</table>
137*d5240548Smseidel<paragraph role="heading" id="hd_id3149417" xml-lang="en-US" level="3" l10n="U">Previous record</paragraph>
138cdf0e10cSrcweir<table id="tbl_id3153223">
139cdf0e10cSrcweir<tablerow>
140cdf0e10cSrcweir<tablecell colspan="" rowspan="">
141cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3147484" xml-lang="en-US" l10n="E">
142cdf0e10cSrcweir<image id="img_id3156736" src="res/commandimagelist/sc_prevrecord.png" width="0.222inch" height="0.222inch"><alt id="alt_id3156736" xml-lang="en-US">Icon</alt>
143cdf0e10cSrcweir</image></paragraph>
144cdf0e10cSrcweir</tablecell>
145cdf0e10cSrcweir<tablecell colspan="" rowspan="">
146cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SVX_HID_GRID_TRAVEL_PREV" id="bm_id3152821002" localize="false"/>
147*d5240548Smseidel<paragraph role="paragraph" id="par_id3153280" xml-lang="en-US" l10n="U"><ahelp hid=".">Go to the previous record in the table.</ahelp></paragraph>
148cdf0e10cSrcweir</tablecell>
149cdf0e10cSrcweir</tablerow>
150cdf0e10cSrcweir</table>
151*d5240548Smseidel<paragraph role="heading" id="hd_id3153053" xml-lang="en-US" level="3" l10n="U">Record number</paragraph>
152cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SVX_HID_GRID_TRAVEL_ABSOLUTE" id="bm_id3152821001" localize="false"/>
153*d5240548Smseidel<paragraph role="paragraph" id="par_id3155851" xml-lang="en-US" l10n="U"><ahelp hid=".">Type the number of the record that you want to display, and then press Enter.</ahelp></paragraph>
154*d5240548Smseidel<paragraph role="heading" id="hd_id3157876" xml-lang="en-US" level="3" l10n="U">Next record</paragraph>
155cdf0e10cSrcweir<table id="tbl_id3148880">
156cdf0e10cSrcweir<tablerow>
157cdf0e10cSrcweir<tablecell colspan="" rowspan="">
158cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3151075" xml-lang="en-US" l10n="E">
159cdf0e10cSrcweir<image id="img_id3153214" src="res/commandimagelist/sc_nextrecord.png" width="0.222inch" height="0.222inch"><alt id="alt_id3153214" xml-lang="en-US">Icon</alt>
160cdf0e10cSrcweir</image></paragraph>
161cdf0e10cSrcweir</tablecell>
162cdf0e10cSrcweir<tablecell colspan="" rowspan="">
163cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SVX_HID_GRID_TRAVEL_NEXT" id="bm_id3152821003" localize="false"/>
164*d5240548Smseidel<paragraph role="paragraph" id="par_id3166414" xml-lang="en-US" l10n="U"><ahelp hid=".">Go to the next record in the table.</ahelp></paragraph>
165cdf0e10cSrcweir</tablecell>
166cdf0e10cSrcweir</tablerow>
167cdf0e10cSrcweir</table>
168*d5240548Smseidel<paragraph role="heading" id="hd_id3154015" xml-lang="en-US" level="3" l10n="U">Last record</paragraph>
169cdf0e10cSrcweir<table id="tbl_id3153512">
170cdf0e10cSrcweir<tablerow>
171cdf0e10cSrcweir<tablecell colspan="" rowspan="">
172cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3153838" xml-lang="en-US" l10n="E">
173cdf0e10cSrcweir<image id="img_id3156320" src="res/commandimagelist/sc_lastrecord.png" width="0.222inch" height="0.222inch"><alt id="alt_id3156320" xml-lang="en-US">Icon</alt>
174cdf0e10cSrcweir</image></paragraph>
175cdf0e10cSrcweir</tablecell>
176cdf0e10cSrcweir<tablecell colspan="" rowspan="">
177cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SVX_HID_GRID_TRAVEL_LAST" id="bm_id3152821004" localize="false"/>
178*d5240548Smseidel<paragraph role="paragraph" id="par_id3147175" xml-lang="en-US" l10n="U"><ahelp hid=".">Go to the last record in the table.</ahelp></paragraph>
179cdf0e10cSrcweir</tablecell>
180cdf0e10cSrcweir</tablerow>
181cdf0e10cSrcweir</table>
182*d5240548Smseidel<paragraph role="heading" id="hd_id3145162" xml-lang="en-US" level="3" l10n="U">New record</paragraph>
183cdf0e10cSrcweir<table id="tbl_id3147496">
184cdf0e10cSrcweir<tablerow>
185cdf0e10cSrcweir<tablecell colspan="" rowspan="">
186cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3151019" xml-lang="en-US" l10n="E">
187cdf0e10cSrcweir<image id="img_id3154636" src="svtools/res/ed03.png" width="0.1528inch" height="0.1528inch"><alt id="alt_id3154636" xml-lang="en-US">Icon</alt>
188cdf0e10cSrcweir</image></paragraph>
189cdf0e10cSrcweir</tablecell>
190cdf0e10cSrcweir<tablecell colspan="" rowspan="">
191cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SVX_HID_GRID_TRAVEL_NEW" id="bm_id3152821006" localize="false"/>
192*d5240548Smseidel<paragraph role="paragraph" id="par_id3146913" xml-lang="en-US" l10n="U"><ahelp hid=".">Inserts a new record into the current table.</ahelp> To create a record, click the asterisk (*) button at the bottom of the table view. An empty row is added at the end of the table.</paragraph>
193cdf0e10cSrcweir</tablecell>
194cdf0e10cSrcweir</tablerow>
195cdf0e10cSrcweir</table>
196*d5240548Smseidel<paragraph role="heading" id="hd_id3150656" xml-lang="en-US" level="3" l10n="U">Number of records</paragraph>
197cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SVX_HID_GRID_NUMBEROFRECORDS" id="bm_id3152821013" localize="false"/>
198*d5240548Smseidel<paragraph role="paragraph" id="par_id3148483" xml-lang="en-US" l10n="U"><ahelp hid=".">Displays the number of records. For example, "Record 7 of 9(2)" indicates that two records (2) are selected in a table containing 9 records, and that the cursor is in record number 7.</ahelp></paragraph>
199*d5240548Smseidel<paragraph role="heading" id="hd_id3151357" xml-lang="en-US" level="3" l10n="U">Organizing tables</paragraph>
200*d5240548Smseidel<paragraph role="paragraph" id="par_id3153357" xml-lang="en-US" l10n="U">To access the commands for formatting the table, right-click a column header, or a row header.</paragraph>
201*d5240548Smseidel<paragraph role="heading" id="hd_id3148405" xml-lang="en-US" level="2" l10n="U"><link href="text/shared/01/05340402.xhp" name="Table Format">Table Format</link></paragraph>
202cdf0e10cSrcweir<embed href="text/shared/01/05340402.xhp#tabformtext"/>
203*d5240548Smseidel<paragraph role="heading" id="hd_id3083283" xml-lang="en-US" level="2" l10n="U"><link href="text/shared/01/05340100.xhp" name="Row Height">Row Height</link></paragraph>
204cdf0e10cSrcweir<embed href="text/shared/01/05340100.xhp#zeilenhoehetext"/>
205cdf0e10cSrcweir<embed href="text/shared/01/05340404.xhp#zeilenloeschen"/>
206*d5240548Smseidel<paragraph role="heading" id="hd_id3150321" xml-lang="en-US" level="2" l10n="U"><link href="text/shared/01/05340405.xhp" name="Column Format">Column Format</link></paragraph>
207cdf0e10cSrcweir<embed href="text/shared/01/05340405.xhp#spaltformtext"/>
208*d5240548Smseidel<paragraph role="heading" id="hd_id3147341" xml-lang="en-US" level="2" l10n="U"><link href="text/shared/01/05340200.xhp" name="Column Width">Column Width</link></paragraph>
209cdf0e10cSrcweir<embed href="text/shared/01/05340200.xhp#spaltetext"/>
210cdf0e10cSrcweir<embed href="text/shared/01/05340500.xhp#feldausblenden"/>
211cdf0e10cSrcweir<embed href="text/shared/01/05340600.xhp#alleeinblenden"/>
212cdf0e10cSrcweir</body>
213cdf0e10cSrcweir</helpdocument>
214