| 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/shared/guide/ |
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>Importing and Exporting Data in Text Format</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 all modules" 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="bm_id3157896"></a><meta itemprop="keywords" content="databases, text formats"> <meta itemprop="keywords" content="text formats, databases"> <meta itemprop="keywords" content="importing, tables in text format"> <meta itemprop="keywords" content="exporting, spreadsheets to text format"> <h1 id="hd_id3154824" dir="auto"> <a name="data_dbase2office"></a>Importing and Exporting Data in Text Format </h1> <p id="par_id3147088" class="paragraph" dir="auto">If you want to exchange data with a database that does not have an ODBC link and does not allow dBASE import and export, you can use a common text format.</p> <h2 id="hd_id3145313" dir="auto">Importing Data into LibreOffice</h2> <p id="par_id3147275" class="paragraph" dir="auto">To exchange data in a text format use the LibreOffice Calc import/export filter.</p> <ol itemprop="HowTo" itemscope="true" itemtype="http://schema.org/HowToSection" dir="auto"> <li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto"> <p id="par_id3145382" class="listitem" dir="auto">Export the desired data from the source database in a text format. The CSV text format is recommended. This format separates data fields by using delimiters such as commas or semi-colons, and separates records by inserting line breaks.</p> </li> <li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto"> <p id="par_id3153821" class="listitem" dir="auto">Choose <span class="emph">File - </span><a target="_top" href="en-US/text/shared/01/01020000.html"><span class="emph">Open</span></a> and click the file to import.</p> </li> <li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto"> <p id="par_id1977904" class="listitem" dir="auto">Select "Text CSV" from the <span class="emph">File type</span> combo box. Click <span class="emph">Open</span>.</p> </li> <li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto"> <p id="par_id3150771" class="listitem" dir="auto">The <a target="_top" href="en-US/text/shared/00/00000208.html"><span class="emph">Text Import</span></a> dialog appears. Decide which data to include from the text document.</p> </li> </ol> <p id="par_id3150986" class="paragraph" dir="auto">Once the data is in a LibreOffice Calc spreadsheet, you can edit it as needed. Save the data as a LibreOffice data source:</p> <ul itemprop="Unordered" itemscope="true" itemtype="http://schema.org/ItemList" dir="auto"> <li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/ItemListUnordered" dir="auto"> <p id="par_id3149762" class="listitem" dir="auto">Save the current LibreOffice Calc spreadsheet in dBASE format in the folder of a dBASE database. To do this, choose <span class="emph">File - Save As</span>, then select the <span class="emph">File type</span> "dBASE" and the folder of the dBASE database.</p> </li> </ul> <h2 id="hd_id3150400" dir="auto">Exporting in CSV Text Format</h2> <p id="par_id3154140" class="paragraph" dir="auto">You can export the current LibreOffice spreadsheet in a text format which can be read by many other applications.</p> <ol itemprop="HowTo" itemscope="true" itemtype="http://schema.org/HowToSection" dir="auto"> <li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto"> <p id="par_id3152933" class="listitem" dir="auto">Choose <span class="emph">File - Save as</span>.</p> </li> <li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto"> <p id="par_id3154216" class="listitem" dir="auto">In <span class="emph">File type</span> select the filter "Text CSV". Enter a file name and click <span class="emph">Save</span>.</p> </li> <li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto"> <p id="par_id3154908" class="listitem" dir="auto">This opens the <a target="_top" href="en-US/text/shared/00/00000207.html"><span class="emph">Export of text files</span></a> dialog, in which you can select the character set, field delimiter and text delimiter. Click <span class="emph">OK</span>. A warning informs you that only the active sheet was saved.</p> </li> </ol> <a name="relatedtopics"></a><div class="relatedtopics"> <p class="related" itemprop="mentions" dir="auto"><a name="related"></a><span class="emph">Related Topics</span> </p> <div class="relatedbody" itemprop="mentions"> <div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/shared/guide/data_im_export.html">Importing and Exporting Data in Base</a> </p></div> <span id="swlnappltextsharedguidedata_dbase2officexml_1" class="switch"> <span hidden="true" id="CALCtextsharedguidedata_dbase2officexml_1" class="CALC"><div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/scalc/guide/dbase_files.html">Importing and Exporting dBASE Files</a> </p></div></span> </span> </div> </div> </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/shared/guide/data_dbase2office.xhp" target="_blank">/text/shared/guide/data_dbase2office.xhp</a></p> <p dir="auto">Title is: Importing and Exporting Data in Text Format</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>