1<?xml version="1.0" encoding="UTF-8"?> 2 3 4 5<!-- 6 *********************************************************************** 7 * 8 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 9 * 10 * Copyright 2000, 2010 Oracle and/or its affiliates. 11 * 12 * OpenOffice.org - a multi-platform office productivity suite 13 * 14 * This file is part of OpenOffice.org. 15 * 16 * OpenOffice.org is free software: you can redistribute it and/or modify 17 * it under the terms of the GNU Lesser General Public License version 3 18 * only, as published by the Free Software Foundation. 19 * 20 * OpenOffice.org is distributed in the hope that it will be useful, 21 * but WITHOUT ANY WARRANTY; without even the implied warranty of 22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 * GNU Lesser General Public License version 3 for more details 24 * (a copy is included in the LICENSE file that accompanied this code). 25 * 26 * You should have received a copy of the GNU Lesser General Public License 27 * version 3 along with OpenOffice.org. If not, see 28 * <http://www.openoffice.org/license.html> 29 * for a copy of the LGPLv3 License. 30 * 31 ************************************************************************ 32 --> 33 34 35 <helpdocument version="1.0"> 36<meta> 37<topic id="textshared0105340400xml" indexer="include" status="PUBLISH"> 38<title id="tit" xml-lang="en-US">Data Sources</title> 39<filename>/text/shared/01/05340400.xhp</filename> 40</topic> 41</meta> 42<body> 43<section id="umgang"> 44<bookmark xml-lang="en-US" branch="index" id="bm_id3153116"><bookmark_value>data source browser</bookmark_value> 45<bookmark_value>tables in databases;browsing and editing</bookmark_value> 46<bookmark_value>databases; editing tables</bookmark_value> 47<bookmark_value>editing; database tables and queries</bookmark_value> 48<bookmark_value>queries; editing in data source view</bookmark_value> 49</bookmark><comment>mw deleted "database tables," and changed "tables in databases;"</comment><paragraph role="paragraph" id="par_id3153116" xml-lang="en-US" l10n="E" oldref="1" localize="false"/> 50<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> 51<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> 52</section> 53<embed href="text/shared/guide/database_main.xhp#database_main"/> 54<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> 55<paragraph role="heading" id="hd_id3149235" xml-lang="en-US" level="2" l10n="U" oldref="8">Data source browser</paragraph> 56<paragraph role="paragraph" id="par_id3154897" xml-lang="en-US" l10n="U" oldref="9"><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> 57<paragraph role="heading" id="hd_id3154514" xml-lang="en-US" level="3" l10n="U" oldref="12">Selecting records</paragraph> 58<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> 59<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_CTL_TABBROWSER" id="bm_id6056703" localize="false"/><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> 60<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> 61<table id="tbl_id3149795"> 62<tablerow> 63<tablecell colspan="" rowspan=""> 64<paragraph role="tablehead" id="par_id3158432" xml-lang="en-US" l10n="U" oldref="66">Selection</paragraph> 65</tablecell> 66<tablecell colspan="" rowspan=""> 67<paragraph role="tablehead" id="par_id3150670" xml-lang="en-US" l10n="U" oldref="67">Action</paragraph> 68</tablecell> 69</tablerow> 70<tablerow> 71<tablecell colspan="" rowspan=""> 72<paragraph role="tablecontent" id="par_id3153332" xml-lang="en-US" l10n="U" oldref="14">Record</paragraph> 73</tablecell> 74<tablecell colspan="" rowspan=""> 75<paragraph role="tablecontent" id="par_id3153700" xml-lang="en-US" l10n="U" oldref="15">Click the row header</paragraph> 76</tablecell> 77</tablerow> 78<tablerow> 79<tablecell colspan="" rowspan=""> 80<paragraph role="tablecontent" id="par_id3149575" xml-lang="en-US" l10n="U" oldref="16">Several records or removing a selection</paragraph> 81</tablecell> 82<tablecell colspan="" rowspan=""> 83<paragraph role="tablecontent" id="par_id3149295" xml-lang="en-US" l10n="U" oldref="17">Hold down <switchinline select="sys"><caseinline select="MAC">Command </caseinline><defaultinline>Ctrl </defaultinline></switchinline>and click the row header</paragraph> 84</tablecell> 85</tablerow> 86<tablerow> 87<tablecell colspan="" rowspan=""> 88<paragraph role="tablecontent" id="par_id3152360" xml-lang="en-US" l10n="U" oldref="18">Column</paragraph> 89</tablecell> 90<tablecell colspan="" rowspan=""> 91<paragraph role="tablecontent" id="par_id3153960" xml-lang="en-US" l10n="U" oldref="19">Click the column header</paragraph> 92</tablecell> 93</tablerow> 94<tablerow> 95<tablecell colspan="" rowspan=""> 96<paragraph role="tablecontent" id="par_id3150541" xml-lang="en-US" l10n="U" oldref="20">Data field</paragraph> 97</tablecell> 98<tablecell colspan="" rowspan=""> 99<paragraph role="tablecontent" id="par_id3150358" xml-lang="en-US" l10n="U" oldref="21">Click in the data field</paragraph> 100</tablecell> 101</tablerow> 102<tablerow> 103<tablecell colspan="" rowspan=""> 104<paragraph role="tablecontent" id="par_id3154366" xml-lang="en-US" l10n="U" oldref="22">Entire table</paragraph> 105</tablecell> 106<tablecell colspan="" rowspan=""> 107<paragraph role="tablecontent" id="par_id3156422" xml-lang="en-US" l10n="U" oldref="23">Click the row header of the column headings</paragraph> 108</tablecell> 109</tablerow> 110</table> 111<paragraph role="heading" id="hd_id3154822" xml-lang="en-US" level="3" l10n="CHG" oldref="49">Table Data toolbar (editing table data)</paragraph> 112<table id="tbl_id3145608"> 113<tablerow> 114<tablecell colspan="" rowspan=""> 115<paragraph role="paragraph" id="par_id3151041" xml-lang="en-US" l10n="E"> 116<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> 117 </image></paragraph> 118</tablecell> 119<tablecell colspan="" rowspan=""> 120<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.<comment>removed 3 ancient paras</comment></paragraph> 121</tablecell> 122</tablerow> 123</table> 124<paragraph role="heading" id="hd_id3152463" xml-lang="en-US" level="3" l10n="U" oldref="53">Cutting, copying and pasting data</paragraph> 125<paragraph role="paragraph" id="par_id3149287" xml-lang="en-US" l10n="CHG" oldref="54">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> 126<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> 127<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> 128<embed href="text/shared/main0212.xhp#datenbank"/> 129<paragraph role="heading" id="hd_id3147295" xml-lang="en-US" level="3" l10n="U" oldref="24">Navigating in the Data Source Browser</paragraph> 130<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> 131<paragraph role="heading" id="hd_id3145263" xml-lang="en-US" level="3" l10n="U" oldref="35">First record</paragraph> 132<table id="tbl_id3149260"> 133<tablerow> 134<tablecell colspan="" rowspan=""> 135<paragraph role="paragraph" id="par_id3149266" xml-lang="en-US" l10n="E"> 136<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> 137 </image></paragraph> 138</tablecell> 139<tablecell colspan="" rowspan=""> 140<bookmark xml-lang="en-US" branch="hid/SVX_HID_GRID_TRAVEL_FIRST" id="bm_id3152821005" localize="false"/> 141<paragraph role="paragraph" id="par_id3151173" xml-lang="en-US" l10n="U" oldref="36"><ahelp hid=".">Go to the first record in the table.</ahelp></paragraph> 142</tablecell> 143</tablerow> 144</table> 145<paragraph role="heading" id="hd_id3149417" xml-lang="en-US" level="3" l10n="U" oldref="37">Previous record</paragraph> 146<table id="tbl_id3153223"> 147<tablerow> 148<tablecell colspan="" rowspan=""> 149<paragraph role="paragraph" id="par_id3147484" xml-lang="en-US" l10n="E"> 150<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> 151 </image></paragraph> 152</tablecell> 153<tablecell colspan="" rowspan=""> 154<bookmark xml-lang="en-US" branch="hid/SVX_HID_GRID_TRAVEL_PREV" id="bm_id3152821002" localize="false"/> 155<paragraph role="paragraph" id="par_id3153280" xml-lang="en-US" l10n="U" oldref="38"><ahelp hid=".">Go to the previous record in the table.</ahelp></paragraph> 156</tablecell> 157</tablerow> 158</table> 159<paragraph role="heading" id="hd_id3153053" xml-lang="en-US" level="3" l10n="U" oldref="39">Record number</paragraph> 160<bookmark xml-lang="en-US" branch="hid/SVX_HID_GRID_TRAVEL_ABSOLUTE" id="bm_id3152821001" localize="false"/> 161<paragraph role="paragraph" id="par_id3155851" xml-lang="en-US" l10n="U" oldref="40"><ahelp hid=".">Type the number of the record that you want to display, and then press Enter.</ahelp></paragraph> 162<paragraph role="heading" id="hd_id3157876" xml-lang="en-US" level="3" l10n="U" oldref="41">Next record</paragraph> 163<table id="tbl_id3148880"> 164<tablerow> 165<tablecell colspan="" rowspan=""> 166<paragraph role="paragraph" id="par_id3151075" xml-lang="en-US" l10n="E"> 167<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> 168 </image></paragraph> 169</tablecell> 170<tablecell colspan="" rowspan=""> 171<bookmark xml-lang="en-US" branch="hid/SVX_HID_GRID_TRAVEL_NEXT" id="bm_id3152821003" localize="false"/> 172<paragraph role="paragraph" id="par_id3166414" xml-lang="en-US" l10n="U" oldref="42"><ahelp hid=".">Go to the next record in the table.</ahelp></paragraph> 173</tablecell> 174</tablerow> 175</table> 176<paragraph role="heading" id="hd_id3154015" xml-lang="en-US" level="3" l10n="U" oldref="43">Last record</paragraph> 177<table id="tbl_id3153512"> 178<tablerow> 179<tablecell colspan="" rowspan=""> 180<paragraph role="paragraph" id="par_id3153838" xml-lang="en-US" l10n="E"> 181<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> 182 </image></paragraph> 183</tablecell> 184<tablecell colspan="" rowspan=""> 185<bookmark xml-lang="en-US" branch="hid/SVX_HID_GRID_TRAVEL_LAST" id="bm_id3152821004" localize="false"/> 186<paragraph role="paragraph" id="par_id3147175" xml-lang="en-US" l10n="U" oldref="44"><ahelp hid=".">Go to the last record in the table.</ahelp></paragraph> 187</tablecell> 188</tablerow> 189</table> 190<paragraph role="heading" id="hd_id3145162" xml-lang="en-US" level="3" l10n="U" oldref="45">New record</paragraph> 191<table id="tbl_id3147496"> 192<tablerow> 193<tablecell colspan="" rowspan=""> 194<paragraph role="paragraph" id="par_id3151019" xml-lang="en-US" l10n="E"> 195<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> 196 </image></paragraph> 197</tablecell> 198<tablecell colspan="" rowspan=""> 199<bookmark xml-lang="en-US" branch="hid/SVX_HID_GRID_TRAVEL_NEW" id="bm_id3152821006" localize="false"/> 200<paragraph role="paragraph" id="par_id3146913" xml-lang="en-US" l10n="U" oldref="46"><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> 201</tablecell> 202</tablerow> 203</table> 204<paragraph role="heading" id="hd_id3150656" xml-lang="en-US" level="3" l10n="U" oldref="47">Number of records</paragraph> 205<bookmark xml-lang="en-US" branch="hid/SVX_HID_GRID_NUMBEROFRECORDS" id="bm_id3152821013" localize="false"/> 206<paragraph role="paragraph" id="par_id3148483" xml-lang="en-US" l10n="U" oldref="48"><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> 207<paragraph role="heading" id="hd_id3151357" xml-lang="en-US" level="3" l10n="U" oldref="26">Organizing tables</paragraph> 208<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> 209<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> 210<embed href="text/shared/01/05340402.xhp#tabformtext"/> 211<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> 212<embed href="text/shared/01/05340100.xhp#zeilenhoehetext"/> 213<embed href="text/shared/01/05340404.xhp#zeilenloeschen"/> 214<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> 215<embed href="text/shared/01/05340405.xhp#spaltformtext"/> 216<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> 217<embed href="text/shared/01/05340200.xhp#spaltetext"/> 218<embed href="text/shared/01/05340500.xhp#feldausblenden"/> 219<embed href="text/shared/01/05340600.xhp#alleeinblenden"/> 220</body> 221</helpdocument> 222