Importing and Exporting Data in Text Format/text/shared/guide/data_dbase2office.xhpSun Microsystems, Inc.converted from old format - fpedatabases; text formatstext formats; databasesimporting; tables in text formatexporting; spreadsheets to text formatImporting and Exporting Data in Text Format
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.Importing Data Into $[officename]To exchange data in a text format use the $[officename] Calc import/export filter.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.Choose File - Open and select "Text CSV" from the File type combo box. Select the file and click Open.The Text Import dialog appears. Decide which data to include from the text document.Once the data is in a $[officename] Calc spreadsheet, you can edit it as needed. You have two ways of saving the data as a $[officename] data source:Save the current $[officename] Calc spreadsheet in dBase format in the folder of a dBase database. To do this, choose File - Save As, then select the File type "dBase" and the folder of the dBase database.Select the data range in the $[officename] Calc spreadsheet and drag the range to a table container in a database file. A Wizard starts automatically.Exporting in CSV Text FormatYou can export the current $[officename] spreadsheet in a text format which can be read by many other applications.Choose File - Save as.In File type select the filter "Text CSV". Enter a file name and click Save.This opens the dBase Export dialog, in which you can select the character set, field delimiter and text delimiter. Click OK. A warning informs you that only the active sheet was saved.