| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/LibreOffice/help/en-US/text/sdatabase/ |
Upload File : |
<!DOCTYPE html> <html lang="en-US" dir="ltr"> <head> <base href="../../../"> <noscript><meta http-equiv="refresh" content="0; URL=../../../en-US/noscript.html"></noscript> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Table Design</title> <link rel="shortcut icon" href="media/navigation/favicon.ico"> <link type="text/css" href="normalize.css" rel="Stylesheet"> <link type="text/css" href="prism.css" rel="Stylesheet"> <link type="text/css" href="default.css" rel="Stylesheet"> <script type="text/javascript" src="polyfills.js"></script><script type="text/javascript" src="languages.js"></script><script type="text/javascript" src="en-US/langnames.js"></script><script type="text/javascript" src="flexsearch.debug.js"></script><script type="text/javascript" src="prism.js"></script><script type="text/javascript" src="help2.js" defer></script><script type="text/javascript" src="a11y-toggle.js" defer></script><script type="text/javascript" src="paginathing.js" defer></script><script type="text/javascript" src="en-US/bookmarks.js" defer></script><script type="text/javascript" src="en-US/contents.js" defer></script><script type="text/javascript" src="help.js" defer></script><meta name="viewport" content="width=device-width,initial-scale=1"> </head> <body> <header id="TopLeftHeader"><a class="symbol" href="en-US/text/shared/05/new_help.html"><div></div></a><a class="logo" href="en-US/text/shared/05/new_help.html"><p dir="auto">LibreOffice 24.2 Help</p></a><div class="dropdowns"><div class="modules"> <button type="button" data-a11y-toggle="modules-nav" id="modules" aria-haspopup="true" aria-expanded="false" aria-controls="modules-nav">Module</button><nav id="modules-nav" hidden=""></nav> </div></div></header><aside class="leftside"><input id="accordion-1" name="accordion-menu" type="checkbox"><label for="accordion-1" dir="auto">Contents</label><div id="Contents" class="contents-treeview"></div></aside><div id="SearchFrame"><div id="Bookmarks"> <input id="search-bar" type="search" class="search" placeholder="Search in bookmarks for chosen module" dir="auto"><div class="nav-container" tabindex="0"><nav class="index" dir="auto"></nav></div> </div></div> <div id="DisplayArea" itemprop="softwareHelp" itemscope="true" itemtype="http://schema.org/SoftwareApplication"> <a name="table_design"></a> <h1 id="hd_id3154228" dir="auto">Table Design</h1> <p id="par_id3152363" class="paragraph" dir="auto">In the <span class="emph">Table Design</span> window you define new tables or edit the structure of an existing table.</p> <a name="howtoget"></a><div class="howtoget"> <div><p class="howtogetheader" dir="auto"><a name="wie"></a>To access this command...</p></div> <div class="howtogetbody"> <div class="embedded"><p class="embedded" dir="auto">In a database file window, click the <span class="emph">Tables</span> icon. Choose <span class="emph">Insert - Table Design</span> or <span class="emph">Edit - Edit</span>.</p></div> </div> </div> <br> <div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/shared/guide/database_main.html">Database Overview</a> </p></div> <div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/shared/guide/data_tabledefine.html">Table Design</a></p></div> <p id="par_id3146957" class="paragraph" dir="auto">The window has its own menu bar. It also contains the following new command: <a target="_top" href="en-US/text/sdatabase/05010100.html"><span class="emph">Index Design</span></a></p> <a name="bm_id3147088"></a> <h2 id="hd_id3152551" dir="auto">Table definition area</h2> <p id="par_id3153681" class="paragraph" dir="auto"><span class="avis">This area is where you define the table structure.</span></p> <a name="bm_id3145382"></a> <h3 id="hd_id3153031" dir="auto">Field Name</h3> <p id="par_id3156113" class="paragraph" dir="auto"><span class="avis">Specifies the name of the data field. The database engine may impose restrictions on the length of the table name, and the use of special characters and spaces within the table name.</span></p> <a name="bm_id3148473"></a> <h3 id="hd_id3147618" dir="auto">Field type</h3> <p id="par_id3154897" class="paragraph" dir="auto"><span class="avis">Specifies the field type. The available field types are limited by the database engine being used.</span></p> <a name="bm_id3149233"></a> <h3 id="hd_id3156119" dir="auto">Description</h3> <p id="par_id3145315" class="paragraph" dir="auto"><span class="avis">Specifies an optional description for each field.</span></p> <p id="par_id3155630" class="paragraph" dir="auto">The row headers contain the following context menu commands:</p> <h3 id="hd_id3156330" dir="auto">Cut</h3> <p id="par_id3159157" class="paragraph" dir="auto">Cuts the selected row to the clipboard.</p> <h3 id="hd_id3159177" dir="auto">Copy</h3> <p id="par_id3148685" class="paragraph" dir="auto">Copies the selected row to the clipboard.</p> <h3 id="hd_id3156327" dir="auto">Paste</h3> <p id="par_id3152472" class="paragraph" dir="auto">Pastes the content of the clipboard.</p> <h3 id="hd_id3144511" dir="auto">Delete</h3> <p id="par_id3148550" class="paragraph" dir="auto"><span class="avis">Deletes the selected row.</span></p> <a name="bm_id3159414"></a> <h3 id="hd_id3147303" dir="auto">Insert Rows</h3> <p id="par_id3149456" class="paragraph" dir="auto"><span class="avis">Inserts an empty row above the current row, if the table has not been saved. Inserts an empty row at the end of the table if the table has already been saved.</span></p> <a name="bm_id3150791"></a> <h3 id="hd_id3153524" dir="auto">Primary Key</h3> <p id="par_id3150398" class="paragraph" dir="auto"><span class="avis">If this command has a check mark, the data field is defined as a primary key.</span> By clicking the command you activate/deactivate the primary key definition of the field. The command is only visible if the data source supports primary keys.</p> <h2 id="hd_id3153104" dir="auto">Field properties</h2> <p id="par_id3148922" class="paragraph" dir="auto">Defines the field properties of the currently selected field.</p> <h3 id="hd_id3150767" dir="auto">Length</h3> <p id="par_id3144761" class="paragraph" dir="auto">Specifies the maximum number of characters allowed for data entry of the corresponding data field including any spaces or special characters.</p> <h3 id="hd_id3154948" dir="auto">Decimal places</h3> <p id="par_id3149203" class="paragraph" dir="auto">Specifies the number of decimal places for a numerical field or decimal field.</p> <a name="bm_id3158410"></a> <h3 id="hd_id3156422" dir="auto">Default value</h3> <p id="par_id3125863" class="paragraph" dir="auto"><span class="avis">Specifies the value that is the default in new data records.</span></p> <a name="bm_id3149562"></a> <h3 id="hd_id3147289" dir="auto">Format example</h3> <p id="par_id3155131" class="paragraph" dir="auto"><span class="avis">Displays a sample of the format code of the field by applying it to the default value. Select the format code with the <span class="emph">Format Field</span> button.</span></p> <a name="bm_id3147319"></a> <h3 id="hd_id3154129" dir="auto">Format Field</h3> <p id="par_id3154146" class="paragraph" dir="auto"><span class="avis">This button opens the <a target="_top" href="en-US/text/shared/01/05340405.html"><span class="emph">Format Field</span></a> dialog.</span></p> <a name="bm_id3152941"></a> <h2 id="hd_id3152576" dir="auto">Help area</h2> <p id="par_id3150685" class="paragraph" dir="auto"><span class="avis">Displays a help string or hint defined by the database designer for the given field.</span></p> </div> <div id="DonationFrame"></div> <footer><div id="DEBUG" class="debug"> <h3 class="bug">Help content debug info:</h3> <p dir="auto">This page is: <a href="https://opengrok.libreoffice.org/xref/help/source/text/sdatabase/05010000.xhp" target="_blank">/text/sdatabase/05010000.xhp</a></p> <p dir="auto">Title is: Table Design</p> <p id="bm_module" dir="auto"></p> <p id="bm_system" dir="auto"></p> <p id="bm_HID" dir="auto"></p> </div></footer> </body> </html>