summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/shared/01/05340400.xhp
blob: 060617acf848f07eb09579f8e3cc34295273dd54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<?xml version="1.0" encoding="UTF-8"?>
<!--***********************************************************************
 *
 *  OpenOffice.org - a multi-platform office productivity suite
 *
 *  $RCSfile: 05340400.xhp,v $
 *
 *  $Revision: 1.6 $
 *
 *  last change: $Author: obo $ $Date: 2006-03-28 13:29:11 $
 *
 *  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="textshared0105340400xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Data Sources</title>
<filename>/text/shared/01/05340400.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
<lastedited date="2004-10-25T14:01:08">converted from old format - fpe</lastedited>
</history>
</meta>
<body>
<section id="umgang">
<bookmark xml-lang="en-US" branch="index" id="bm_id3153116"><bookmark_value>database tables; data source browser</bookmark_value>
<bookmark_value>data source browser</bookmark_value>
<bookmark_value>tables in databases; data source browser</bookmark_value>
<bookmark_value>databases; editing tables</bookmark_value>
<bookmark_value>editing; database tables</bookmark_value>
<bookmark_value>editing; queries</bookmark_value>
<bookmark_value>queries; editing in data source view</bookmark_value>
</bookmark>
<paragraph role="paragraph" id="par_id3153116" xml-lang="en-US" l10n="E" oldref="1" localize="false"/>
<paragraph role="heading" id="hd_id3153323" xml-lang="en-US" level="1" l10n="U" oldref="68"><link href="text/shared/01/05340400.xhp" name="Data Sources">Data Sources</link></paragraph>
<paragraph role="paragraph" id="par_id3149511" xml-lang="en-US" l10n="U" oldref="2">This section contains information on browsing and editing database tables.</paragraph>
</section>
<embed href="text/shared/guide/database_main.xhp#database_main"/>
<paragraph role="note" id="par_id3149150" xml-lang="en-US" l10n="U" oldref="51">You cannot use the data source browser on a database table that is open in Design view.</paragraph>
<paragraph role="heading" id="hd_id3149235" xml-lang="en-US" level="2" l10n="U" oldref="8">Data source browser</paragraph>
<paragraph role="paragraph" id="par_id3154897" xml-lang="en-US" l10n="U" oldref="9"><ahelp hid="HID_TLB_TREELISTBOX">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>
<paragraph role="heading" id="hd_id3154514" xml-lang="en-US" level="3" l10n="U" oldref="12">Selecting records</paragraph>
<paragraph role="paragraph" id="par_id3149514" xml-lang="en-US" l10n="U" oldref="34">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>
<paragraph role="paragraph" id="par_id3149578" xml-lang="en-US" l10n="U" oldref="13">The following table describes how to select individual elements in the data source browser:</paragraph>
<table id="tbl_id3149795">
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablehead" id="par_id3158432" xml-lang="en-US" l10n="U" oldref="66">Selection</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablehead" id="par_id3150670" xml-lang="en-US" l10n="U" oldref="67">Action</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3153332" xml-lang="en-US" l10n="U" oldref="14">Record</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3153700" xml-lang="en-US" l10n="U" oldref="15">Click the row header</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3149575" xml-lang="en-US" l10n="U" oldref="16">Several records or removing a selection</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3149295" xml-lang="en-US" l10n="U" oldref="17">Hold down Ctrl and click the row header</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3152360" xml-lang="en-US" l10n="U" oldref="18">Column</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3153960" xml-lang="en-US" l10n="U" oldref="19">Click the column header</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3150541" xml-lang="en-US" l10n="U" oldref="20">Data field</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3150358" xml-lang="en-US" l10n="U" oldref="21">Click in the data field</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3154366" xml-lang="en-US" l10n="U" oldref="22">Entire table</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3156422" xml-lang="en-US" l10n="U" oldref="23">Click the row header of the column headings</paragraph>
</tablecell>
</tablerow>
</table>

<paragraph role="heading" id="hd_id3154822" xml-lang="en-US" level="3" l10n="U" oldref="49">Table Data Bar (editing database tables)</paragraph>
<table id="tbl_id3145608">
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3151041" xml-lang="en-US" l10n="E">
<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>
	</image></paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3158410" xml-lang="en-US" l10n="U" oldref="7">Allows you to edit, add, or delete records from the database table.</paragraph>
<paragraph role="paragraph" id="par_id3154329" xml-lang="en-US" l10n="U" oldref="11">To change the layout of a database table, right-click the table in <emph>Data Source</emph> view, and then choose <emph>Edit - Table</emph>.</paragraph>
<paragraph role="paragraph" id="par_id3149985" xml-lang="en-US" l10n="U" oldref="50">When you edit a query for the current database table in <emph>Data Source</emph> view, the changes are immediately displayed. To edit a query that requires access to more than one table, right-click the query in <emph>Data Source</emph> view, and then choose <link href="text/shared/explorer/database/02010100.xhp" name="Edit - Query"><emph>Edit - Query</emph></link>.</paragraph>
</tablecell>
</tablerow>
</table>

<paragraph role="note" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="52">You cannot edit a database table that requires an index key or a primary key for identification of the data records, if the table definition does not contain an index key or a primary key.</paragraph>
<paragraph role="heading" id="hd_id3152463" xml-lang="en-US" level="3" l10n="U" oldref="53">Cutting, copying and pasting data</paragraph>
<paragraph role="paragraph" id="par_id3149287" xml-lang="en-US" l10n="U" oldref="54">You can cut, copy, and paste table fields in <emph>Data Source</emph> view. The Data Source browser also supports the dragging and dropping of table fields, or simple text and numbers from other $[officename] files.</paragraph>
<paragraph role="paragraph" id="par_id3146921" xml-lang="en-US" l10n="U" oldref="64">You cannot drag and drop to Yes/No, binary, image, or counting table fields.</paragraph>
<paragraph role="note" id="par_id3149064" xml-lang="en-US" l10n="U" oldref="63">Drag and drop only works in <emph>Edit</emph> mode.</paragraph>
<embed href="text/shared/main0212.xhp#datenbank"/>
<paragraph role="heading" id="hd_id3147295" xml-lang="en-US" level="3" l10n="U" oldref="24">Navigating in the Data Source Browser</paragraph>
<paragraph role="paragraph" id="par_id3152598" xml-lang="en-US" l10n="U" oldref="25">Use the Form Navigation bar at the bottom of the Data Source view to navigate between different records.</paragraph>
<paragraph role="heading" id="hd_id3145263" xml-lang="en-US" level="3" l10n="U" oldref="35">First record</paragraph>
<table id="tbl_id3149260">
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3149266" xml-lang="en-US" l10n="E">
<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>
	</image></paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3151173" xml-lang="en-US" l10n="U" oldref="36"><ahelp hid="HID_TLB_TREELISTBOX">Go to the first record in the table.</ahelp></paragraph>
</tablecell>
</tablerow>
</table>

<paragraph role="heading" id="hd_id3149417" xml-lang="en-US" level="3" l10n="U" oldref="37">Previous record</paragraph>
<table id="tbl_id3153223">
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3147484" xml-lang="en-US" l10n="E">
<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>
	</image></paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3153280" xml-lang="en-US" l10n="U" oldref="38"><ahelp hid="HID_TLB_TREELISTBOX">Go to the previous record in the table.</ahelp></paragraph>
</tablecell>
</tablerow>
</table>

<paragraph role="heading" id="hd_id3153053" xml-lang="en-US" level="3" l10n="U" oldref="39">Record number</paragraph>
<paragraph role="paragraph" id="par_id3155851" xml-lang="en-US" l10n="U" oldref="40"><ahelp hid="HID_TLB_TREELISTBOX">Type the number of the record that you want to display, and then press Enter.</ahelp></paragraph>
<paragraph role="heading" id="hd_id3157876" xml-lang="en-US" level="3" l10n="U" oldref="41">Next record</paragraph>
<table id="tbl_id3148880">
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3151075" xml-lang="en-US" l10n="E">
<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>
	</image></paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3166414" xml-lang="en-US" l10n="U" oldref="42"><ahelp hid="HID_TLB_TREELISTBOX">Go to the next record in the table.</ahelp></paragraph>
</tablecell>
</tablerow>
</table>

<paragraph role="heading" id="hd_id3154015" xml-lang="en-US" level="3" l10n="U" oldref="43">Last record</paragraph>
<table id="tbl_id3153512">
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3153838" xml-lang="en-US" l10n="E">
<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>
	</image></paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3147175" xml-lang="en-US" l10n="U" oldref="44"><ahelp hid="HID_TLB_TREELISTBOX">Go to the last record in the table.</ahelp></paragraph>
</tablecell>
</tablerow>
</table>

<paragraph role="heading" id="hd_id3145162" xml-lang="en-US" level="3" l10n="U" oldref="45">New record</paragraph>
<table id="tbl_id3147496">
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3151019" xml-lang="en-US" l10n="E">
<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>
	</image></paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3146913" xml-lang="en-US" l10n="U" oldref="46"><ahelp hid="HID_TLB_TREELISTBOX">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>
</tablecell>
</tablerow>
</table>

<paragraph role="heading" id="hd_id3150656" xml-lang="en-US" level="3" l10n="U" oldref="47">Number of records</paragraph>
<paragraph role="paragraph" id="par_id3148483" xml-lang="en-US" l10n="U" oldref="48">The Form Navigation bar also displays information about the number of records in the current table. 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.</paragraph>
<paragraph role="heading" id="hd_id3151357" xml-lang="en-US" level="3" l10n="U" oldref="26">Organizing tables</paragraph>
<paragraph role="paragraph" id="par_id3153357" xml-lang="en-US" l10n="U" oldref="28">To access the commands for formatting the table, right-click a column header, or a row header.</paragraph>
<paragraph role="heading" id="hd_id3148405" xml-lang="en-US" level="2" l10n="U" oldref="3"><link href="text/shared/01/05340402.xhp" name="Table Format">Table Format</link></paragraph>
<embed href="text/shared/01/05340402.xhp#tabformtext"/>
<paragraph role="heading" id="hd_id3083283" xml-lang="en-US" level="2" l10n="U" oldref="4"><link href="text/shared/01/05340100.xhp" name="Row Height">Row Height</link></paragraph>
<embed href="text/shared/01/05340100.xhp#zeilenhoehetext"/>
<embed href="text/shared/01/05340404.xhp#zeilenloeschen"/>
<paragraph role="heading" id="hd_id3150321" xml-lang="en-US" level="2" l10n="U" oldref="5"><link href="text/shared/01/05340405.xhp" name="Column Format">Column Format</link></paragraph>
<embed href="text/shared/01/05340405.xhp#spaltformtext"/>
<paragraph role="heading" id="hd_id3147341" xml-lang="en-US" level="2" l10n="U" oldref="6"><link href="text/shared/01/05340200.xhp" name="Column Width">Column Width</link></paragraph>
<embed href="text/shared/01/05340200.xhp#spaltetext"/>
<embed href="text/shared/01/05340500.xhp#feldausblenden"/>
<embed href="text/shared/01/05340600.xhp#alleeinblenden"/>
</body>
</helpdocument>