<p class="Paragraph">If a table is open in the Design mode, it cannot be opened in the Data View. You have to first close the Design View or at least switch off the edit mode.</p>
<p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">When you open a database table or query, the <help:link Id="65806" Eid="datenbankleiste">Database bar</help:link> and the <help:link Id="65806" Eid="kontextmenues">column and row context menus</help:link> contain various functions used to edit the table.</help:help-text></p>
<p class="Paragraph"><help:key-word value="navigating; in databases" tag="kw65806_7" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="databases; navigating in" tag="kw65806_6" xmlns:help="http://openoffice.org/2000/help"/>A <help:link Id="65806" Eid="navigationsleiste" xmlns:help="http://openoffice.org/2000/help">Navigation Bar</help:link> at the bottom edge of the Data View allows for quick navigation within records.</p>
<p class="Head3">Selection in Data View</p>
<p class="Paragraph">Data View shows the records of the loaded database table. A pointer on the left edge of the window indicates the active record. You can move the pointer with the (Up Arrow) and (Down Arrow) keys, the buttons on the lower edge of the window, or with the mouse.</p>
<p class="Paragraph">You have several options for editing individual fields, records or columns in the Data View. You must first select the appropriate elements so OpenOffice.org Base knows what you want to edit. The following table provides an overview of how you can select individual elements in the Data View.</p>
<p class="Paragraph">There are also icons to use to edit the table (add, change or delete data). You can use the function bar icons <span class="T1">Edit</span>, <span class="T1">Save</span> and <span class="T1">Undo</span>.</p>
<p class="Paragraph">A OpenOffice.org Base database table is always opened in read-only mode. To edit it, click the <help:link Id="65971" xmlns:help="http://openoffice.org/2000/help"><span class="T1">Edit</span></help:link> icon in the Function bar. You can modify the order of the records with the cut and paste commands in the context menu to move a record to a new position.</p>
<p class="Paragraph">You cannot change the structure of a database table, e.g. sequence or properties of the data fields, in Data View. For that you need to use the Table Design.</p>
<p class="Paragraph">When you edit a query, the changes are immediately applied in the database table. Data can be added, changed or deleted only if the query applies to a single table. A query across several tables is opened with write protection and can only be edited in <help:link Id="66162" xmlns:help="http://openoffice.org/2000/help">Query Design</help:link>.</p>
<p class="Paragraph">Database tables that require an index or primary key for identification of the data records cannot be edited (i.e. data entered, modified or deleted) if there is no index or primary key in the table definition.</p>
</span></th></tr></table>
<p class="Paragraph"/>
<p class="Head3">Cutting, copying and pasting data</p>
<p class="Paragraph">The <span class="T1">Cut</span>, <span class="T1">Copy</span> and <span class="T1">Paste</span> functions become available when an individual field is selected. You can cut or copy the contents of a table cell and insert the contents into another cell. The commands are available on the <span class="T1">Edit</span> menu, the function bar or the context menu of a selected cell. You also can use the appropriate shortcut keys:<help:switch select="System" xmlns:help="http://openoffice.org/2000/help"><help:case select="MAC">Command</help:case><help:default>Ctrl</help:default></help:switch>+X, <help:switch select="System" xmlns:help="http://openoffice.org/2000/help"><help:case select="MAC">Command</help:case><help:default>Ctrl</help:default></help:switch>+C, <help:switch select="System" xmlns:help="http://openoffice.org/2000/help"><help:case select="MAC">Command</help:case><help:default>Ctrl</help:default></help:switch>+V.</p>
<p class="Head3">Copying by Drag&Drop in the table</p>
<p class="Paragraph">You can drag and drop to copy field contents within a table. To do so, select the contents of a field and drag it to a different field.</p>
<p class="Head3"><a name="dddoktab"/>Drag and Drop Copying Between Tables and Documents</p>
<p class="Paragraph">Simple text can be dragged from a OpenOffice.org document to a table cell with Drag&Drop. Text in the field will be overwritten.</p>
<ol class="L1">
<li class="">
<p class="P2">First, select the data field in the database table where you want to insert the text.</p>
</li>
<li class="">
<p class="P2">Then select in the other document the text to be copied and drag it into the data field selected in the first step.</p>
</li>
</ol>
<p class="Paragraph">If the table or query is displayed in the Beamer, drag the text from the current document to the Beamer. If the table or query is open as a separate task, you can drag the text from the document into the table via the task bar.</p>
<p class="Paragraph">The table must be in the Edit mode for text to be copied into it by drag and drop. You also have to first select the cell you want to copy the text into.</p>
<p class="Paragraph">Copying with Drag&Drop from a OpenOffice.org document is only possible with simple text; i.e. only alphanumeric characters (text or numbers). The following field types cannot be the target of Drag&Drop: Yes/No, binary, image and counting fields.</p>
<p class="Paragraph">You can also drag and drop to copy data from a database table into a document. The process is described in <help:link Id="65759" Eid="ddtabdok" xmlns:help="http://openoffice.org/2000/help">Database Beamer Help</help:link>.</p>
<p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">With this button you place the pointer on the first record.</help:help-text></p>
<p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">With this button you place the pointer on the previous record.</help:help-text></p>
</span></th></tr></table>
<p class="Paragraph"/>
<p class="Head3">Record number</p>
<p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Here you see the number of the current data record which refers to the pointer on the left window border. </help:help-text> To place the pointer in the new position, enter here a different number and press the enter key.</p>
<p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">With this button, you place the pointer on the next record.</help:help-text></p>
<p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">With this button, you place the pointer on the last record.</help:help-text></p>
<p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">When you click the star icon, the cursor positions itself at the end of the database table so you can enter a new record. This function is only available when the database is in the edit mode. That is, the <help:link Id="65971"><span class="T1">Edit</span></help:link> icon must be activated on the data base or function bar.</help:help-text></p>
</span></th></tr></table>
<p class="Paragraph"/>
<p class="Head3">Selection/Entire</p>
<p class="Paragraph">The form x/y indicates how many records are selected (x) and the total number of records (y). If the records are currently being read and counted in the background, a question mark will be displayed (y = ?) instead of the total number of records.</p>
<p class="Paragraph">The context menu of the row and column headers contains various commands to modify the table view. You do not need to save the changes you make since OpenOffice.org Base automatically applies the changes. When you close the table and reopen it, you will see that the attributes you set still apply.</p>
<p class="Paragraph">The following commands are available for organizing tables:</p>