summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/sdatabase/dabawiz02text.xhp
blob: 18b734d57cbf98c3e7374b940cdc4cf0c7ca8805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="UTF-8"?>
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->
<helpdocument version="1.0">
<meta>
<topic id="textsharedexplorerdatabasedabawiz02textxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Text File Connection</title>
<filename>/text/sdatabase/dabawiz02text.xhp</filename>
</topic>
<history>
<created date="2004-07-28T15:03:00">UFI: Database Wizard text file</created>
</history>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id2517166"><bookmark_value>tables in databases;importing text formats (Base)</bookmark_value>
<bookmark_value>text databases (Base)</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbwiztextpage/DBWizTextPage" id="bm_id1533859" localize="false"/>
<h1 id="par_idN1054F">Set up a connection to text files</h1>
<paragraph role="paragraph" id="par_idN10553" xml-lang="en-US"><ahelp hid=".">Specifies the settings for importing a database in text format.</ahelp><comment>UFI: most text copied without editing from shared\explorer\database\11040000</comment></paragraph>
<paragraph role="paragraph" id="par_idN10568" xml-lang="en-US">In a text format database, data is stored in an unformatted ASCII file, where each record comprises a row. The data fields are divided by separators. Text in the data fields is divided by quotation marks.</paragraph>
<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbwiztextpage/browseurl" id="bm_id1533860" localize="false"/>
<h2 id="par_idN1056B">Path to text files</h2>
<paragraph role="paragraph" id="par_idN1056F" xml-lang="en-US"><ahelp hid=".">Enter the path to the text file or files. If you just want one text file, you can use any extension of the file name. If you enter a folder name, the text files in that folder must have the extension *.csv to be recognized as files of the text database.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbwiztextpage/browse" id="bm_id1796624" localize="false"/>
<h2 id="par_idN10572">Browse</h2>
<paragraph role="paragraph" id="par_idN10576" xml-lang="en-US"><ahelp hid=".">Click to open a file selection dialog.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/textpage/textfile" id="bm_id3230994" localize="false"/>
<h2 id="par_idN10616">Plain text files (*.txt)</h2>
<paragraph role="paragraph" id="par_idN1061A" xml-lang="en-US"><ahelp hid=".">Click to access txt files.</ahelp><comment>UFI: sorry, this is not in the spec.</comment></paragraph>
<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/textpage/csvfile" id="bm_id1720023" localize="false"/>
<h2 id="par_idN10643">'Comma separated value' files (*.csv)</h2>
<paragraph role="paragraph" id="par_idN10647" xml-lang="en-US"><ahelp hid=".">Click to access csv files.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/textpage/custom" id="bm_id2862636" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/textpage/extension" id="bm_id2447279" localize="false"/>
<h2 id="par_idN10666">Custom</h2>
<paragraph role="paragraph" id="par_idN1066A" xml-lang="en-US"><ahelp hid=".">Click to access custom files. Enter the extension in the text box.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/textpage/fieldseparator" id="bm_id3149578" localize="false"/>
<h2 id="par_idN10581">Field separator</h2>
<paragraph role="paragraph" id="par_idN10585" xml-lang="en-US"><ahelp hid=".">Enter or select the character that separates data fields in the text file.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/textpage/textseparator" id="bm_id3149795" localize="false"/>
<h2 id="par_idN1059C">Text separator</h2>
<paragraph role="paragraph" id="par_idN105A0" xml-lang="en-US"><ahelp hid=".">Enter or select the character that identifies a text field in the text file.</ahelp> You cannot use the same character as the field separator.</paragraph>
<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/textpage/decimalseparator" id="bm_id3151385" localize="false"/>
<h2 id="par_idN105B8">Decimal separator</h2>
<paragraph role="paragraph" id="par_idN105BC" xml-lang="en-US"><ahelp hid=".">Enter or select the character that is used as a decimal separator in the text file, for example, a period (0.5) or a comma (0,5).</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/textpage/thousandsseparator" id="bm_id3153897" localize="false"/>
<h2 id="par_idN105D3">Thousands separator</h2>
<paragraph role="paragraph" id="par_idN105D7" xml-lang="en-US"><ahelp hid=".">Enter or select the character that is used as a thousands separator in the text file, for example a comma (1,000), or a period (1.000).</ahelp></paragraph>
<paragraph role="paragraph" localize="false" id="par_idN1061A" xml-lang="en-US"><embedvar href="text/sdatabase/dabawiz00.xhp#databasewizardh1"/></paragraph>
</body>
</helpdocument>