summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/sdatabase
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:06:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:06:44 +0000
commited5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch)
tree7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /helpcontent2/source/text/sdatabase
parentInitial commit. (diff)
downloadlibreoffice-upstream.tar.xz
libreoffice-upstream.zip
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--helpcontent2/source/text/sdatabase/02000000.xhp72
-rw-r--r--helpcontent2/source/text/sdatabase/02000002.xhp45
-rw-r--r--helpcontent2/source/text/sdatabase/02010100.xhp855
-rw-r--r--helpcontent2/source/text/sdatabase/02010101.xhp63
-rw-r--r--helpcontent2/source/text/sdatabase/04000000.xhp54
-rw-r--r--helpcontent2/source/text/sdatabase/04030000.xhp45
-rw-r--r--helpcontent2/source/text/sdatabase/05000000.xhp42
-rw-r--r--helpcontent2/source/text/sdatabase/05000001.xhp44
-rw-r--r--helpcontent2/source/text/sdatabase/05000003.xhp45
-rw-r--r--helpcontent2/source/text/sdatabase/05010000.xhp86
-rw-r--r--helpcontent2/source/text/sdatabase/05010100.xhp61
-rw-r--r--helpcontent2/source/text/sdatabase/05020000.xhp63
-rw-r--r--helpcontent2/source/text/sdatabase/05020100.xhp72
-rw-r--r--helpcontent2/source/text/sdatabase/05030000.xhp52
-rw-r--r--helpcontent2/source/text/sdatabase/05030100.xhp55
-rw-r--r--helpcontent2/source/text/sdatabase/05030200.xhp44
-rw-r--r--helpcontent2/source/text/sdatabase/05030300.xhp63
-rw-r--r--helpcontent2/source/text/sdatabase/05030400.xhp55
-rw-r--r--helpcontent2/source/text/sdatabase/05040000.xhp34
-rw-r--r--helpcontent2/source/text/sdatabase/05040100.xhp59
-rw-r--r--helpcontent2/source/text/sdatabase/05040200.xhp36
-rw-r--r--helpcontent2/source/text/sdatabase/11000002.xhp48
-rw-r--r--helpcontent2/source/text/sdatabase/11020000.xhp68
-rw-r--r--helpcontent2/source/text/sdatabase/11030000.xhp52
-rw-r--r--helpcontent2/source/text/sdatabase/11030100.xhp48
-rw-r--r--helpcontent2/source/text/sdatabase/11080000.xhp69
-rw-r--r--helpcontent2/source/text/sdatabase/11090000.xhp34
-rw-r--r--helpcontent2/source/text/sdatabase/dabaadvprop.xhp40
-rw-r--r--helpcontent2/source/text/sdatabase/dabaadvpropdat.xhp130
-rw-r--r--helpcontent2/source/text/sdatabase/dabaadvpropgen.xhp52
-rw-r--r--helpcontent2/source/text/sdatabase/dabadoc.xhp38
-rw-r--r--helpcontent2/source/text/sdatabase/dabaprop.xhp41
-rw-r--r--helpcontent2/source/text/sdatabase/dabapropadd.xhp73
-rw-r--r--helpcontent2/source/text/sdatabase/dabapropcon.xhp46
-rw-r--r--helpcontent2/source/text/sdatabase/dabapropgen.xhp73
-rw-r--r--helpcontent2/source/text/sdatabase/dabawiz00.xhp69
-rw-r--r--helpcontent2/source/text/sdatabase/dabawiz01.xhp71
-rw-r--r--helpcontent2/source/text/sdatabase/dabawiz02.xhp42
-rw-r--r--helpcontent2/source/text/sdatabase/dabawiz02access.xhp39
-rw-r--r--helpcontent2/source/text/sdatabase/dabawiz02ado.xhp56
-rw-r--r--helpcontent2/source/text/sdatabase/dabawiz02dbase.xhp40
-rw-r--r--helpcontent2/source/text/sdatabase/dabawiz02jdbc.xhp89
-rw-r--r--helpcontent2/source/text/sdatabase/dabawiz02mysql.xhp73
-rw-r--r--helpcontent2/source/text/sdatabase/dabawiz02odbc.xhp51
-rw-r--r--helpcontent2/source/text/sdatabase/dabawiz02oracle.xhp60
-rw-r--r--helpcontent2/source/text/sdatabase/dabawiz02pgsql.xhp50
-rw-r--r--helpcontent2/source/text/sdatabase/dabawiz02spreadsheet.xhp43
-rw-r--r--helpcontent2/source/text/sdatabase/dabawiz02text.xhp67
-rw-r--r--helpcontent2/source/text/sdatabase/dabawiz03auth.xhp44
-rw-r--r--helpcontent2/source/text/sdatabase/main.xhp100
-rw-r--r--helpcontent2/source/text/sdatabase/menubar.xhp41
-rw-r--r--helpcontent2/source/text/sdatabase/menuedit.xhp83
-rw-r--r--helpcontent2/source/text/sdatabase/menufile.xhp51
-rw-r--r--helpcontent2/source/text/sdatabase/menufilesave.xhp47
-rw-r--r--helpcontent2/source/text/sdatabase/menuinsert.xhp48
-rw-r--r--helpcontent2/source/text/sdatabase/menutools.xhp51
-rw-r--r--helpcontent2/source/text/sdatabase/menuview.xhp74
-rw-r--r--helpcontent2/source/text/sdatabase/migrate_macros.xhp61
-rw-r--r--helpcontent2/source/text/sdatabase/password.xhp41
-rw-r--r--helpcontent2/source/text/sdatabase/querywizard00.xhp49
-rw-r--r--helpcontent2/source/text/sdatabase/querywizard01.xhp48
-rw-r--r--helpcontent2/source/text/sdatabase/querywizard02.xhp56
-rw-r--r--helpcontent2/source/text/sdatabase/querywizard03.xhp57
-rw-r--r--helpcontent2/source/text/sdatabase/querywizard04.xhp56
-rw-r--r--helpcontent2/source/text/sdatabase/querywizard05.xhp43
-rw-r--r--helpcontent2/source/text/sdatabase/querywizard06.xhp57
-rw-r--r--helpcontent2/source/text/sdatabase/querywizard07.xhp39
-rw-r--r--helpcontent2/source/text/sdatabase/querywizard08.xhp48
-rw-r--r--helpcontent2/source/text/sdatabase/rep_datetime.xhp43
-rw-r--r--helpcontent2/source/text/sdatabase/rep_insertfield.xhp104
-rw-r--r--helpcontent2/source/text/sdatabase/rep_main.xhp237
-rw-r--r--helpcontent2/source/text/sdatabase/rep_navigator.xhp70
-rw-r--r--helpcontent2/source/text/sdatabase/rep_pagenumbers.xhp52
-rw-r--r--helpcontent2/source/text/sdatabase/rep_prop.xhp86
-rw-r--r--helpcontent2/source/text/sdatabase/rep_sort.xhp89
-rw-r--r--helpcontent2/source/text/sdatabase/tablewizard00.xhp48
-rw-r--r--helpcontent2/source/text/sdatabase/tablewizard01.xhp54
-rw-r--r--helpcontent2/source/text/sdatabase/tablewizard02.xhp63
-rw-r--r--helpcontent2/source/text/sdatabase/tablewizard03.xhp63
-rw-r--r--helpcontent2/source/text/sdatabase/tablewizard04.xhp54
-rw-r--r--helpcontent2/source/text/sdatabase/toolbar_form.xhp98
-rw-r--r--helpcontent2/source/text/sdatabase/toolbar_query.xhp112
-rw-r--r--helpcontent2/source/text/sdatabase/toolbar_report.xhp112
-rw-r--r--helpcontent2/source/text/sdatabase/toolbar_table.xhp193
-rw-r--r--helpcontent2/source/text/sdatabase/toolbars.xhp38
85 files changed, 6117 insertions, 0 deletions
diff --git a/helpcontent2/source/text/sdatabase/02000000.xhp b/helpcontent2/source/text/sdatabase/02000000.xhp
new file mode 100644
index 000000000..03917dfce
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/02000000.xhp
@@ -0,0 +1,72 @@
+<?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="textsharedexplorerdatabase02000000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Queries</title>
+<filename>/text/sdatabase/02000000.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="queries">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150445"><bookmark_value>queries;overview (Base)</bookmark_value>
+<bookmark_value>tables in databases; printing queries (Base)</bookmark_value>
+<bookmark_value>printing; queries (Base)</bookmark_value>
+<bookmark_value>queries; printing (Base)</bookmark_value>
+</bookmark><comment>mw added "(Base)" to all entries </comment><h1 id="hd_id3150445"><link href="text/sdatabase/02000000.xhp" name="Queries">Queries</link></h1>
+<paragraph role="paragraph" id="par_id3150499" xml-lang="en-US">A "query" is a special view of a table. A query can display chosen records or chosen fields within records; it can also sort those records. A query can apply to one table or to multiple tables, if they are linked by common data fields.<comment>i73680</comment></paragraph>
+</section>
+<section id="howtoget">
+ <embed href="text/shared/00/00000450.xhp#Abfragen"/>
+</section>
+<paragraph role="paragraph" id="par_id3147399" xml-lang="en-US">Use queries to find records from data tables based on certain criteria. All queries created for a database are listed under the <emph>Queries</emph> entry. Since this entry contains the database queries, it is also called the "query container".</paragraph>
+<h2 id="hd_id3153750">Printing Queries</h2>
+<paragraph role="paragraph" id="par_id3149183" xml-lang="en-US">To print a query or table:</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3156426" xml-lang="en-US">Open a text document (or a spreadsheet document if you prefer the specific printing functions of this type of document).</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3149827" xml-lang="en-US">Open the database file and click the Table icon if you want to print a table, or click the Query icon if you want to print a query.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3149398" xml-lang="en-US">Drag the name of the table or query into the open text document or spreadsheet. The dialog <link href="text/shared/02/12070000.xhp" name="Insert Database Columns">Insert Database Columns</link> opens.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3150443" xml-lang="en-US">Decide which columns = data fields you want to include. You can also click the <emph>AutoFormat</emph> button and select a corresponding formatting type. Close the dialog.</paragraph>
+<paragraph role="listitem" id="par_id3153561" xml-lang="en-US">The query or table will be inserted into your document.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3150503" xml-lang="en-US">Print the document by choosing <emph>File - Print</emph>.</paragraph>
+</listitem>
+</list>
+<tip id="par_id3153146">You can also open the data source view (Ctrl+Shift+F4), select the entire database table in the data source view (click on the top left corner of the table), and then drag the selection to a text document or spreadsheet.</tip>
+<h2 id="hd_id3148946"><link href="text/shared/main0212.xhp" name="Sorting and Filtering Data">Sorting and Filtering Data</link></h2>
+<paragraph role="paragraph" id="par_id3149655" xml-lang="en-US">Allows you to sort and filter the data in a query table.</paragraph>
+<h2 id="hd_id3153379"><link href="text/sdatabase/02010100.xhp" name="Query Design">Query Design</link></h2>
+<paragraph role="paragraph" id="par_id3151211" xml-lang="en-US">With the <emph>Query Design</emph>, you can create and edit a query or view.</paragraph>
+<embed href="text/shared/main0214.xhp#sql"/>
+<h2 id="hd_id3153968"><link href="text/sdatabase/02010100.xhp" name="Query Through Several Tables">Query Through Several Tables</link></h2>
+<paragraph role="paragraph" id="par_id3151043" xml-lang="en-US">The query result can contain data from several tables if these are linked to each other by suitable data fields.</paragraph>
+<h2 id="hd_id3159149"><link href="text/sdatabase/02010100.xhp" name="Formulating Query Criteria">Formulating Query Criteria</link></h2>
+<paragraph role="paragraph" id="par_id3154910" xml-lang="en-US">You can find out which operators and commands can be used to formulate the filter conditions for a query.</paragraph>
+<h2 id="hd_id3156212"><link href="text/sdatabase/02010100.xhp" name="Executing Functions">Executing Functions</link></h2>
+<paragraph role="paragraph" id="par_id3144762" xml-lang="en-US">You can perform calculations with the data of a table and store the results as a query result.</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/02000002.xhp b/helpcontent2/source/text/sdatabase/02000002.xhp
new file mode 100644
index 000000000..99024ab9a
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/02000002.xhp
@@ -0,0 +1,45 @@
+<?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="textsharedexplorerdatabase02000002xml" indexer="exclude" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Missing Element</title>
+<filename>/text/sdatabase/02000002.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150445"><bookmark_value>queries; missing elements (Base)</bookmark_value>
+</bookmark><comment>mw added "(Base)"</comment><h1 id="hd_id3150445">Missing Element</h1>
+<paragraph role="paragraph" id="par_id3150247" xml-lang="en-US">If a query in which tables or fields no longer exist is opened, the<emph> Missing Element </emph>dialog appears. This dialog names the missing table or the field which cannot be interpreted and allows you to decide how to continue with the procedure.</paragraph>
+<section id="howtoget">
+<embed href="text/shared/00/00000450.xhp#FehlendesElement"/>
+</section>
+<h2 id="hd_id3145072">How to continue?</h2>
+<paragraph role="paragraph" id="par_id3149177" xml-lang="en-US">There are three options available for answering this question:</paragraph>
+<h3 id="hd_id3147576">Do you really want to open the query in the graphic view?</h3>
+<paragraph role="paragraph" id="par_id3166461" xml-lang="en-US"><ahelp hid=".">Allows you to open the query in the <link href="text/sdatabase/02010100.xhp" name="Design View">Design View</link> in spite of missing elements.</ahelp> This option also allows you to specify if other errors need to be ignored.</paragraph>
+<paragraph role="paragraph" id="par_id3153031" xml-lang="en-US">The query is opened in the Design View (the graphical interface). Missing tables appear blank and invalid fields appear with their (invalid) names in the list of fields. This lets you work with exactly those fields that caused the error.</paragraph>
+<h3 id="hd_id3149578">Open the query in the SQL View</h3>
+<paragraph role="paragraph" id="par_id3159157" xml-lang="en-US"><ahelp hid=".">Allows you to open the query design in the <link href="text/sdatabase/02010100.xhp" name="SQL Mode">SQL Mode</link> and to interpret the query as a <link href="text/shared/02/14030000.xhp" name="Native SQL">Native SQL</link>.</ahelp> You can only quit the native SQL mode when the $[officename] statement is completely interpreted (only possible if the used tables or fields in the query really exist).</paragraph>
+<h3 id="hd_id3150984">Do not open the query</h3>
+<paragraph role="paragraph" id="par_id3156329" xml-lang="en-US"><ahelp hid=".">Allows you to cancel the procedure and specify that the query should not be opened.</ahelp> This option corresponds to the function of the <emph>Cancel</emph> dialog button.</paragraph>
+<h3 id="hd_id3148492">Also ignore similar errors</h3>
+<paragraph role="paragraph" id="par_id3154285" xml-lang="en-US"><ahelp hid=".">If you selected the first option, but you still want to open the query in the graphics view in spite of missing elements, you can specify whether other errors are ignored.</ahelp> Therefore, in the current opening process, no error message will be displayed if the query can not be correctly interpreted.</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/02010100.xhp b/helpcontent2/source/text/sdatabase/02010100.xhp
new file mode 100644
index 000000000..39e2e60e3
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/02010100.xhp
@@ -0,0 +1,855 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+<!--
+ * 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 .
+-->
+
+<meta>
+ <topic id="textsharedexplorerdatabase02010100xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Query Design</title>
+ <filename>/text/sdatabase/02010100.xhp</filename>
+ </topic>
+</meta>
+
+<body>
+
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153323">
+ <bookmark_value>views; creating database views (Base)</bookmark_value>
+ <bookmark_value>queries; creating in design view (Base)</bookmark_value>
+ <bookmark_value>designing; queries (Base)</bookmark_value>
+ <bookmark_value>design view; queries/views (Base)</bookmark_value>
+ <bookmark_value>joining;tables (Base)</bookmark_value>
+ <bookmark_value>tables in databases; joining for queries (Base)</bookmark_value>
+ <bookmark_value>queries; joining tables (Base)</bookmark_value>
+ <bookmark_value>tables in databases; relations (Base)</bookmark_value>
+ <bookmark_value>relations; joining tables (Base)</bookmark_value>
+ <bookmark_value>queries; deleting table links (Base)</bookmark_value>
+ <bookmark_value>criteria of query design (Base)</bookmark_value>
+ <bookmark_value>queries; formulating filter conditions (Base)</bookmark_value>
+ <bookmark_value>filter conditions;in queries (Base)</bookmark_value>
+ <bookmark_value>parameters; queries (Base)</bookmark_value>
+ <bookmark_value>queries; parameter queries (Base)</bookmark_value>
+ <bookmark_value>SQL; queries (Base)</bookmark_value>
+ <bookmark_value>native SQL (Base)</bookmark_value>
+</bookmark>
+<comment>mw added "(Base)" to all entries</comment>
+<paragraph id="par_id3153323" role="paragraph" localize="false" xml-lang="en-US"/>
+
+<h1 id="hd_id3153394"><link href="text/sdatabase/02010100.xhp" name="Query Design">Query Design</link></h1>
+<paragraph id="par_id3156411" role="paragraph" xml-lang="en-US"><ahelp hid=".">The <emph>Query Design View </emph>allows you to create and edit a database query.</ahelp></paragraph>
+
+<section id="howtoget">
+<embed href="text/shared/00/00000450.xhp#entwab"/>
+</section>
+<note id="par_id7024140">Most databases use queries to filter or to sort database tables to display records on your computer. Views offer the same functionality as queries, but on the server side. If your database is on a server that supports views, you can use views to filter the records on the server to speed up the display time.</note>
+<note id="par_id3159176">Selecting the <emph>Create View</emph> command from the <emph>Tables</emph> tab page of a database document, you see the <emph>View Design</emph> window that resembles the <emph>Query Design</emph> window described here.</note>
+<paragraph id="par_id8307138" role="paragraph" xml-lang="en-US">The Query Design window layout is stored with a created query, but cannot be stored with a created view.</paragraph>
+
+<h2 id="hd_id3149233">The Design View</h2>
+<paragraph id="par_id3145673" role="paragraph" xml-lang="en-US">To create a query, click the <emph>Queries</emph> icon in a database document, then click <emph>Create Query in Design View</emph>.</paragraph>
+<paragraph id="par_id3150255" role="paragraph" xml-lang="en-US">The lower pane of the Design View is where you define the query. To define a query, specify the database field names to include and the criteria for displaying the fields. To rearrange the columns in the lower pane of the Design View, drag a column header to a new location, or select the column and press <switchinline select="sys"><caseinline select="MAC">Command
+</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+arrow key.</paragraph>
+<paragraph id="par_id3152474" role="paragraph" xml-lang="en-US">In the top of the query Design View window, the <link href="text/shared/main0214.xhp" name="icons">icons</link> of the <emph>Query Design</emph> Bar and the <emph>Design</emph> bar are displayed.</paragraph>
+<paragraph id="par_id3147559" role="paragraph" xml-lang="en-US">If you want to test a query, double-click the query name in the database document. The query result is displayed in a table similar to the Data Source View. Note: the table displayed is only temporary.</paragraph>
+
+<h3 id="hd_id8226264">Keys in Query Design View</h3>
+
+<table id="tbl_id1880855">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id2341074" role="tablehead" xml-lang="en-US">Key</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id4384289" role="tablehead" xml-lang="en-US">Function</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id5839106" role="tablecontent" xml-lang="en-US">F4</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id8554338" role="tablecontent" xml-lang="en-US">Preview</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id1254921" role="tablecontent" xml-lang="en-US">F5</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id7636646" role="tablecontent" xml-lang="en-US">Run Query</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id8579363" role="tablecontent" xml-lang="en-US">F7</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3227942" role="tablecontent" xml-lang="en-US">Add Table or Query</paragraph>
+ </tablecell>
+ </tablerow>
+</table>
+
+
+<h2 id="hd_id3154939">Browse</h2>
+<paragraph id="par_id3148799" role="paragraph" xml-lang="en-US">When you open the query design for the first time, you see a dialog in which you must first select the table or query that will be the basis for your new query.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_CTL_QRYDGNTAB" id="bm_id3150767" localize="false"/>
+<paragraph id="par_id3144762" role="paragraph" xml-lang="en-US"><ahelp hid="HID_CTL_QRYDGNTAB">Double-click fields to add them to the query. Drag-and-drop to define relations.</ahelp></paragraph>
+<note id="par_id3157894">While designing a query, you cannot modify the selected tables.</note>
+
+<h3 id="hd_id3149562">Remove tables</h3>
+<paragraph id="par_id3150685" role="paragraph" xml-lang="en-US">To remove the table from Design View, click the upper border of the table window and display the context menu. You can use the <emph>Delete</emph> command to remove the table from the Design View. Another option is to press the Delete key.</paragraph>
+
+<section id="change_display">
+
+<h3 id="hd_id3150012">Move table and modify table size</h3>
+<paragraph id="par_id3146922" role="paragraph" xml-lang="en-US">You can resize and arrange the tables according to your preferences. To move tables, drag the upper border to the desired position. Enlarge or reduce the size in which the table is displayed by positioning the mouse cursor on a border or on a corner and dragging the table until it is the desired size.</paragraph>
+</section>
+
+<h2 id="hd_id3145365">Table Relations</h2>
+<paragraph id="par_id3154145" role="paragraph" xml-lang="en-US">If there are data relations between a field name in one table and a field name in another table, you can use these relations for your query.</paragraph>
+<paragraph id="par_id3152577" role="paragraph" xml-lang="en-US">If, for example, you have a spreadsheet for articles identified by an article number, and a spreadsheet for customers in which you record all articles that a customer orders using the corresponding article numbers, then there is a relationship between the two "article number" data fields. If you now want to create a query that returns all articles that a customer has ordered, you must retrieve data from two spreadsheets. To do this, you must inform $[officename] about the relationship which exists between the data in the two spreadsheets.</paragraph>
+<paragraph id="par_id3155302" role="paragraph" xml-lang="en-US">To do this, click a field name in a table (for example, the field name "Item-Number" from the Customer table), hold down the mouse button and then drag the field name to the field name of the other table ("Item-Number" from the Item table). When you release the mouse button, a line connecting the two fields between the two table windows appears. The corresponding condition that the content of the two field names must be identical is entered in the resulting SQL query.</paragraph>
+<paragraph id="par_id3153876" role="paragraph" xml-lang="en-US">The creation of a query that is based on several related sheets is only possible if you use $[officename] as the interface for a relational database.</paragraph>
+<note id="par_id3145646">You cannot access tables from different databases in a query. Queries involving multiple tables can only be created within one database.</note>
+
+<h3 id="hd_id3153279">Specifying the relation type</h3>
+<paragraph id="par_id3154791" role="paragraph" xml-lang="en-US">If you double-click on the line connecting two linked fields or call the menu command <emph>Insert - New Relation</emph>, you can specify the type of relation in the <link href="text/sdatabase/02010101.xhp" name="Relations"><emph>Relations</emph></link> dialog.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_QUERY_EDIT_JOINCONNECTION" id="bm_id3145253" localize="false"/>
+<paragraph id="par_id3150094" role="paragraph" xml-lang="en-US"><ahelp hid="HID_QUERY_EDIT_JOINCONNECTION" visibility="hidden">Edit Join Properties.</ahelp> Alternatively, press Tab until the line is selected, then press Shift+F10 to display the context menu and there choose the command <emph>Edit</emph>. Some databases support only a subset of the possible join types.</paragraph>
+
+<h3 id="hd_id3155851">Deleting relations</h3>
+<paragraph id="par_id3156178" role="paragraph" xml-lang="en-US">To delete a relation between two tables, click the connection line and then press the Delete key.</paragraph>
+<paragraph id="par_id3150715" role="paragraph" xml-lang="en-US">Alternatively, delete the respective entries in <emph>Fields involved </emph>in the <emph>Relations</emph> dialog. Or press Tab until the connecting vector is displayed highlighted, then press Shift+F10 to open the context menu and select <emph>Delete </emph>command.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_CTL_QRYDGNCRIT" id="bm_id3152972" localize="false"/>
+
+<h2 id="hd_id3151208">Defining the query</h2>
+<paragraph id="par_id3158416" role="paragraph" xml-lang="en-US"><ahelp hid="HID_CTL_QRYDGNCRIT">Select conditions to define the query.</ahelp> Each column of the design table accepts a data field for the query. The conditions in one row are linked with a Boolean AND.</paragraph>
+
+<h3 id="hd_id3154161">Specifying field names</h3>
+<paragraph id="par_id3146791" role="paragraph" xml-lang="en-US">First, select all field names from the tables that you want to add to the query. You can do this either by drag-and-drop or by double-clicking a field name in the table window. With the drag-and-drop method, use the mouse to drag a field name from the table window into the lower area of the query design window. As you do this, you can decide which column in the query design window will receive the selected field. A field name can also be selected by double-clicking. It will then be added to the next free column in the query design window.</paragraph>
+
+<h3 id="hd_id3150750">Deleting field names</h3>
+<paragraph id="par_id3154479" role="paragraph" xml-lang="en-US">To remove a field name from the query, click the column header of the field and choose the <emph>Delete</emph> command on the context menu for the column.</paragraph>
+
+<h3 id="hd_id3155764">Saving the query</h3>
+<paragraph id="par_id3148481" role="paragraph" xml-lang="en-US">Use the <emph>Save</emph> icon on the Standard toolbar to save the query. You will see a dialog that asks you to enter a name for the query. If the database supports schemas, you can also enter a schema name.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/savedialog/schema" id="bm_id3156378" localize="false"/>
+
+<h4 id="hd_id3154362">Schema</h4>
+<paragraph id="par_id3154754" role="paragraph" xml-lang="en-US"><ahelp hid="dbaccess/ui/savedialog/schema">Enter the name of the schema that is assigned to the query or table view.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/savedialog/title" id="bm_id3147340" localize="false"/>
+
+<h4 id="hd_id3156717">Query name or table view name</h4>
+<paragraph id="par_id3154253" role="paragraph" xml-lang="en-US"><ahelp hid="dbaccess/ui/savedialog/title">Enter the name of the query or table view.</ahelp></paragraph>
+
+<h3 id="hd_id3163805">Filtering data</h3>
+<paragraph id="par_id3154964" role="paragraph" xml-lang="en-US">To filter data for the query, set the desired criteria in the lower area of the query design window. The following options are available:</paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_QRYDGN_ROW_FIELD" id="bm_id3148536" localize="false"/>
+
+<h4 id="hd_id3146916">Field</h4>
+<paragraph id="par_id3156372" role="paragraph" xml-lang="en-US"><ahelp hid="HID_QRYDGN_ROW_FIELD">Enter the name of the data field that is referred to in the Query. All settings made in the filter option rows refer to this field.</ahelp> If you activate a cell here with a mouse click you'll see an arrow button, which enables you to select a field. The "Table name.*" option selects all data fields with the effect that the specified criteria will be applied to all table fields.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_QRYDGN_ROW_ALIAS" id="bm_id3154702" localize="false"/>
+
+<h4 id="hd_id3145150">Alias</h4>
+<paragraph id="par_id3146315" role="paragraph" xml-lang="en-US"><ahelp hid="HID_QRYDGN_ROW_ALIAS">Specifies an alias. This alias will be listed in the query instead of the field name. This makes it possible to use user-defined column labels.</ahelp> For example, if the data field is named PtNo and, instead of that name, you would like to have PartNum appear in the query, enter PartNum as the alias.</paragraph>
+<paragraph id="par_id3155959" role="paragraph" xml-lang="en-US">In a SQL statement, aliases are defined as follows:</paragraph>
+<paragraph id="par_id3149922" role="code" xml-lang="en-US">SELECT column AS alias FROM table.</paragraph>
+<paragraph id="par_id3159335" role="paragraph" xml-lang="en-US">For example:</paragraph>
+<sqlcode>
+<paragraph id="par_id3148478" role="sqlcode" localize="false" xml-lang="en-US">SELECT "PtNo" AS "PartNum" FROM "Parts"</paragraph>
+</sqlcode>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_QRYDGN_ROW_TABLE" id="bm_id3154665" localize="false"/>
+
+<h4 id="hd_id3148485">Table</h4>
+<paragraph id="par_id3163665" role="paragraph" xml-lang="en-US"><ahelp hid="HID_QRYDGN_ROW_TABLE">The corresponding database table of the selected data field is listed here.</ahelp> If you activate this cell with a mouse click, an arrow will appear which enables you to select a different table for the current query.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_QRYDGN_ROW_ORDER" id="bm_id3154202" localize="false"/>
+
+<h4 id="hd_id3154207">Sort</h4>
+<paragraph id="par_id3150979" role="paragraph" xml-lang="en-US"><ahelp hid="HID_QRYDGN_ROW_ORDER">If you click on this cell, you can choose a sort option: ascending, descending and unsorted.</ahelp> Text fields will be sorted alphabetically and numerical fields numerically. For most databases, administrators can set the sorting options at the database level.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_QRYDGN_ROW_VISIBLE" id="bm_id3149334" localize="false"/>
+
+<h4 id="hd_id3150384">Visible</h4>
+<paragraph id="par_id3146133" role="paragraph" xml-lang="en-US"><ahelp hid="HID_QRYDGN_ROW_VISIBLE">If you mark the <emph>Visible</emph> property for a data field, that field will be visibly displayed in the resulting query</ahelp>. If you are only using a data field to formulate a condition or make a calculation, you do not necessarily need to display it.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_QRYDGN_ROW_CRIT" id="bm_id3147130" localize="false"/>
+
+<h4 id="hd_id3154714">Criteria</h4>
+<paragraph id="par_id3145134" role="paragraph" xml-lang="en-US"><ahelp hid="HID_QRYDGN_ROW_CRIT">Specifies a first criteria by which the content of the data field is to be filtered.</ahelp></paragraph>
+
+<h4 id="hd_id3152477">or</h4>
+<paragraph id="par_id3154585" role="paragraph" xml-lang="en-US">Here you can enter one additional filter criterion for each line. Multiple criteria in a single column will be interpreted as boolean OR.</paragraph>
+<paragraph id="par_id3148800" role="paragraph" xml-lang="en-US">You can also use the context menu of the line headers in the lower area of the query design window to insert a filter based on a function:</paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_QRYDGN_ROW_FUNCTION" id="bm_id3153275" localize="false"/>
+
+<h3 id="hd_id3148419">Functions</h3>
+<paragraph id="par_id3153233" role="paragraph" xml-lang="en-US"><ahelp hid="HID_QRYDGN_ROW_FUNCTION" visibility="hidden">Select a function to run in the query.</ahelp> The functions which are available here depend on those provided by the database engine. </paragraph>
+<paragraph id="par_id8760818" role="paragraph" xml-lang="en-US">If you are working with the embedded HSQL database, the list box in the <emph>Function</emph> row offers you the following options:</paragraph>
+
+<table id="tbl_id3148461">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3150307" role="tablehead" xml-lang="en-US">Option</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3166430" role="tablehead" xml-lang="en-US" localize="false">SQL</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3152993" role="tablehead" xml-lang="en-US">Effect</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3155377" role="tablecontent" xml-lang="en-US">No function</paragraph>
+ </tablecell>
+ <tablecell>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3155533" role="tablecontent" xml-lang="en-US">No function will be executed.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3166420" role="tablecontent" xml-lang="en-US">Average</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3145268" role="tablecontent" xml-lang="en-US" localize="false">AVG</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3154486" role="tablecontent" xml-lang="en-US">Calculates the arithmetic mean of a field.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3149979" role="tablecontent" xml-lang="en-US">Count</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3154260" role="tablecontent" xml-lang="en-US" localize="false">COUNT</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3155810" role="tablecontent" xml-lang="en-US">Determines the number of records in the table. Empty fields can either be counted (a) or excluded (b).</paragraph>
+ <paragraph id="par_id3151333" role="tablecontent" xml-lang="en-US">a) COUNT(*): Passing an asterisk as the argument counts all records in the table.</paragraph>
+ <paragraph id="par_id3152889" role="tablecontent" xml-lang="en-US">b) COUNT(column): Passing a field name as an argument counts only the records in which the specified field contains a value. Records in which the field has a Null value (i.e. contains no textual or numeric value) will not be counted.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3153067" role="tablecontent" xml-lang="en-US">Maximum</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3148840" role="tablecontent" xml-lang="en-US" localize="false">MAX</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3159221" role="tablecontent" xml-lang="en-US">Determines the highest value of a record for that field.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3146866" role="tablecontent" xml-lang="en-US">Minimum</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3148604" role="tablecontent" xml-lang="en-US" localize="false">MIN</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3157982" role="tablecontent" xml-lang="en-US">Determines the lowest value of a record for that field.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3154828" role="tablecontent" xml-lang="en-US">Sum</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3147070" role="tablecontent" xml-lang="en-US" localize="false">SUM</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3154536" role="tablecontent" xml-lang="en-US">Calculates the sum of the values of records for the associated fields.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3148820" role="tablecontent" xml-lang="en-US">Group</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3145375" role="tablecontent" xml-lang="en-US" localize="false">GROUP BY</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3149438" role="tablecontent" xml-lang="en-US">Groups query data according to the selected field name. Functions are executed according to the specified groups. In SQL, this option corresponds to the GROUP BY clause. If a criterion is added, this entry appears in the SQL HAVING sub-clause.</paragraph>
+ </tablecell>
+ </tablerow>
+</table>
+
+<paragraph id="par_id3156038" role="paragraph" xml-lang="en-US">You can also enter function calls directly into the SQL statement. The syntax is:</paragraph>
+<paragraph id="par_id3156340" role="code" xml-lang="en-US">SELECT FUNCTION(column) FROM table.</paragraph>
+<paragraph id="par_id3155075" role="paragraph" xml-lang="en-US">For example, the function call in SQL for calculating a sum is:</paragraph>
+<sqlcode>
+<paragraph id="par_id3154591" role="sqlcode" xml-lang="en-US">SELECT SUM("Price") FROM "Article".</paragraph>
+</sqlcode>
+<paragraph id="par_id3159205" role="paragraph" xml-lang="en-US">Except for the <emph>Group</emph> function, the above functions are called Aggregate functions. These are functions that calculate data to create summaries from the results. Additional functions that are not listed in the list box might be also possible. These depend on the specific database engine in use and on the current functionality provided by the Base driver used to connect to that database engine.</paragraph>
+<paragraph id="par_id3148651" role="paragraph" xml-lang="en-US">To use other functions not listed in the list box, you must enter them manually under <emph>Field</emph>.</paragraph>
+<paragraph id="par_id3155098" role="paragraph" xml-lang="en-US">You can also assign aliases to function calls. If you do not want to display the query string in the column header, enter a desired substitute name under <emph>Alias</emph>.</paragraph>
+<paragraph id="par_id3155539" role="paragraph" xml-lang="en-US">The corresponding function in an SQL statement is:</paragraph>
+<paragraph id="par_id3149425" role="code" xml-lang="en-US">SELECT FUNCTION() AS alias FROM table</paragraph>
+<section id="example">
+<paragraph id="par_id3144431" role="paragraph" xml-lang="en-US">Example:</paragraph>
+</section>
+<sqlcode>
+<paragraph id="par_id3154614" role="sqlcode" xml-lang="en-US">SELECT COUNT(*) AS count FROM "Item"</paragraph>
+</sqlcode>
+<note id="par_id3154610">If you run such a function, you cannot insert any additional columns for the query other than as an argument in a "Group" function.</note>
+<paragraph id="par_id3154644" role="paragraph" xml-lang="en-US"> <emph>Examples</emph> </paragraph>
+<paragraph id="par_id3151120" role="paragraph" xml-lang="en-US">In the following example, a query is run through two tables: an "Item" table with the "Item_No" field and a "Suppliers" table with the "Supplier_Name" field. In addition, both tables have a common field name "Supplier_No."</paragraph>
+<paragraph id="par_id3155144" role="paragraph" xml-lang="en-US">The following steps are required to create a query containing all suppliers who deliver more than three items.</paragraph>
+
+<list type="ordered">
+ <listitem>
+ <paragraph id="par_id3153240" role="listitem" xml-lang="en-US">Insert the "Item" and "Suppliers" tables into the query design.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id3148807" role="listitem" xml-lang="en-US">Link the "Supplier_No" fields of the two tables if there is not already a relation of this type.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id3161652" role="listitem" xml-lang="en-US">Double-click on the "Item_No" field from the "Item" table. Display the <emph>Function</emph> line using the context menu and select the Count function.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id3151009" role="listitem" xml-lang="en-US">Enter &gt;3 as a criterion and disable the Visible field.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id3145601" role="listitem" xml-lang="en-US">Double-click the "Supplier_Name" field in the "Suppliers" table and choose the Group function.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id3147512" role="listitem" xml-lang="en-US">Run the query.</paragraph>
+ </listitem>
+</list>
+<paragraph id="par_id3148638" role="paragraph" xml-lang="en-US">If the "price" (for the individual price of an article) and "Supplier_No" (for the supplier of the article) fields exist in the "Item" table, you can obtain the average price of the item that a supplier provides with the following query:</paragraph>
+
+<list type="ordered">
+ <listitem>
+ <paragraph id="par_id3153045" role="listitem" xml-lang="en-US">Insert the "Item" table into the query design.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id3149802" role="listitem" xml-lang="en-US">Double-click the "Price" and "Supplier_No" fields.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id3153554" role="listitem" xml-lang="en-US">Enable the <emph>Function</emph> line and select the Average function from the "Price" field.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id3155597" role="listitem" xml-lang="en-US">You can also enter "Average" in the line for the alias name (without quotation marks).</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id3151191" role="listitem" xml-lang="en-US">Choose Group for the "Supplier_No" field.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id3155547" role="listitem" xml-lang="en-US">Run the query.</paragraph>
+ </listitem>
+</list>
+<paragraph id="par_id3147549" role="paragraph" xml-lang="en-US">The following context menu commands and symbols are available:</paragraph>
+
+<h3 id="hd_id3154172">Functions</h3>
+<paragraph id="par_id3150414" role="paragraph" xml-lang="en-US"><ahelp hid="HID_QRYDGN_ROW_FUNCTION">Shows or hides a row for the selection of functions.</ahelp></paragraph>
+
+<h3 id="hd_id3149872">Table Name</h3>
+<paragraph id="par_id3147246" role="paragraph" xml-lang="en-US"><ahelp hid="HID_QRYDGN_ROW_FUNCTION">Shows or hides the row for the table name.</ahelp></paragraph>
+
+<h3 id="hd_id3145117">Alias Name</h3>
+<paragraph id="par_id3155754" role="paragraph" xml-lang="en-US"><ahelp hid="HID_QRYDGN_ROW_FUNCTION">Shows or hides the row for the alias name.</ahelp></paragraph>
+
+<h3 id="hd_id3153298">Distinct Values</h3>
+<paragraph id="par_id3147500" role="paragraph" xml-lang="en-US"><ahelp hid="HID_QRYDGN_ROW_FUNCTION">Retrieves only distinct values from the query.</ahelp> This applies to multiple records that might contain several repeating occurrences of data in the selected fields. If the <emph>Distinct Values</emph> command is active, you should only see one record in the query (DISTINCT). Otherwise, you will see all records corresponding to the query criteria (ALL).</paragraph>
+<paragraph id="par_id3150436" role="paragraph" xml-lang="en-US">For example, if the name "Smith" occurs several times in your address database, you can choose the<emph> Distinct Values</emph> command to specify in the query that the name "Smith" will occur only once.</paragraph>
+<paragraph id="par_id3152352" role="paragraph" xml-lang="en-US">For a query involving several fields, the combination of values from all fields must be unique so that the result can be formed from a specific record. For example, you have "Smith in Chicago" once in your address book and "Smith in London" twice. With the<emph> Distinct Values</emph> command, the query will use the two fields "last name" and "city" and return the query result "Smith in Chicago" once and "Smith in London" once.</paragraph>
+<paragraph id="par_id3149825" role="paragraph" xml-lang="en-US">In SQL, this command corresponds to the DISTINCT predicate.</paragraph>
+
+<h3 id="hd_id3153290">Limit</h3>
+<paragraph id="par_id3147501" role="paragraph" xml-lang="en-US"><ahelp hid="HID_QRYDGN_ROW_FUNCTION">Allows you to limit the maximum number of records returned by a query.</ahelp></paragraph>
+<paragraph id="par_id3152350" role="paragraph" xml-lang="en-US">If a <emph>Limit</emph> construction is added, you will get at most as many rows as the number you specify. Otherwise, you will see all records corresponding to the query criteria.</paragraph>
+
+<h3 id="hd_id3148926">Formulating filter conditions</h3>
+
+<section id="query_criteria">
+<paragraph id="par_id3153162" role="paragraph" xml-lang="en-US">When formulating filter conditions, various operators and commands are available to you. Apart from the relational operators, there are SQL-specific commands that query the content of database fields. If you use these commands in the $[officename] syntax, $[officename] automatically converts these into the corresponding SQL syntax via an internal parser. You can also enter the SQL command directly and bypass the internal parser. The following tables give an overview of the operators and commands:</paragraph>
+
+<table id="tbl_id3152803">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3149044" role="tablehead" xml-lang="en-US">Operator</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3152471" role="tablehead" xml-lang="en-US">Meaning</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3147407" role="tablehead" xml-lang="en-US">Condition is satisfied if...</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3156161" role="tablecontent" xml-lang="en-US" localize="false">=</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3153026" role="tablecontent" xml-lang="en-US">equal to</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3148895" role="tablecontent" xml-lang="en-US">... the content of the field is identical to the indicated expression.</paragraph>
+ <paragraph id="par_id3153120" role="tablecontent" xml-lang="en-US">The operator = will not be displayed in the query fields. If you enter a value without any operator, the = operator is automatically assumed.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3150470" role="tablecontent" xml-lang="en-US" localize="false">&lt;&gt;</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3145223" role="tablecontent" xml-lang="en-US">not equal to</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3145635" role="tablecontent" xml-lang="en-US">... the content of the field does not correspond to the specified expression.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3153015" role="tablecontent" xml-lang="en-US" localize="false">&gt;</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3146815" role="tablecontent" xml-lang="en-US">greater than</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3149150" role="tablecontent" xml-lang="en-US">... the content of the field is greater than the specified expression.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3147270" role="tablecontent" xml-lang="en-US" localize="false">&lt;</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3147379" role="tablecontent" xml-lang="en-US">less than</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3150375" role="tablecontent" xml-lang="en-US">... the content of the field is less than the specified expression.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3149787" role="tablecontent" xml-lang="en-US" localize="false">&gt;=</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3150636" role="tablecontent" xml-lang="en-US">greater than or equal to</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3154584" role="tablecontent" xml-lang="en-US">... the content of the field is greater than or equal to the specified expression.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3157964" role="tablecontent" xml-lang="en-US" localize="false">&lt;=</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3154052" role="tablecontent" xml-lang="en-US">less than or equal to</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3157902" role="tablecontent" xml-lang="en-US">... the content of the field is less than or equal to the specified expression.</paragraph>
+ </tablecell>
+ </tablerow>
+</table>
+
+
+<table id="tbl_id3153376">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3154630" role="tablehead" xml-lang="en-US">$[officename] command</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3150484" role="tablehead" xml-lang="en-US">SQL command</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3154158" role="tablehead" xml-lang="en-US">Meaning</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3149433" role="tablehead" xml-lang="en-US">Condition is satisfied if...</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3154275" role="tablecontent" xml-lang="en-US" localize="false">IS EMPTY</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3149893" role="tablecontent" xml-lang="en-US" localize="false">IS NULL</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3143236" role="tablecontent" xml-lang="en-US">is null</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3154744" role="tablecontent" xml-lang="en-US">... the field contains no data. For Yes/No fields with three possible states, this command automatically queries the undetermined state (neither Yes nor No).</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3146940" role="tablecontent" xml-lang="en-US" localize="false">IS NOT EMPTY</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3147471" role="tablecontent" xml-lang="en-US" localize="false">IS NOT NULL</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3151229" role="tablecontent" xml-lang="en-US">is not empty</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3145304" role="tablecontent" xml-lang="en-US">... the field is not empty, i.e it contains data.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3153578" role="tablecontent" xml-lang="en-US" localize="false">LIKE</paragraph>
+ <paragraph id="par_id3153891" role="tablecontent" xml-lang="en-US">placeholder (*) for any number of characters</paragraph>
+ <paragraph id="par_id3148887" role="tablecontent" xml-lang="en-US">placeholder (?) for exactly one character</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3148623" role="tablecontent" xml-lang="en-US" localize="false">LIKE</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3157985">
+ <bookmark_value>placeholders; in SQL queries</bookmark_value>
+</bookmark>
+
+ <paragraph id="par_id3157985" role="tablecontent" xml-lang="en-US">placeholder (%) for any number of characters</paragraph>
+ <paragraph id="par_id3147422" role="tablecontent" xml-lang="en-US">Placeholder (_) for exactly one character</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3154845" role="tablecontent" xml-lang="en-US">is an element of</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3156130" role="tablecontent" xml-lang="en-US">... the data field contains the indicated expression. The (*) placeholder indicates whether the expression x occurs at the beginning of (x*), at the end of (*x) or inside the field content (*x*). You can enter as a placeholder in SQL queries either the SQL % character or the familiar (*) file system placeholder in the %PRODUCTNAME interface.</paragraph>
+ <paragraph id="par_id3150271" role="tablecontent" xml-lang="en-US">The (*) or (%) placeholder stands for any number of characters. The question mark (?) in the $[officename] interface or the underscore (_) in SQL queries is used to represent exactly one character.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3152954" role="tablecontent" xml-lang="en-US" localize="false">NOT LIKE</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3161669" role="tablecontent" xml-lang="en-US" localize="false">NOT LIKE</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3159141" role="tablecontent" xml-lang="en-US">Is not an element of</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3161664" role="tablecontent" xml-lang="en-US">... the field does not contain data having the specified expression.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3149185" role="tablecontent" xml-lang="en-US" localize="false">BETWEEN x AND y</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3151259" role="tablecontent" xml-lang="en-US" localize="false">BETWEEN x AND y</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3159184" role="tablecontent" xml-lang="en-US">falls within the interval [x,y]</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3154395" role="tablecontent" xml-lang="en-US">... the field contains a data value that lies between the two values x and y.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3154561" role="tablecontent" xml-lang="en-US" localize="false">NOT BETWEEN x AND y</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3148753" role="tablecontent" xml-lang="en-US" localize="false">NOT BETWEEN x AND y</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3155498" role="tablecontent" xml-lang="en-US">Does not fall within the interval [x,y]</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3148992" role="tablecontent" xml-lang="en-US">... the field contains a data value that does not lie between the two values x and y.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3149995" role="tablecontent" xml-lang="en-US" localize="false">IN (a; b; c...)</paragraph>
+ <paragraph id="par_id3159167" role="tablecontent" xml-lang="en-US">Note that semicolons are used as separators in all value lists!</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3159085" role="tablecontent" xml-lang="en-US" localize="false">IN (a, b, c...)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3154809" role="tablecontent" xml-lang="en-US">contains a, b, c...</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3148399" role="tablecontent" xml-lang="en-US">... the field name contains one of the specified expressions a, b, c,... Any number of expressions can be specified, and the result of the query is determined by a boolean OR operator. The expressions a, b, c... can be either numbers or characters</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3154112" role="tablecontent" xml-lang="en-US" localize="false">NOT IN (a; b; c...)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3153544" role="tablecontent" xml-lang="en-US" localize="false">NOT IN (a, b, c...)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3150679" role="tablecontent" xml-lang="en-US">does not contain a, b, c...</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3158439" role="tablecontent" xml-lang="en-US">... the field does not contain one of the specified expressions a, b, c,...</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3145145" role="tablecontent" xml-lang="en-US" localize="false">= TRUE</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3146804" role="tablecontent" xml-lang="en-US" localize="false">= TRUE</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3149248" role="tablecontent" xml-lang="en-US">has the value True</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3148524" role="tablecontent" xml-lang="en-US">... the field name has the value True.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3159212" role="tablecontent" xml-lang="en-US" localize="false">= FALSE</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3144751" role="tablecontent" xml-lang="en-US" localize="false">= FALSE</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3149955" role="tablecontent" xml-lang="en-US">has the value false</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3146850" role="tablecontent" xml-lang="en-US">... the field data value is set to false.</paragraph>
+ </tablecell>
+ </tablerow>
+</table>
+
+
+<h3 id="hd_id3155954">Examples</h3>
+
+<table id="tbl_id3083279">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3153792" role="paragraph" xml-lang="en-US">='Ms.'</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3150948" role="paragraph" xml-lang="en-US">returns field names with the field content "Ms."</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id315379A" role="paragraph" xml-lang="en-US" localize="false">&lt;'2001-01-10'</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id315094A" role="paragraph" xml-lang="en-US">returns dates that occurred before January 10, 2001</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3150333" role="paragraph" xml-lang="en-US">LIKE 'g?ve'</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3147332" role="paragraph" xml-lang="en-US">returns records with field content such as "give" and "gave".</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3146062" role="paragraph" xml-lang="en-US" localize="false">LIKE 'S*'</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3155350" role="paragraph" xml-lang="en-US">returns records with field contents such as "Sun".</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3152883" role="paragraph" xml-lang="en-US" localize="false">BETWEEN 10 AND 20</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3159406" role="paragraph" xml-lang="en-US">returns records with field content between the values 10 and 20. (The fields can be either text fields or number fields).</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3148765" role="paragraph" xml-lang="en-US" localize="false">IN (1; 3; 5; 7)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3149712" role="paragraph" xml-lang="en-US">returns records with the values 1, 3, 5, 7. If the field name contains an item number, for example, you can create a query that returns the item having the specified number.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3152948" role="paragraph" xml-lang="en-US">NOT IN ('Smith')</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3147279" role="paragraph" xml-lang="en-US">returns records that do not contain "Smith".</paragraph>
+ </tablecell>
+ </tablerow>
+</table>
+
+</section>
+<paragraph id="par_id3146073" role="paragraph" xml-lang="en-US"> <emph>Like </emph>Escape Sequence: {escape 'escape-character'}</paragraph>
+<embed href="text/sdatabase/02010100.xhp#example"/>
+<sqlcode>
+<paragraph role="sqlcode" id="par_id441652550335953" xml-lang="en-US" localize="false">SELECT * FROM Item WHERE ItemName LIKE 'The *%' {escape '*'}</paragraph>
+</sqlcode>
+<paragraph id="par_id3148541" role="paragraph" xml-lang="en-US">The example will give you all of the entries where the item name begins with 'The *'. This means that you can also search for characters that would otherwise be interpreted as placeholders, such as *, ?, _, % or the period.</paragraph>
+<paragraph id="par_id3150572" role="paragraph" xml-lang="en-US"> <emph>Outer Join</emph> Escape Sequence: {oj outer-join}</paragraph>
+<embed href="text/sdatabase/02010100.xhp#example"/>
+<sqlcode>
+<paragraph role="sqlcode" id="par_id841652550235363" xml-lang="en-US" localize="false">SELECT Article.* FROM {oj item LEFT OUTER JOIN orders ON item.no=orders.ANR}</paragraph>
+</sqlcode>
+<h3 id="hd_id3153674">Querying text fields</h3>
+<paragraph id="par_id3149134" role="paragraph" xml-lang="en-US">To query the content of a text field, you must put the expression between single quotes. The distinction between uppercase and lowercase letters depends on the database in use. LIKE, by definition, is case-sensitive (though some databases don't interpret this strictly).</paragraph>
+
+<h3 id="hd_id3149302">Querying date fields</h3>
+<paragraph id="par_id3157998" role="paragraph" xml-lang="en-US"> <emph>Date fields</emph> are represented as #Date# to clearly identify them as dates. Date, time and date/time constants (literals) used in conditions can be of either the SQL Escape Syntax type, or default SQL2 syntax.</paragraph>
+
+<table id="tbl_id3156186">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id31537341" role="tablehead" xml-lang="en-US">Date Type Element</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id31537342" role="tablehead" xml-lang="en-US">SQL Escape syntax #1 - may be obsolete</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id31537343" role="tablehead" xml-lang="en-US">SQL Escape syntax #2</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id31537344" role="tablehead" xml-lang="en-US">SQL2 syntax</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id315913111" role="paragraph" xml-lang="en-US">Date</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id315913112" role="paragraph" xml-lang="en-US" localize="false">{D'YYYY-MM-DD'}</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id314975313" role="paragraph" xml-lang="en-US" localize="false">{d 'YYYY-MM-DD'}</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id314975314" role="paragraph" xml-lang="en-US" localize="false">'YYYY-MM-DD'</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id31559471" role="paragraph" xml-lang="en-US">Time</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id31559472" role="paragraph" xml-lang="en-US" localize="false">{D'HH:MM:SS'}</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id31559473" role="paragraph" xml-lang="en-US" localize="false">{t 'HH:MI:SS[.SS]'} </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id31559474" role="paragraph" xml-lang="en-US" localize="false">'HH:MI:SS[.SS]' </paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id31509641" role="paragraph" xml-lang="en-US">DateTime</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id31509642" role="paragraph" xml-lang="en-US" localize="false">{D'YYYY-MM-DD HH:MM:SS'}</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id31509643" role="paragraph" xml-lang="en-US" localize="false">{ts 'YYYY-MM-DD HH:MI:SS[.SS]'} </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id31509644" role="paragraph" xml-lang="en-US" localize="false">'YYYY-MM-DD HH:MI:SS[.SS]' </paragraph>
+ </tablecell>
+ </tablerow>
+</table>
+
+<embed href="text/sdatabase/02010100.xhp#example"/>
+<sqlcode>
+<paragraph role="sqlcode" id="par_id661652550524160" xml-lang="en-US" localize="false">SELECT {d '1999-12-31'} FROM world.years</paragraph>
+</sqlcode>
+<embed href="text/sdatabase/02010100.xhp#example"/>
+<sqlcode>
+<paragraph role="sqlcode" id="par_id381652550614110" xml-lang="en-US" localize="false">SELECT * FROM mytable WHERE years='1999-12-31'</paragraph>
+</sqlcode>
+<paragraph id="par_id3150510" role="paragraph" xml-lang="en-US">All date expressions (date literals) must be enclosed with single quotation marks. (Consult the reference for the particular database and connector you are using for more details.)</paragraph>
+
+<h3 id="hd_id3150427">Querying Yes/No fields</h3>
+<paragraph id="par_id3149523" role="paragraph" xml-lang="en-US">To query Yes/No fields, use the following syntax for dBASE tables:</paragraph>
+
+<table id="tbl_id3150146">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3153180" role="tablehead" xml-lang="en-US">Status</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3147481" role="tablehead" xml-lang="en-US">Query criterion</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3155187" role="tablehead" xml-lang="en-US">Example</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3156092" role="tablecontent" xml-lang="en-US">Yes</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3152414" role="tablecontent" xml-lang="en-US">for dBASE tables: not equal to any given value</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3151265" role="tablecontent" xml-lang="en-US">=1 returns all records where the Yes/No field has the status "Yes" or "On" (selected in black),</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3152450" role="tablecontent" xml-lang="en-US">No</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3150997" role="tablecontent" xml-lang="en-US">.</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3155331" role="tablecontent" xml-lang="en-US">=0 returns all records for which the Yes/No field has the status "No" or "Off" (no selection).</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id3154179" role="tablecontent" xml-lang="en-US">Null</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3147035" role="tablecontent" xml-lang="en-US">IS NULL</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3159385" role="tablecontent" xml-lang="en-US">IS NULL returns all records for which the Yes/No field has neither of the states Yes or No (selected in gray).</paragraph>
+ </tablecell>
+ </tablerow>
+</table>
+
+<note id="par_id3157888">The syntax depends on the database system used. You should also note that Yes/No fields can be defined differently (only 2 states instead of 3).</note>
+
+<h3 id="hd_id3145772">Parameter queries</h3>
+<paragraph id="par_id191120151905346795" role="paragraph" xml-lang="en-US">Parameter queries allow the user to input values at run-time. These values are used within the criteria for selecting the records to be displayed. Each such value has a parameter name associated with it, which is used to prompt the user when the query is run. </paragraph>
+<paragraph id="par_id191120151905439551" role="paragraph" xml-lang="en-US">Parameter names are preceded by a colon in both the Design and SQL views of a query. This can be used wherever a value can appear. If the same value is to appear more than once in the query, the same parameter name is used.</paragraph>
+<paragraph id="par_id191120151905518123" role="paragraph" xml-lang="en-US">In the simplest case, where the user enters a value which is matched for equality, the parameter name with its preceding colon is simply entered in the Criterion row. In <link href="text/sdatabase/02010100.xhp#sqlmode">SQL mode</link> this should be typed as <item type="input">WHERE "Field" = :Parameter_name</item></paragraph>
+<warning id="par_id191120151905584287">Parameter names may not contain any of the characters <item type="input">&lt;space&gt;`!"$%^*()+={}[]@'~#&lt;&gt;?/,</item>. They may not be the same as field names or SQL reserved words. They may be the same as aliases.</warning>
+<tip id="par_id191120151931441881">A useful construction for selecting records based on parts of a text field's content is to add a hidden column with <item type="input">"LIKE '%' || :Part_of_field || '%'"</item> as the criterion. This will select records with an exact match. If a case-insensitive test is wanted, one solution is to use <item type="input">LOWER (Field_Name)</item> as the field and <item type="input">LIKE LOWER ( '%' || :Part_of_field || '%' )</item> as the criterion. Note that the spaces in the criterion are important; if they are left out the SQL parser interprets the entire criterion as a string to be matched. In <link href="text/sdatabase/02010100.xhp#sqlmode">SQL mode</link> this should be typed as <item type="input">LOWER ( "Field_Name" ) LIKE LOWER ( '%' || :Part_of_field || '%' )</item>.</tip>
+<paragraph id="par_id3150585" role="paragraph" xml-lang="en-US">Parameter queries may be used as the data source for <link href="text/shared/02/01170203.xhp" name="subforms">subforms</link>, to allow the user to restrict the displayed records.</paragraph>
+
+<h3 id="hd_id3151035">Parameter Input</h3>
+<paragraph id="par_id3153596" role="paragraph" xml-lang="en-US"><ahelp hid="HID_QRYDGN_ROW_FUNCTION">The <emph>Parameter Input</emph> dialog asks the user to enter the parameter values. Enter a value for each query parameter and confirm by clicking <emph>OK</emph> or typing <emph>Enter</emph>.</ahelp></paragraph>
+<paragraph id="par_id191120151924165870" role="paragraph" xml-lang="en-US">The values entered by the user may consist of any characters which are allowable for the SQL for the relevant criterion; this may depend on the underlying database system.</paragraph>
+<tip id="par_id191120151939594217">The user can use the SQL wild-card characters "%" (arbitrary string) or "_" (arbitrary single character) as part of the value to retrieve records with more complex criteria.</tip>
+
+<section id="sqlmode">
+<h2 id="hd_id3145181">SQL Mode</h2>
+<paragraph id="par_id3147013" role="paragraph" xml-lang="en-US">SQL stands for "Structured Query Language" and describes instructions for updating and administering relational databases.</paragraph>
+<paragraph id="par_id3152570" role="paragraph" xml-lang="en-US">In $[officename] you do not need any knowledge of SQL for most queries, since you do not have to enter the SQL code. If you create a query in the query designer, $[officename] automatically converts your instructions into the corresponding SQL syntax. If, with the help of the <emph>Switch Design View On/Off </emph>button, you change to the SQL view, you can see the SQL commands for a query that has already been created.</paragraph>
+<paragraph id="par_id3152412" role="paragraph" xml-lang="en-US">You can formulate your query directly in SQL code. Note, however, that the special syntax is dependent upon the database system that you use.</paragraph>
+<paragraph id="par_id3146842" role="paragraph" xml-lang="en-US">If you enter the SQL code manually, you can create SQL-specific queries that are not supported by the graphical interface in the <emph>Query designer</emph>. These queries must be executed in native SQL mode.</paragraph>
+<paragraph id="par_id3149632" role="paragraph" xml-lang="en-US">By clicking the <link href="text/shared/02/14030000.xhp" name="Run SQL command directly"><emph>Run SQL command directly</emph></link> icon in the SQL view, you can formulate a query that is not processed by $[officename] and sent directly to the database engine.</paragraph>
+</section>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/02010101.xhp b/helpcontent2/source/text/sdatabase/02010101.xhp
new file mode 100644
index 000000000..95d875097
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/02010101.xhp
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+ * 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 .
+ -->
+
+
+<meta>
+ <topic id="textsharedexplorerdatabase02010101xml" indexer="include" status="PUBLISH">
+ <title xml-lang="en-US" id="tit">Join Properties</title>
+ <filename>/text/sdatabase/02010101.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154015"><bookmark_value>links;relational databases (Base)</bookmark_value>
+ <bookmark_value>inner joins (Base)</bookmark_value>
+ <bookmark_value>joins in databases (Base)</bookmark_value>
+ <bookmark_value>left joins (Base)</bookmark_value>
+ <bookmark_value>right joins (Base)</bookmark_value>
+ <bookmark_value>full joins (Base)</bookmark_value>
+</bookmark><comment>mw deleted "join properties" and changed "link properties..." to "links;"</comment>
+<h1 id="hd_id3154015">Join Properties</h1>
+ <paragraph xml-lang="en-US" id="par_id3151205" role="paragraph">If you double-click a connection between two linked fields in the query design, or if you choose <emph>Insert - New Relation</emph>, the <emph>Join Properties</emph> dialog appears. These properties will be used in all queries created in the future.</paragraph>
+ <section id="howtoget">
+ <embed href="text/shared/00/00000450.xhp#Joins"/>
+ </section>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/joindialog/table1" id="bm_id3150749" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/joindialog/table2" id="bm_id3150752" localize="false"/>
+<h2 id="hd_id3155066">Tables involved</h2>
+ <paragraph xml-lang="en-US" id="par_id3153924" role="paragraph"><ahelp hid="dbaccess/ui/joindialog/table2">Specifies two different tables that you want to join.</ahelp></paragraph>
+ <h2 id="hd_id3155766">Fields involved</h2>
+ <paragraph xml-lang="en-US" id="par_id3148994" role="paragraph"><ahelp hid=".">Specifies two data fields that will be joined by a relation.</ahelp></paragraph>
+ <h2 id="hd_id3159267">Options</h2>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/joindialog/type" id="bm_id3147321" localize="false"/>
+<h3 id="hd_id3147340">Type</h3>
+ <paragraph xml-lang="en-US" id="par_id3152482" role="paragraph"><ahelp hid="dbaccess/ui/joindialog/type">Specifies the join type of the selected join.</ahelp> Some databases support only a subset of the various possible types.</paragraph>
+ <h3 id="hd_id3155334">Inner Join</h3>
+ <paragraph xml-lang="en-US" id="par_id3155936" role="paragraph"><ahelp hid="dbaccess/ui/joindialog/type">In an inner join, the results table contains only those records for which the content of the linked fields is the same.</ahelp> In $[officename] SQL this type of link is created by a corresponding WHERE clause.</paragraph>
+ <h3 id="hd_id3156372">Left Join</h3>
+ <paragraph xml-lang="en-US" id="par_id3166450" role="paragraph"><ahelp hid="dbaccess/ui/joindialog/type">In a left join, the results table contains all records of the queried fields from the left table and only those records of the queried fields from the right table for which the content of the linked fields is the same.</ahelp> In $[officename] SQL this type of link corresponds to the LEFT OUTER JOIN command.</paragraph>
+ <h3 id="hd_id3155607">Right Join</h3>
+ <paragraph xml-lang="en-US" id="par_id3150647" role="paragraph"><ahelp hid="dbaccess/ui/joindialog/type">In a right join, the results table contains all records of the queried fields from the right table and only those records of the queried fields from the left table for which the content of the linked fields is the same.</ahelp> In $[officename] SQL this type of link corresponds to the RIGHT OUTER JOIN command.</paragraph>
+ <h3 id="hd_id3158215">Full Join</h3>
+ <paragraph xml-lang="en-US" id="par_id3163665" role="paragraph"><ahelp hid="dbaccess/ui/joindialog/type">In a full join, the results table contains all records of the queried fields from the left and right tables.</ahelp> In the SQL of $[officename] this type of link corresponds to the FULL OUTER JOIN command.</paragraph>
+<h3 id="hd_id0305200912031976">Natural</h3>
+ <paragraph xml-lang="en-US" id="par_id0305200912031977" role="paragraph"><ahelp hid=".">In a natural join, the keyword <literal>NATURAL</literal> is inserted into the SQL statement that defines the relation. The relation joins all columns that have the same column name in both tables. The resulting joined table contains only one column for each pair of equally named columns.</ahelp></paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/04000000.xhp b/helpcontent2/source/text/sdatabase/04000000.xhp
new file mode 100644
index 000000000..454f308d5
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/04000000.xhp
@@ -0,0 +1,54 @@
+<?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="textsharedexplorerdatabase04000000xml" indexer="exclude" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Forms</title>
+<filename>/text/sdatabase/04000000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+</history>
+</meta>
+<body>
+<section id="forms">
+<h1 id="hd_id3150476"><link href="text/sdatabase/04000000.xhp" name="Forms">Forms</link></h1>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156136"><bookmark_value>forms; general information (Base)</bookmark_value>
+</bookmark><comment>mw added "(Base)"</comment>
+<paragraph role="paragraph" id="par_id3156136" xml-lang="en-US">Forms can be used to enter or to edit existing database contents easily.</paragraph>
+</section>
+<h2 id="hd_id3157910"><link href="text/shared/autopi/01090000.xhp" name="Form Wizard">FormWizard</link></h2>
+<h2 id="hd_id3156003"><link href="text/shared/02/01170000.xhp" name="Form Controls">Form Controls</link></h2>
+<paragraph role="paragraph" id="par_id3156156" xml-lang="en-US">The Form Controls toolbar provides the tools required to create a form in a text, table, drawing, or presentation document.</paragraph>
+<h2 id="hd_id3155388"><link href="text/sdatabase/04030000.xhp" name="Form in Design Mode">Form in Design Mode</link></h2>
+<paragraph role="paragraph" id="par_id3150504" xml-lang="en-US">In design mode, the form is designed and the properties of the form and the controls contained in it are defined.</paragraph>
+<embed href="text/shared/02/12100200.xhp#datensatzsuche"/>
+<embed href="text/shared/02/12100200.xhp#suchentext"/>
+<h2 id="hd_id3149784"><link href="text/shared/main0213.xhp" name="Sorting and Filtering Data">Sorting and Filtering Data</link></h2>
+<paragraph role="paragraph" id="par_id3151384" xml-lang="en-US">You will find the sorting and filter functions in the toolbar when you open a form in user mode.</paragraph>
+<switch select="sys">
+<case select="MAC">
+</case>
+<default>
+<h2 id="hd_id3148944"><link href="text/shared/02/01170203.xhp" name="Subforms">Subforms</link></h2>
+<embed href="text/shared/02/01170203.xhp#wozu"/>
+</default>
+</switch>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/04030000.xhp b/helpcontent2/source/text/sdatabase/04030000.xhp
new file mode 100644
index 000000000..dba9ddaff
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/04030000.xhp
@@ -0,0 +1,45 @@
+<?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="textsharedexplorerdatabase04030000xml" indexer="exclude" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Form Design</title>
+<filename>/text/sdatabase/04030000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+</history>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148668"><bookmark_value>forms; designing (Base)</bookmark_value>
+</bookmark><comment>mw added "(Base)"</comment>
+<h1 id="hd_id3148668"><variable id="formularentwurf"><link href="text/sdatabase/04030000.xhp" name="Form Design">Form Design</link>
+</variable></h1>
+<paragraph role="paragraph" id="par_id3154230" xml-lang="en-US">Any $[officename] document can be expanded into a form. Simply add one or more form controls.</paragraph>
+<paragraph role="paragraph" id="par_id3145382" xml-lang="en-US">Open the Form Controls toolbar. The Form Controls toolbar contains the <link href="text/shared/02/01170000.xhp" name="functions">functions</link> needed to edit a form. More functions can be found in the <emph>Form Design</emph> bar and <emph>More Controls</emph> bar.</paragraph>
+<paragraph role="paragraph" id="par_id3153146" xml-lang="en-US">In form design mode you can <link href="text/shared/02/01170000.xhp" name="include controls">include controls</link>, <link href="text/shared/02/01170100.xhp" name="apply properties">apply properties</link> to them, define <link href="text/shared/02/01170200.xhp" name="Form properties">Form properties</link>, and <link href="text/shared/02/01170203.xhp" name="define subforms">define subforms</link>.</paragraph>
+<paragraph role="paragraph" id="par_id3154924" xml-lang="en-US">The<emph> Form Navigator</emph> icon
+<image id="img_id3156002" src="cmd/sc_showfmexplorer.png" width="4.23mm" height="4.23mm"><alt id="alt_id3156002" xml-lang="en-US">Icon</alt>
+ </image> on the Form Design bar opens the <link href="text/shared/02/01170600.xhp" name="Form Navigator"><emph>Form Navigator</emph></link>.</paragraph>
+<paragraph role="paragraph" id="par_id3153968" xml-lang="en-US">The <link href="text/shared/02/01171000.xhp" name="Open in Design Mode"><emph>Open in Design Mode</emph></link> icon
+<image id="img_id1871395" src="cmd/sc_openreadonly.png" width="5.59mm" height="5.59mm"><alt id="alt_id1871395" xml-lang="en-US">Icon</alt>
+ </image> allows you to save a form document so that it always opens in form design mode.</paragraph>
+<paragraph role="paragraph" id="par_id3154948" xml-lang="en-US">If there is an error when assigning properties to the objects contained in the form (for example, when assigning a non-existent database table to an object), a corresponding error message appears. This error message may contain a <emph>More</emph> button. <ahelp hid="dummy">If you click on <emph>More</emph>, a dialog displaying more information about the current problem appears.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/05000000.xhp b/helpcontent2/source/text/sdatabase/05000000.xhp
new file mode 100644
index 000000000..d42d38553
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/05000000.xhp
@@ -0,0 +1,42 @@
+<?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="textsharedexplorerdatabase05000000xml" indexer="exclude" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Tables</title>
+<filename>/text/sdatabase/05000000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+</history>
+</meta>
+<body>
+<section id="tables">
+<h1 id="hd_id3148520"><link href="text/sdatabase/05000000.xhp" name="Tables">Tables</link></h1>
+<paragraph role="paragraph" id="par_id3147102" xml-lang="en-US">Table data edit mode allows you to see your data as rows of records, with optional filtering and sorting of that data. In this mode, you can also enter new records, make changes to, and delete existing records.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3147226" xml-lang="en-US">In the $[officename] Help, you will find further information on the following subjects:</paragraph>
+<h2 id="hd_id3152425"><link href="text/sdatabase/05010000.xhp" name="Create new or edit table design">Create new or edit table design</link></h2>
+<embed href="text/shared/01/05340400.xhp#data_sources"/>
+<embed href="text/shared/02/12100200.xhp#findrecord"/>
+<h2 id="hd_id3149095"><link href="text/shared/main0212.xhp" name="Sort and Filter Data">Sort and Filter Data</link></h2>
+<h2 id="hd_id3154288"><link href="text/sdatabase/05020000.xhp" name="Relations, Primary and External Key">Relations, Primary and External Key</link></h2>
+<embed href="text/sdatabase/05000001.xhp#context"/>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/05000001.xhp b/helpcontent2/source/text/sdatabase/05000001.xhp
new file mode 100644
index 000000000..491c98ff2
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/05000001.xhp
@@ -0,0 +1,44 @@
+<?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="textsharedexplorerdatabase05000001xml" indexer="exclude" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Table Context Menus</title>
+<filename>/text/sdatabase/05000001.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+</history>
+</meta>
+<body>
+<section id="context">
+<h1 id="hd_id3148983"><link href="text/sdatabase/05000001.xhp" name="Table Context Menus">Table Context Menus</link></h1>
+<paragraph role="paragraph" id="par_id3163829" xml-lang="en-US">The context menu of the table container offers various functions that apply to all database tables. To edit a particular table within the database, select the corresponding table and open its context menu.</paragraph>
+</section>
+<section id="howtoget">
+ <embed href="text/shared/00/00000450.xhp#Tabellen"/>
+</section>
+<note id="par_id3146958">Depending on the context, it is possible that not all the functions for your current database will be listed in the context menus. For example, the <emph>Relationships</emph> command for defining relationships between various tables is only available with relational databases.</note>
+<paragraph role="paragraph" id="par_id3145382" xml-lang="en-US">Depending on the database system used, you will find the following entries on the context menus:</paragraph>
+<embed href="text/shared/00/00000010.xhp#open"/>
+<paragraph role="paragraph" id="par_id3166461" xml-lang="en-US">If a <link href="text/shared/01/05340400.xhp" name="table is open">table is open</link>, there are several functions available to edit the data.</paragraph>
+<embed href="text/sdatabase/05020000.xhp#relations"/>
+<embed href="text/shared/00/00000010.xhp#create_link"/>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/05000003.xhp b/helpcontent2/source/text/sdatabase/05000003.xhp
new file mode 100644
index 000000000..8d41b96c0
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/05000003.xhp
@@ -0,0 +1,45 @@
+<?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="textsharedexplorerdatabase05000003xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Enter / change password</title>
+<filename>/text/sdatabase/05000003.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+</history>
+</meta>
+<body>
+<h1 id="hd_id3163829">Enter / change password</h1>
+<paragraph role="paragraph" id="par_id3148520" xml-lang="en-US">Allows you to enter and confirm a new or changed password. If you have defined a new user, enter the user name in this dialog.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/sfx/ui/password/usered" id="bm_id3149283" localize="false"/>
+<h2 id="hd_id3157898">User</h2>
+<paragraph role="paragraph" id="par_id3149346" xml-lang="en-US"><ahelp hid="sfx/ui/password/usered">Specifies the name of the new user.</ahelp> This field is only visible if you have defined a new user.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/password/oldpassword" id="bm_id3145346" localize="false"/>
+<h2 id="hd_id3153681">Old password</h2>
+<paragraph role="paragraph" id="par_id3147576" xml-lang="en-US"><ahelp hid="dbaccess/ui/password/oldpassword">Enter the old password here.</ahelp> This field is visible when you have opened the dialog via <emph>Change password</emph>.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/password/newpassword" id="bm_id3166411" localize="false"/>
+<h2 id="hd_id3153311">Password</h2>
+<paragraph role="paragraph" id="par_id3147243" xml-lang="en-US"><ahelp hid="dbaccess/ui/password/newpassword">Enter the new password.</ahelp></paragraph><comment>UFI: removed help id</comment>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/password/confirmpassword" id="bm_id3163802" localize="false"/>
+<h2 id="hd_id3147275">Confirm (password)</h2>
+<paragraph role="paragraph" id="par_id3153541" xml-lang="en-US"><ahelp hid="dbaccess/ui/password/confirmpassword">Enter the new password again.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/05010000.xhp b/helpcontent2/source/text/sdatabase/05010000.xhp
new file mode 100644
index 000000000..15f61854d
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/05010000.xhp
@@ -0,0 +1,86 @@
+<?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="textsharedexplorerdatabase05010000xml" indexer="exclude" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Table Design</title>
+<filename>/text/sdatabase/05010000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+</history>
+</meta>
+<body>
+<section id="table_design">
+<h1 id="hd_id3154228"><link href="text/sdatabase/05010000.xhp" name="Table Design">Table Design</link></h1>
+<paragraph role="paragraph" id="par_id3152363" xml-lang="en-US">In the <emph>Table Design</emph> window you define new tables or edit the structure of an existing table.</paragraph>
+</section>
+<section id="howtoget">
+ <embed href="text/shared/00/00000450.xhp#tabellenentwurf"/>
+</section>
+<embed href="text/shared/guide/database_main.xhp#database_main"/>
+<embed href="text/shared/guide/data_tabledefine.xhp#data_tabledefine"/>
+<paragraph role="paragraph" id="par_id3146957" xml-lang="en-US">The window has its own menu bar. It also contains the following new command: <link href="text/sdatabase/05010100.xhp" name="Index Design"><emph>Index Design</emph></link></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TABDESIGN_BACKGROUND" id="bm_id3147088" localize="false"/>
+<h2 id="hd_id3152551">Table definition area</h2>
+<paragraph role="paragraph" id="par_id3153681" xml-lang="en-US"><ahelp hid="HID_TABDESIGN_BACKGROUND">This area is where you define the table structure.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TABDESIGN_NAMECELL" id="bm_id3145382" localize="false"/>
+<h3 id="hd_id3153031">Field Name</h3>
+<paragraph role="paragraph" id="par_id3156113" xml-lang="en-US"><ahelp hid="HID_TABDESIGN_NAMECELL">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.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TABDESIGN_TYPECELL" id="bm_id3148473" localize="false"/>
+<h3 id="hd_id3147618">Field type</h3>
+<paragraph role="paragraph" id="par_id3154897" xml-lang="en-US"><ahelp hid="HID_TABDESIGN_TYPECELL">Specifies the field type. The available field types are limited by the database engine being used.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TABDESIGN_COMMENTCELL" id="bm_id3149233" localize="false"/>
+<h3 id="hd_id3156119">Description</h3>
+<paragraph role="paragraph" id="par_id3145315" xml-lang="en-US"><ahelp hid="HID_TABDESIGN_COMMENTCELL">Specifies an optional description for each field.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3155630" xml-lang="en-US">The row headers contain the following context menu commands:</paragraph>
+<h3 id="hd_id3156330">Cut</h3>
+<paragraph role="paragraph" id="par_id3159157" xml-lang="en-US">Cuts the selected row to the clipboard.</paragraph>
+<h3 id="hd_id3159177">Copy</h3>
+<paragraph role="paragraph" id="par_id3148685" xml-lang="en-US">Copies the selected row to the clipboard.</paragraph>
+<h3 id="hd_id3156327">Paste</h3>
+<paragraph role="paragraph" id="par_id3152472" xml-lang="en-US">Pastes the content of the clipboard.</paragraph>
+<h3 id="hd_id3144511">Delete</h3>
+<paragraph role="paragraph" id="par_id3148550" xml-lang="en-US"><ahelp hid=".uno:Delete">Deletes the selected row.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TABLEDESIGN_INSERTROWS" id="bm_id3159414" localize="false"/>
+<h3 id="hd_id3147303">Insert Rows</h3>
+<paragraph role="paragraph" id="par_id3149456" xml-lang="en-US"><ahelp hid="SID_TABLEDESIGN_INSERTROWS">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.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TABLEDESIGN_TABED_PRIMARYKEY" id="bm_id3150791" localize="false"/>
+<h3 id="hd_id3153524">Primary Key</h3>
+<paragraph role="paragraph" id="par_id3150398" xml-lang="en-US"><ahelp hid="SID_TABLEDESIGN_TABED_PRIMARYKEY">If this command has a check mark, the data field is defined as a primary key.</ahelp> 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.</paragraph>
+<h2 id="hd_id3153104">Field properties</h2>
+<paragraph role="paragraph" id="par_id3148922" xml-lang="en-US">Defines the field properties of the currently selected field.</paragraph>
+<h3 id="hd_id3150767">Length</h3>
+<paragraph role="paragraph" id="par_id3144761" xml-lang="en-US">Specifies the maximum number of characters allowed for data entry of the corresponding data field including any spaces or special characters.</paragraph>
+<h3 id="hd_id3154948">Decimal places</h3>
+<paragraph role="paragraph" id="par_id3149203" xml-lang="en-US">Specifies the number of decimal places for a numerical field or decimal field.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TAB_ENT_DEFAULT" id="bm_id3158410" localize="false"/>
+<h3 id="hd_id3156422">Default value</h3>
+<paragraph role="paragraph" id="par_id3125863" xml-lang="en-US"><ahelp hid="HID_TAB_ENT_DEFAULT">Specifies the value that is the default in new data records.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TAB_ENT_FORMAT_SAMPLE" id="bm_id3149562" localize="false"/>
+<h3 id="hd_id3147289">Format example</h3>
+<paragraph role="paragraph" id="par_id3155131" xml-lang="en-US"><ahelp hid="HID_TAB_ENT_FORMAT_SAMPLE">Displays a sample of the format code of the field by applying it to the default value. Select the format code with the <emph>Format Field</emph> button.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TAB_ENT_FORMAT" id="bm_id3147319" localize="false"/>
+<h3 id="hd_id3154129">Format Field</h3>
+<paragraph role="paragraph" id="par_id3154146" xml-lang="en-US"><ahelp hid="HID_TAB_ENT_FORMAT">This button opens the <link href="text/shared/01/05340405.xhp" name="Field Format"><emph>Format Field</emph></link> dialog.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TABLE_DESIGN_HELP_WINDOW" id="bm_id3152941" localize="false"/>
+<h2 id="hd_id3152576">Help area</h2>
+<paragraph role="paragraph" id="par_id3150685" xml-lang="en-US"><ahelp hid="HID_TABLE_DESIGN_HELP_WINDOW">Displays a help string or hint defined by the database designer for the given field.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/05010100.xhp b/helpcontent2/source/text/sdatabase/05010100.xhp
new file mode 100644
index 000000000..a5fff8308
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/05010100.xhp
@@ -0,0 +1,61 @@
+<?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="textsharedexplorerdatabase05010100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Index design</title>
+<filename>/text/sdatabase/05010100.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="index_design">
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/indexdesigndialog/IndexDesignDialog" id="bm_id3156410" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBIndexDesign" id="bm_id3149828" localize="false"/><h1 id="hd_id3153311"><link href="text/sdatabase/05010100.xhp" name="Index design">Index design</link></h1>
+<paragraph role="paragraph" id="par_id3166460" xml-lang="en-US"><ahelp hid=".uno:DBIndexDesign">The <emph>Index Design </emph>dialog allows you to define and edit the indexes for the current table.</ahelp></paragraph>
+</section>
+<section id="howtoget">
+ <embed href="text/shared/00/00000450.xhp#indexentwurf"/>
+</section>
+<embed href="text/shared/guide/data_tabledefine.xhp#data_tabledefine"/>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/indexdesigndialog/INDEX_LIST" id="bm_id3148473" localize="false"/><h2 id="hd_id3149578">Index list</h2>
+<paragraph role="paragraph" id="par_id3155342" xml-lang="en-US"><ahelp hid="dbaccess/ui/indexdesigndialog/INDEX_LIST">Displays a list of available indexes. Select an index from the list to edit. The details of the selected index are displayed in the dialog.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/indexdesigndialog/ID_INDEX_NEW" id="bm_id3158430" localize="false"/><h3 id="hd_id3149795">New Index</h3>
+<paragraph role="paragraph" id="par_id3150085" xml-lang="en-US"><ahelp hid="dbaccess/ui/indexdesigndialog/ID_INDEX_NEW">Creates a new index.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/indexdesigndialog/ID_INDEX_DROP" id="bm_id3148642" localize="false"/><h3 id="hd_id3145317">Delete Current Index</h3>
+<paragraph role="paragraph" id="par_id3154860" xml-lang="en-US"><ahelp hid="dbaccess/ui/indexdesigndialog/ID_INDEX_DROP">Deletes the current index.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/indexdesigndialog/ID_INDEX_RENAME" id="bm_id3154285" localize="false"/><h3 id="hd_id3150986">Rename Current Index</h3>
+<paragraph role="paragraph" id="par_id3148685" xml-lang="en-US"><ahelp hid="dbaccess/ui/indexdesigndialog/ID_INDEX_RENAME">Renames the current index.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/indexdesigndialog/ID_INDEX_SAVE" id="bm_id3151245" localize="false"/><h3 id="hd_id3153628">Save Current Index</h3>
+<paragraph role="paragraph" id="par_id3148563" xml-lang="en-US"><ahelp hid="dbaccess/ui/indexdesigndialog/ID_INDEX_SAVE">Saves the current index in the data source.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/indexdesigndialog/ID_INDEX_RESET" id="bm_id3147265" localize="false"/><h3 id="hd_id3154924">Reset Current Index</h3>
+<paragraph role="paragraph" id="par_id3154758" xml-lang="en-US"><ahelp hid="dbaccess/ui/indexdesigndialog/ID_INDEX_RESET">Resets the current index to the setting that it had when the dialog was started.</ahelp></paragraph>
+<h2 id="hd_id3152812">Index details</h2>
+<paragraph role="paragraph" id="par_id3154938" xml-lang="en-US">As soon as you change a detail of the current index and then select another index, the change is immediately passed on to the data source. You can only leave the dialog, or select another index, if the change has been successfully acknowledged by the data source. However, you can undo the change by clicking the <emph>Reset Current Index </emph>icon.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/indexdesigndialog/UNIQUE" id="bm_id3145171" localize="false"/><h3 id="hd_id3154138">Unique</h3>
+<paragraph role="paragraph" id="par_id3156282" xml-lang="en-US"><ahelp hid="dbaccess/ui/indexdesigndialog/UNIQUE">Specifies whether the current index allows only unique values.</ahelp> Checking the <emph>Unique </emph>option prevents duplicate data from being entered in the field and ensures data integrity.</paragraph>
+<h3 id="hd_id3150448">Fields</h3>
+<paragraph role="paragraph" id="par_id3147085" xml-lang="en-US">The<emph> Fields</emph> area displays a list of fields in the current table. You can also select multiple fields. In order to remove a field from the selection, select the empty entry at the start of the list.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DLGINDEX_INDEXDETAILS_FIELD" id="bm_id3147230" localize="false"/><h3 id="hd_id3149765">Index field</h3>
+<paragraph role="paragraph" id="par_id3158408" xml-lang="en-US"><ahelp hid="HID_DLGINDEX_INDEXDETAILS_FIELD">Displays a list of the fields in the current table. You can select more than one field.</ahelp><comment>i73718</comment></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DLGINDEX_INDEXDETAILS_SORTORDER" id="bm_id3154910" localize="false"/><h3 id="hd_id3153192">Sort order</h3>
+<paragraph role="paragraph" id="par_id3149561" xml-lang="en-US"><ahelp hid="HID_DLGINDEX_INDEXDETAILS_SORTORDER">Determines the sort order of the indexes.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/indexdesigndialog/close" id="bm_id3145785" localize="false"/><h2 id="hd_id3155132">Close</h2>
+<paragraph role="paragraph" id="par_id3154190" xml-lang="en-US"><ahelp hid="dbaccess/ui/indexdesigndialog/close">Closes the dialog.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/05020000.xhp b/helpcontent2/source/text/sdatabase/05020000.xhp
new file mode 100644
index 000000000..a8635006c
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/05020000.xhp
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+ * 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 .
+ -->
+
+
+<meta>
+<topic id="textsharedexplorerdatabase05020000xml" indexer="include">
+<title id="tit" xml-lang="en-US">Relations</title>
+<filename>/text/sdatabase/05020000.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="relations">
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_CTL_RELATIONTAB" id="bm_id3153345" localize="false"/>
+<h1 id="hd_id3153323"><link href="text/sdatabase/05020000.xhp" name="Relations">Relations</link></h1>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3146957"><bookmark_value>relational databases (Base)</bookmark_value>
+</bookmark><comment>mw added "(Base)"</comment>
+<paragraph role="paragraph" id="par_id3146957" xml-lang="en-US">This command opens the <emph>Relation Design </emph>window, which allows you to define relationships between various database tables.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3154823" xml-lang="en-US"><ahelp hid="HID_CTL_RELATIONTAB">Here you can link together tables from the current database through common data fields.</ahelp> Click the <emph>New Relation</emph> icon to create the relationships, or simply drag-and-drop with the mouse.</paragraph>
+<section id="howtoget">
+<embed href="text/shared/00/00000450.xhp#relationen"/>
+</section>
+<note id="par_id3145316">This function is only available if you are working with a relational database.</note>
+<paragraph role="paragraph" id="par_id3149235" xml-lang="en-US">When you choose <emph>Tools - Relationships</emph>, a window opens in which all the existing relationships between the tables of the current database are shown. If no relationships have been defined, or if you want to relate other tables of the database to each other, then click on the <emph>Add Tables</emph> icon. The <link href="text/shared/02/14020100.xhp" name="Add Tables">Add Tables</link> dialog opens in which you can select the tables with which to create a relation.</paragraph>
+<embed href="text/shared/00/00000450.xhp#syinsert_table"/>
+<note id="par_id3152812">If the <emph>Relation Design</emph> window is open, the selected tables cannot be modified, even in Table Design mode. This ensures that tables are not changed while the relations are being created.</note>
+<paragraph role="paragraph" id="par_id3150541" xml-lang="en-US">The selected tables are shown in the top area of the relation design view. You can close a table window through the context menu or with the Delete key.</paragraph>
+<embed href="text/sdatabase/02010100.xhp#change_display"/>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148922"><bookmark_value>primary keys;inserting (Base)</bookmark_value>
+<bookmark_value>keys;primary keys (Base)</bookmark_value>
+<bookmark_value>external keys (Base)</bookmark_value>
+</bookmark><comment>mw added "(Base)" to all entries</comment>
+<h2 id="hd_id3148922">Primary key and foreign keys</h2>
+<paragraph role="paragraph" id="par_id3149168" xml-lang="en-US">If you want to define a relation among the various tables, you should enter a <link href="text/shared/00/00000005.xhp#primary_key" name="primary key">primary key</link> that uniquely identifies a data field of an existing table. You can refer to the primary key from other tables to access the data of this table. All data fields referring to this primary key will be identified as a foreign key.</paragraph>
+<paragraph role="paragraph" id="par_id3147085" xml-lang="en-US">All data fields referring to a primary key will be identified in the table window by a small key symbol.</paragraph>
+<h2 id="hd_id3153193">Define relations</h2>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155430"><bookmark_value>relations; creating and deleting (Base)</bookmark_value>
+</bookmark><comment>mw added "(Base)"</comment>
+<paragraph role="paragraph" id="par_id3155430" xml-lang="en-US">All existing relations are shown in the relations windows by a line that connects the primary and foreign key fields. You can add a relation by using drag-and-drop to drop the field of one table onto the field of the other table. A relation is removed again by selecting it and pressing the Delete key.</paragraph>
+<paragraph role="paragraph" id="par_id3149984" xml-lang="en-US">Alternatively, you can also click the <emph>New Relation</emph> icon in the top area of the relation field and define the relation between two tables in the <link href="text/sdatabase/05020100.xhp" name="Relations"><emph>Relations</emph></link> dialog.</paragraph>
+<embed href="text/shared/00/00000450.xhp#synew_relation"/>
+<warning id="par_id3153093">If you use $[officename] as the front-end for a relational database, the creation and deletion of relationships is not placed in an intermediate memory by $[officename], but is forwarded directly to the database.</warning>
+<paragraph role="paragraph" id="par_id3155856" xml-lang="en-US">By double-clicking a connection line, you can assign certain properties to the relation. The <emph>Relations </emph>dialog opens.</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/05020100.xhp b/helpcontent2/source/text/sdatabase/05020100.xhp
new file mode 100644
index 000000000..44bf6b05a
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/05020100.xhp
@@ -0,0 +1,72 @@
+<?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="textsharedexplorerdatabase05020100xml" indexer="exclude" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Relations</title>
+<filename>/text/sdatabase/05020100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+</history>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBAddRelation" id="bm_id3155150" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/relationdialog/RelationDialog" id="bm_id3155151" localize="false"/>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150499"><bookmark_value>relations; properties (Base)</bookmark_value>
+<bookmark_value>key fields for relations (Base)</bookmark_value>
+<bookmark_value>cascading update (Base)</bookmark_value>
+</bookmark><comment>mw added "(Base)" to all entries</comment>
+<h1 id="hd_id3150445">Relations</h1>
+<paragraph role="paragraph" id="par_id3150499" xml-lang="en-US"><ahelp hid=".uno:DBAddRelation">Allows you to define and edit a relation between two tables.</ahelp></paragraph>
+<section id="howtoget">
+ <embed href="text/shared/00/00000450.xhp#relationen"/>
+</section>
+<note id="par_id3155136">The update and delete options are only available if they are supported by the database used.</note>
+<h2 id="hd_id3155341">Tables involved</h2>
+<paragraph role="paragraph" id="par_id3153880" xml-lang="en-US"><ahelp hid="dbaccess/ui/relationdialog/table2">This is where the two related tables are listed.</ahelp> If you create a new relation, you can select one table from each of the combo boxes in the top part of the dialog.</paragraph>
+<paragraph role="paragraph" id="par_id3154047" xml-lang="en-US">If you opened the <emph>Relations</emph> dialog for an existing relation by double-clicking the connection lines in the Relation window, then the tables involved in the relation cannot be modified.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/joindialog/relations" id="bm_id3153716" localize="false"/>
+<h2 id="hd_id3153822">Key fields</h2>
+<paragraph role="paragraph" id="par_id3159157" xml-lang="en-US"><ahelp hid="dbaccess/ui/joindialog/relations">Defines the key fields for the relation.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/relationdialog/relations" id="bm_id3153543" localize="false"/>
+<paragraph role="paragraph" id="par_id3149235" xml-lang="en-US"><ahelp hid="dbaccess/ui/relationdialog/table2">The names of the tables selected for the link appear here as column names.</ahelp> If you click a field, you can use the arrow buttons to select a field from the table. Each relation is written in a row.</paragraph>
+<h2 id="hd_id3145609">Update options</h2>
+<paragraph role="paragraph" id="par_id3153061" xml-lang="en-US">Here you can select options that take effect when there are changes to a primary key field.</paragraph>
+<h3 id="hd_id3149046">No action</h3>
+<paragraph role="paragraph" id="par_id3152360" xml-lang="en-US"><ahelp hid="dbaccess/ui/relationdialog/addaction">Specifies that any change made to a primary key does not affect other external key fields.</ahelp></paragraph>
+<h3 id="hd_id3148664">Updating cascade</h3>
+<paragraph role="paragraph" id="par_id3154073" xml-lang="en-US"><ahelp hid="dbaccess/ui/relationdialog/addcascade">Updates all the external key fields if the value of the corresponding primary key has been modified (Cascading Update).</ahelp></paragraph>
+<h3 id="hd_id3145171">Set null</h3>
+<paragraph role="paragraph" id="par_id3154123" xml-lang="en-US"><ahelp hid="dbaccess/ui/relationdialog/addnull"> If the corresponding primary key has been modified, use this option to set the "IS NULL" value to all external key fields. IS NULL means that the field is empty.</ahelp></paragraph>
+<h3 id="hd_id3150448">Set default</h3>
+<paragraph role="paragraph" id="par_id3151041" xml-lang="en-US"><ahelp hid="dbaccess/ui/relationdialog/adddefault"> If the corresponding primary key has been modified, use this option to set a default value to all external key fields.</ahelp> During the creation of the corresponding table, the default value of an external key field will be defined when you assign the field properties.</paragraph>
+<h2 id="hd_id3125863">Delete options</h2>
+<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US">Here you can select options that take effect when a primary key field is deleted.</paragraph>
+<h3 id="hd_id3159252">No action</h3>
+<paragraph role="paragraph" id="par_id3145785" xml-lang="en-US"><ahelp hid="dbaccess/ui/relationdialog/delaction">Specifies that the deletion of a primary key will not have any effect on other external key fields.</ahelp></paragraph>
+<h3 id="hd_id3154146">Delete cascade</h3>
+<paragraph role="paragraph" id="par_id3155309" xml-lang="en-US"><ahelp hid="dbaccess/ui/relationdialog/delcascade">Specifies that all external key fields will be deleted if you delete the corresponding primary key field.</ahelp></paragraph>
+<warning id="par_id3153140">When you delete a primary key field with the<emph> Delete cascade </emph>option, all records from other tables that have this key as their foreign key are also deleted. Use this option with great care; it is possible that a major portion of the database can be deleted.</warning>
+<h3 id="hd_id3152596">Set null</h3>
+<paragraph role="paragraph" id="par_id3153363" xml-lang="en-US"><ahelp hid="dbaccess/ui/relationdialog/delnull">If you delete the corresponding primary key, the "IS NULL" value will be assigned to all external key fields.</ahelp></paragraph>
+<h3 id="hd_id3145272">Set Default</h3>
+<paragraph role="paragraph" id="par_id3154320" xml-lang="en-US"><ahelp hid="dbaccess/ui/relationdialog/deldefault">If you delete the corresponding primary key, a set value will be set to all external key fields.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/05030000.xhp b/helpcontent2/source/text/sdatabase/05030000.xhp
new file mode 100644
index 000000000..ca3b9a188
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/05030000.xhp
@@ -0,0 +1,52 @@
+<?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="textsharedexplorerdatabase05030000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Copy a Table by Drag-and-Drop</title>
+<filename>/text/sdatabase/05030000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+</history>
+</meta>
+<body>
+<h1 id="hd_id3154894"><link href="text/sdatabase/05030000.xhp" name="Copy Query or Table by Drag-and-Drop">Copy Query or Table by Drag-and-Drop</link></h1>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155535"><bookmark_value>queries; copying (Base)</bookmark_value>
+<bookmark_value>tables in databases; copying database tables (Base)</bookmark_value>
+</bookmark><comment>mw deleted "database tables;"</comment>
+<paragraph role="paragraph" id="par_id3155535" xml-lang="en-US"><comment>UFI: fix to #i18395#</comment>Dragging-and-dropping a query or table opens the <emph>Copy Table </emph>dialog, which allows you to define the options for copying a query or a table.</paragraph>
+<section id="howtoget">
+ <embed href="text/shared/00/00000450.xhp#tabellecopy"/>
+</section>
+<paragraph role="paragraph" id="par_id3148539" xml-lang="en-US">With the <emph>Copy Table </emph>dialog you can:</paragraph>
+<list type="unordered">
+<listitem>
+<paragraph role="listitem" id="par_id3153147" xml-lang="en-US">copy the data from the table into another table,</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3150504" xml-lang="en-US">use the structure of the table as the basis for creating a new table.</paragraph>
+</listitem>
+</list>
+<paragraph role="paragraph" id="par_id3155628" xml-lang="en-US">You can copy within the same database or between different databases.</paragraph>
+<embed href="text/sdatabase/05030100.xhp#tablecopy"/>
+<embed href="text/sdatabase/05030200.xhp#tablecopy2"/>
+<embed href="text/sdatabase/05030300.xhp#tablecopy3"/>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/05030100.xhp b/helpcontent2/source/text/sdatabase/05030100.xhp
new file mode 100644
index 000000000..7151193e6
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/05030100.xhp
@@ -0,0 +1,55 @@
+<?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="textsharedexplorerdatabase05030100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Copy Table</title>
+<filename>/text/sdatabase/05030100.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="tablecopy">
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/copytablepage/CopyTablePage" id="bm_id3154841" localize="false"/>
+<h1 id="hd_id3085157"><link href="text/sdatabase/05030100.xhp" name="Copy Table">Copy Table</link></h1>
+<paragraph role="paragraph" id="par_id3149264" xml-lang="en-US">You can copy a table by dragging and dropping the table onto the table area of a database file window. The <emph>Copy table </emph>dialog appears.</paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/copytablepage/name" id="bm_id3154840" localize="false"/><h2 id="hd_id3154926">Table name</h2>
+<paragraph role="paragraph" id="par_id3144740" xml-lang="en-US"><ahelp hid="dbaccess/ui/copytablepage/name">Specifies a name for the copy.</ahelp> Some databases only accept names containing eight or fewer characters.</paragraph>
+<h2 id="hd_id3154228">Options</h2>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/copytablepage/defdata" id="bm_id3147576" localize="false"/><h3 id="hd_id3157898">Definition and data</h3>
+<paragraph role="paragraph" id="par_id3150178" xml-lang="en-US"><ahelp hid="dbaccess/ui/copytablepage/defdata">Creates a 1:1 copy of the database table.</ahelp> The table definition and the complete data are copied. The table definition includes the table structure and format from different data fields, including special field properties. The field contents supply the data.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/copytablepage/def" id="bm_id3147226" localize="false"/><h3 id="hd_id3149346">Definition</h3>
+<paragraph role="paragraph" id="par_id3156426" xml-lang="en-US"><ahelp hid="dbaccess/ui/copytablepage/def">Copies only the table definition and not the corresponding data.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/copytablepage/view" id="bm_id3149096" localize="false"/><h3 id="hd_id3143267">As table view</h3>
+<paragraph role="paragraph" id="par_id3153311" xml-lang="en-US"><ahelp hid="dbaccess/ui/copytablepage/view">If the database supports Views and you selected this option, a query will be created in the table container as a table. This option allows you to view the query results as a normal table view.</ahelp> The table will be filtered in the view with a "Select" SQL statement.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/copytablepage/data" id="bm_id3156347" localize="false"/><h3 id="hd_id3155535">Append data<comment>see #i63815</comment></h3>
+<paragraph role="paragraph" id="par_id3166410" xml-lang="en-US"><ahelp hid="dbaccess/ui/copytablepage/data">Appends the data of the table to be copied to an existing table.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3147275" xml-lang="en-US">The table definition must be exactly the same so that data can be copied. Data cannot be copied if a data field in the target table has another format than the data field in the source table.</paragraph>
+<paragraph role="paragraph" id="par_id3156117" xml-lang="en-US">Match the data field names in the<emph> Copy Table</emph> dialog on the <link href="text/sdatabase/05030400.xhp" name="Apply Columns">Apply Columns</link> page.</paragraph>
+<paragraph role="paragraph" id="par_id3153252" xml-lang="en-US"><ahelp hid="dbaccess/ui/copytablepage/data">If the data cannot be attached, you will see a list of fields in the <emph>Column Info</emph> dialog whose data cannot be copied.</ahelp> If you confirm this dialog with OK, only the data that does not appear in the list will be attached.</paragraph>
+<note id="par_id3158430">If the fields of the target table have a smaller field length than in the source table when data is being attached, the source data fields will automatically be truncated to match the field lengths in the target table.</note>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149164"><bookmark_value>primary keys; defining</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/copytablepage/primarykey" id="bm_id3148564" localize="false"/><h3 id="hd_id3149164">Create primary key</h3>
+<paragraph role="paragraph" id="par_id3155922" xml-lang="en-US"><ahelp hid="dbaccess/ui/copytablepage/primarykey">Automatically generates a primary key data field and fills it with values.</ahelp> You should always use this field, since a primary key must always be available in order to edit the table.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/copytablepage/keyname" id="bm_id3147303" localize="false"/><h3 id="hd_id3146794">Name</h3>
+<paragraph role="paragraph" id="par_id3156343" xml-lang="en-US"><ahelp hid="dbaccess/ui/copytablepage/keyname">Specifies a name for the primary key generated. This name is optional.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3151056" xml-lang="en-US"><link href="text/sdatabase/05030200.xhp" name="Next page">Next page</link></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/05030200.xhp b/helpcontent2/source/text/sdatabase/05030200.xhp
new file mode 100644
index 000000000..d26f81524
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/05030200.xhp
@@ -0,0 +1,44 @@
+<?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="textsharedexplorerdatabase05030200xml" indexer="exclude" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Apply columns</title>
+<filename>/text/sdatabase/05030200.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="tablecopy2">
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/applycolpage/ApplyColPage" id="bm_id3155806" localize="false"/>
+<h1 id="hd_id3150445"><link href="text/sdatabase/05030200.xhp" name="Apply columns">Apply columns</link></h1>
+<paragraph role="paragraph" id="par_id3147143" xml-lang="en-US">In the data source explorer, you can copy a table by dragging and dropping the table onto the table container. The <emph>Apply columns </emph>dialog is the second window of the <emph>Copy table</emph> dialog.</paragraph>
+</section>
+<h2 id="hd_id3155552">Existing columns</h2>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/applycolpage/from" id="bm_id3155805" localize="false"/><h3 id="hd_id3154751">Left list box</h3>
+<paragraph role="paragraph" id="par_id3147088" xml-lang="en-US"><ahelp hid="dbaccess/ui/applycolpage/from">Lists the available data fields that you can include in the copied table. To copy a data field, click its name, and then click the &gt; button. To copy all of the fields, click the <emph>&gt;&gt;</emph> button.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/applycolpage/to" id="bm_id3149827" localize="false"/><h3 id="hd_id3154823">Right list box</h3>
+<paragraph role="paragraph" id="par_id3156426" xml-lang="en-US"><ahelp hid="dbaccess/ui/applycolpage/to">Lists the fields that you want to include in the copied table.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/applycolpage/colrh" id="bm_id3152781" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/applycolpage/colsrh" id="bm_id3147653" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/applycolpage/collh" id="bm_id3151110" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/applycolpage/colslh" id="bm_id3152996" localize="false"/><h3 id="hd_id3147242">Buttons</h3>
+<paragraph role="paragraph" id="par_id3146797" xml-lang="en-US"><ahelp hid=".">Adds or removes the selected field (&gt; or &lt; button) or all of the fields (&lt;&lt; or &gt;&gt; button).</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3153561" xml-lang="en-US"><link href="text/sdatabase/05030300.xhp" name="Next page">Next page</link></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/05030300.xhp b/helpcontent2/source/text/sdatabase/05030300.xhp
new file mode 100644
index 000000000..812cc215f
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/05030300.xhp
@@ -0,0 +1,63 @@
+<?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="textsharedexplorerdatabase05030300xml" indexer="exclude" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Type formatting</title>
+<filename>/text/sdatabase/05030300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+</history>
+</meta>
+<body>
+<section id="tablecopy3">
+<h1 id="hd_id3163829"><link href="text/sdatabase/05030300.xhp" name="Type formatting">Type formatting</link></h1>
+<paragraph role="paragraph" id="par_id3150247" xml-lang="en-US">In the data source explorer, you can copy a table by dragging and dropping the table onto the table container. The<emph> Type formatting </emph>dialog is the third window of the <emph>Copy table</emph> dialog.</paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/typeselectpage/columnnames" id="bm_id3147291" localize="false"/>
+<h2 id="hd_id3152801">List box</h2>
+<paragraph role="paragraph" id="par_id3145313" xml-lang="en-US"><ahelp hid="dbaccess/ui/typeselectpage/columnnames">Lists the data fields that will be included in to the copied table.</ahelp></paragraph>
+<h2 id="hd_id3155535">Column information</h2>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TAB_ENT_COLUMNNAME" id="bm_id3153311" localize="false"/>
+<h3 id="hd_id3156426">Field name</h3>
+<paragraph role="paragraph" id="par_id3153681" xml-lang="en-US"><ahelp hid=".">Displays the name of the selected data field. If you want, you can enter a new name.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TAB_ENT_TYPE" id="bm_id3154749" localize="false"/>
+<h3 id="hd_id3156113">Field type</h3>
+<paragraph role="paragraph" id="par_id3149811" xml-lang="en-US"><ahelp hid=".">Select a field type.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TAB_ENT_TEXT_LEN" id="bm_id3149795" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TAB_ENT_LEN" id="bm_id3149516" localize="false"/>
+<h3 id="hd_id3149763">Length</h3>
+<paragraph role="paragraph" id="par_id3155449" xml-lang="en-US"><ahelp hid=".">Enter the number of characters for the data field.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TAB_ENT_SCALE" id="bm_id3154285" localize="false"/>
+<h3 id="hd_id3159176">Decimal places</h3>
+<paragraph role="paragraph" id="par_id3153666" xml-lang="en-US"><ahelp hid=".">Enter the number of decimal places for the data field. This option is only available for numerical or decimal data fields.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TAB_ENT_BOOL_DEFAULT" id="bm_id3156155" localize="false"/>
+<h3 id="hd_id3150276">Default value</h3>
+<paragraph role="paragraph" id="par_id3147620" xml-lang="en-US"><ahelp hid=".">Select the default value for a Yes/No field.</ahelp></paragraph>
+<h2 id="hd_id3153087">Automatic type recognition</h2>
+<paragraph role="paragraph" id="par_id3153561" xml-lang="en-US">$[officename] can automatically recognize field contents when you copy database tables by drag and drop.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/typeselectpage/auto" id="bm_id3153061" localize="false"/>
+<h3 id="hd_id3156023">(max.) lines</h3>
+<paragraph role="paragraph" id="par_id3155923" xml-lang="en-US"><ahelp hid="dbaccess/ui/typeselectpage/auto">Enter the number of lines to use for automatic type recognition.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/typeselectpage/autobutton" id="bm_id3148946" localize="false"/>
+<h3 id="hd_id3154347">Auto</h3>
+<paragraph role="paragraph" id="par_id3152361" xml-lang="en-US"><ahelp hid="dbaccess/ui/typeselectpage/autobutton">Enables automatic type recognition.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/05030400.xhp b/helpcontent2/source/text/sdatabase/05030400.xhp
new file mode 100644
index 000000000..b3e6039f4
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/05030400.xhp
@@ -0,0 +1,55 @@
+<?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="textsharedexplorerdatabase05030400xml" indexer="exclude" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Assign columns</title>
+<filename>/text/sdatabase/05030400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+</history>
+</meta>
+<body>
+<section id="tablecopy2a">
+<h1 id="hd_id3151100"><link href="text/sdatabase/05030400.xhp" name="Assign columns">Assign columns</link></h1>
+<paragraph role="paragraph" id="par_id3156027" xml-lang="en-US">In the data source explorer, you can copy a table by dragging and dropping the table onto the table container. If you select the <emph>Attach data </emph>check box on the first page of the <emph>Copy table </emph>dialog, the <emph>Assign columns </emph>dialog opens as the second window. You can use this dialog to map the contents of a data field in the source table to a different data field in the destination table.</paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/namematchingpage/left" id="bm_id3153527" localize="false"/>
+<h2 id="hd_id3157958">Source table</h2>
+<paragraph role="paragraph" id="par_id3145071" xml-lang="en-US"><ahelp hid="dbaccess/ui/namematchingpage/left">Lists the data fields in the source table. To include a data field from the source table in the destination table, select the check box in front of the data field name. To map the contents of a data field in the source table to a different data field in the destination table, click the data field in the source table list, and then click the up or down arrow.</ahelp> To include all of the source data fields in the destination table, click <emph>All</emph>.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/namematchingpage/right" id="bm_id3147242" localize="false"/>
+<h2 id="hd_id3166410">Destination table</h2>
+<paragraph role="paragraph" id="par_id3154749" xml-lang="en-US"><ahelp hid="dbaccess/ui/namematchingpage/right">Lists the possible data fields in the destination table. Only the data fields that are selected in the source table list will be included the destination table.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/namematchingpage/up" id="bm_id3149516" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/namematchingpage/up_right" id="bm_id3155342" localize="false"/>
+<h2 id="hd_id3150670">up</h2>
+<paragraph role="paragraph" id="par_id3155628" xml-lang="en-US"><ahelp hid=".">Moves the selected entry up one position in the list.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/namematchingpage/down" id="bm_id3154307" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/namematchingpage/down_right" id="bm_id3153716" localize="false"/>
+<h2 id="hd_id3149580">down</h2>
+<paragraph role="paragraph" id="par_id3150984" xml-lang="en-US"><ahelp hid=".">Moves the selected entry down one position in the list.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/namematchingpage/all" id="bm_id3147619" localize="false"/>
+<h2 id="hd_id3156156">all</h2>
+<paragraph role="paragraph" id="par_id3154514" xml-lang="en-US"><ahelp hid="dbaccess/ui/namematchingpage/all">Selects all of the data fields in the list.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/namematchingpage/none" id="bm_id3155341" localize="false"/>
+<h2 id="hd_id3153541">none</h2>
+<paragraph role="paragraph" id="par_id3148563" xml-lang="en-US"><ahelp hid="dbaccess/ui/namematchingpage/none">Clears all of the check boxes in the list.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/05040000.xhp b/helpcontent2/source/text/sdatabase/05040000.xhp
new file mode 100644
index 000000000..c3f068e0b
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/05040000.xhp
@@ -0,0 +1,34 @@
+<?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="textsharedexplorerdatabase05040000xml" indexer="exclude" status="PUBLISH">
+<title id="tit" xml-lang="en-US">General</title>
+<filename>/text/sdatabase/05040000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+</history>
+</meta>
+<body>
+<h1 id="hd_id3149031"><link href="text/sdatabase/05040000.xhp" name="General">General</link></h1>
+<embed href="text/sdatabase/05040100.xhp#general"/>
+<embed href="text/sdatabase/05040200.xhp#description"/>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/05040100.xhp b/helpcontent2/source/text/sdatabase/05040100.xhp
new file mode 100644
index 000000000..538820245
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/05040100.xhp
@@ -0,0 +1,59 @@
+<?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="textsharedexplorerdatabase05040100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">General</title>
+<filename>/text/sdatabase/05040100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+</history>
+</meta>
+<body>
+<section id="general">
+<h1 id="hd_id3153255"><link href="text/sdatabase/05040100.xhp" name="General">General</link></h1>
+<paragraph role="paragraph" id="par_id3157898" xml-lang="en-US">When you create a database table as an administrator, you can use this tab to determine user access, and to edit the data or the table structure.</paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3152594"><bookmark_value>access rights for database tables (Base)</bookmark_value>
+<bookmark_value>tables in databases; access rights to (Base)</bookmark_value>
+</bookmark><comment>mw added "(Base)" to all entries</comment>
+<paragraph role="paragraph" id="par_id3152594" xml-lang="en-US">If you are not the administrator, you can use the <emph>General</emph> tab to view your access rights for the selected table.</paragraph>
+<h2 id="hd_id3145669">Table name</h2>
+<paragraph role="paragraph" id="par_id3147834" xml-lang="en-US">Displays the name of the selected database table.</paragraph>
+<h2 id="hd_id3156426">Type</h2>
+<paragraph role="paragraph" id="par_id3154823" xml-lang="en-US">Displays the type of database.</paragraph>
+<h2 id="hd_id3149095">Location</h2>
+<paragraph role="paragraph" id="par_id3153311" xml-lang="en-US">Displays the complete path of the database table.</paragraph>
+<h2 id="hd_id3153528">Read data</h2>
+<paragraph role="paragraph" id="par_id3163802" xml-lang="en-US"><ahelp hid=".">Allows a user to read the data.</ahelp></paragraph>
+<h2 id="hd_id3150355">Insert data</h2>
+<paragraph role="paragraph" id="par_id3149398" xml-lang="en-US"><ahelp hid=".">Allows a user to insert new data.</ahelp></paragraph>
+<h2 id="hd_id3155420">Change data</h2>
+<paragraph role="paragraph" id="par_id3158430" xml-lang="en-US"><ahelp hid=".">Allows a user to change data.</ahelp></paragraph>
+<h2 id="hd_id3149516">Delete data</h2>
+<paragraph role="paragraph" id="par_id3155449" xml-lang="en-US"><ahelp hid=".">Allows a user to delete data.</ahelp></paragraph>
+<h2 id="hd_id3145674">Change table structure</h2>
+<paragraph role="paragraph" id="par_id3153146" xml-lang="en-US"><ahelp hid=".">Allows a user to change the table structure.</ahelp></paragraph>
+<h2 id="hd_id3143270">Definition</h2>
+<paragraph role="paragraph" id="par_id3154897" xml-lang="en-US"><ahelp hid=".">Allows the user to delete the table structure.</ahelp></paragraph>
+<h2 id="hd_id3153126">Modify references</h2>
+<paragraph role="paragraph" id="par_id3159399" xml-lang="en-US"><ahelp hid=".">Allows the user to modify the defined references, for example, to enter new relations for the table or to delete existing relations.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/05040200.xhp b/helpcontent2/source/text/sdatabase/05040200.xhp
new file mode 100644
index 000000000..dfb61ef7b
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/05040200.xhp
@@ -0,0 +1,36 @@
+<?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="textsharedexplorerdatabase05040200xml" indexer="exclude" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Description</title>
+<filename>/text/sdatabase/05040200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+</history>
+</meta>
+<body>
+<section id="description">
+<h1 id="hd_id3109850"><link href="text/sdatabase/05040200.xhp" name="Description">Description</link></h1>
+</section>
+<h2 id="hd_id3157898">Table description</h2>
+<paragraph role="paragraph" id="par_id3154422" xml-lang="en-US"><ahelp hid=".">Displays the description for the selected table.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/11000002.xhp b/helpcontent2/source/text/sdatabase/11000002.xhp
new file mode 100644
index 000000000..43107a4a2
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/11000002.xhp
@@ -0,0 +1,48 @@
+<?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="textsharedexplorerdatabase11000002xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Data sources in $[officename]</title>
+<filename>/text/sdatabase/05040200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+</history>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155449"><bookmark_value>databases;drag and drop (Base)</bookmark_value>
+</bookmark><comment>mw added "(Base)"</comment>
+<h1 id="hd_id3151299"><link href="text/sdatabase/05040200.xhp" name="Data sources in $[officename]">Data sources in $[officename]</link></h1>
+<section id="address_book">
+<h2 id="hd_id3150616">Selecting the Address Book</h2>
+<embed href="text/shared/guide/data_addressbook.xhp#address_book"/>
+<paragraph role="paragraph" id="par_id3153049" xml-lang="en-US">To select the address book that you want to use, choose <link href="text/shared/01/01110101.xhp" name="Tools - Address Book Source"><emph>Tools - Address Book Source</emph></link>.</paragraph>
+</section>
+<h2 id="hd_id3147275">Opening a Data Source</h2>
+<list type="unordered">
+<listitem>
+<paragraph role="paragraph" id="par_id3154143" xml-lang="en-US">To open the data source view, press <switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode>+Shift+F4</keycode> in a text, spreadsheet or form document.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id3154046" xml-lang="en-US">To view the contents of a database, click the plus sign (+) in front of the name in the data source view.</paragraph>
+</listitem>
+</list>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/11020000.xhp b/helpcontent2/source/text/sdatabase/11020000.xhp
new file mode 100644
index 000000000..8e1f9484b
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/11020000.xhp
@@ -0,0 +1,68 @@
+<?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="textsharedexplorerdatabase11020000xml" indexer="exclude" status="PUBLISH">
+<title id="tit" xml-lang="en-US">ODBC</title>
+<filename>/text/sdatabase/11020000.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="odbc">
+<h1 id="hd_id3149031"><link href="text/sdatabase/11020000.xhp" name="ODBC">ODBC</link><comment>still some Help IDs in this file. Else it can be removed</comment></h1>
+<paragraph role="paragraph" id="par_id3150499" xml-lang="en-US"><ahelp hid=".">Specifies the settings for <link href="text/shared/00/00000005.xhp#odbc" name="ODBC">ODBC</link> databases. This includes your user access data, driver settings, and font definitions.</ahelp></paragraph>
+</section>
+<section id="username">
+<h2 id="hd_id3148642">User Name</h2>
+<paragraph role="paragraph" id="par_id3154514" xml-lang="en-US"><ahelp hid=".">Type the user name for accessing the database.</ahelp></paragraph>
+</section>
+<section id="password">
+<h2 id="hd_id3153665">Password required</h2>
+<paragraph role="paragraph" id="par_id3145119" xml-lang="en-US"><ahelp hid=".">Prevents an unauthorized user from accessing the database. You only need to enter the password once per session.</ahelp></paragraph>
+</section>
+<section id="driver settings">
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/odbcpage/options" id="bm_id3148473" localize="false"/><h2 id="hd_id3153087">Driver Settings</h2>
+<paragraph role="paragraph" id="par_id3143271" xml-lang="en-US"><ahelp hid="dbaccess/ui/odbcpage/options">Use this text field to enter additional optional driver settings if this is necessary.</ahelp></paragraph>
+</section>
+<section id="character_set">
+<!-- removed HID HID_DSADMIN_CHARSET_ODBC --><h2 id="hd_id3152472">Character Set</h2>
+<paragraph role="paragraph" id="par_id3151245" xml-lang="en-US"><ahelp hid="HID_DSADMIN_CHARSET_ODBC">Select the code conversion that you want to use to view the database in $[officename]. This does not affect the database.</ahelp> Choose "System" to use the default character set of your operating system. Text and dBASE databases are restricted to character sets with a fixed-size character length, where all characters are encoded with the same number of bytes.</paragraph>
+</section>
+<section id="retrieve">
+<h2 id="hd_id3149669">General</h2>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/generatedvaluespage/autoretrieve" id="bm_id3161657" localize="false"/><h3 id="hd_id3147265">Retrieve generated values</h3>
+<paragraph role="paragraph" id="par_id3151054" xml-lang="en-US"><ahelp hid="dbaccess/ui/generatedvaluespage/autoretrieve">Enables $[officename] support of auto-incremented data fields for the current ODBC or JDBC data source.</ahelp> Select this check box if the database does not support the auto-increment feature in its SDBCX layer. In general, the auto-increment is selected for the primary key field.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/generatedvaluespage/statement" id="bm_id3150792" localize="false"/><h3 id="hd_id3150400">Auto-increment statement</h3>
+<paragraph role="paragraph" id="par_id3154366" xml-lang="en-US"><ahelp hid="dbaccess/ui/generatedvaluespage/statement">Enter the SQL command specifier that instructs the data source to auto-increment a specified Integer data field.</ahelp> For example, a typical SQL statement to create a data field is: </paragraph>
+<paragraph role="paragraph" id="par_id3159149" xml-lang="en-US">CREATE TABLE "table1" ("id" INTEGER)</paragraph>
+<paragraph role="paragraph" id="par_id3147084" xml-lang="en-US">To auto-increment the "id" data field in a MySQL database, change the statement to:</paragraph>
+<paragraph role="paragraph" id="par_id3154909" xml-lang="en-US">CREATE TABLE "table1" ("id" INTEGER AUTO_INCREMENT)</paragraph>
+<paragraph role="paragraph" id="par_id3152933" xml-lang="en-US">In other words, enter AUTO_INCREMENT into <emph>Auto-increment statement</emph> box.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/generatedvaluespage/query" id="bm_id3153195" localize="false"/><h3 id="hd_id3149765">Query of generated values</h3>
+<paragraph role="paragraph" id="par_id3145171" xml-lang="en-US"><ahelp hid="dbaccess/ui/generatedvaluespage/query">Enter an SQL statement that returns the last auto-incremented value for the primary key data field.</ahelp> For example:</paragraph>
+<paragraph role="paragraph" id="par_id3150769" xml-lang="en-US">SELECT LAST_INSERT_D();</paragraph>
+</section>
+<section id="sql92">
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialsettingspage/usesql92" id="bm_id3147289" localize="false"/><h3 id="hd_id3157892">Use SQL92 naming constraints</h3>
+<paragraph role="paragraph" id="par_id3153368" xml-lang="en-US"><ahelp hid="dbaccess/ui/specialsettingspage/usesql92">Only allows names that use characters that conform to the SQL92 naming constraints in the data source. All other characters are rejected.</ahelp> Each name must begin with a lower or upper case letter, or an underline ( _ ). The remaining characters can be ASCII letters, underlines, and numbers.</paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DSADMIN_USECATALOG" id="bm_id3146148" localize="false"/><h3 id="hd_id3154011">Use Catalog for file-based databases</h3>
+<paragraph role="paragraph" id="par_id3148618" xml-lang="en-US"><ahelp hid="HID_DSADMIN_USECATALOG">Uses the current data source of the Catalog. This is useful when the ODBC data source is a database server. If the ODBC data source is a dBASE driver, leave this check box clear.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/11030000.xhp b/helpcontent2/source/text/sdatabase/11030000.xhp
new file mode 100644
index 000000000..9d8d45794
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/11030000.xhp
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+ * 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 .
+ -->
+
+
+<meta>
+<topic id="textsharedexplorerdatabase11030000xml" indexer="exclude">
+<title id="tit" xml-lang="en-US">dBASE</title>
+<filename>/text/sdatabase/11030000.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="dbase"><comment>ufi: removed remaining two index entries</comment><comment>mw added "(Base)" to all 4 entries and transferred 2 entries to sdatabase/dabawiz02dbase.xhp</comment>
+<h1 id="hd_id3153539"><link href="text/sdatabase/11030000.xhp" name="dBase">dBASE</link><comment>still two Help IDs in this file. Else file can be removed</comment></h1>
+<paragraph role="paragraph" id="par_id3147088" xml-lang="en-US"><ahelp hid=".">Specify the settings for a dBASE database.</ahelp></paragraph>
+</section>
+<section id="howtoget">
+<embed href="text/shared/00/00000450.xhp#dBase"/>
+</section>
+<paragraph role="paragraph" id="par_id3151110" xml-lang="en-US">To be able to define relations between tables, use JDBC or ODBC from within $[officename].</paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbasepage/showDelRowsCheckbutton" id="bm_id3154142" localize="false"/>
+<h2 id="hd_id3149233">Display inactive records</h2>
+<paragraph role="paragraph" id="par_id3153823" xml-lang="en-US"><ahelp hid="dbaccess/ui/dbasepage/showDelRowsCheckbutton">Displays all the records in a file, including those marked as deleted. If you select this check box, you cannot delete records.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3156023" xml-lang="en-US">In dBASE format, deleted records remain in the file. </paragraph>
+<paragraph role="paragraph" id="par_id3151384" xml-lang="en-US">To view any changes that you make to the database, close the connection to the database, and then reconnect the database.</paragraph>
+<paragraph role="paragraph" id="par_id6051820" xml-lang="en-US" localize="false"><comment>UFI: deleted note about case sensitivity. Should be not other than for all other files.</comment></paragraph>
+<!-- removed HID HID_DSADMIN_CHARSET_DBASE -->
+<paragraph role="paragraph" id="par_id0904200811094971" xml-lang="en-US"><ahelp hid="." visibility="hidden">Select the code conversion that you want to use to view the database in $[officename]. This does not affect the database.</ahelp></paragraph>
+<embed href="text/sdatabase/11020000.xhp#character_set"/>
+<embed href="text/sdatabase/11020000.xhp#sql92"/>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbasepage/indiciesButton" id="bm_id3151056" localize="false"/>
+<h2 id="hd_id3149047">Indexes</h2>
+<paragraph role="paragraph" id="par_id3161656" xml-lang="en-US"><ahelp hid="dbaccess/ui/dbasepage/indiciesButton">Opens the <link href="text/sdatabase/11030100.xhp" name="Indexes"><emph>Indexes</emph></link> dialog, where you can organize the table indexes in the current dBASE database.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/11030100.xhp b/helpcontent2/source/text/sdatabase/11030100.xhp
new file mode 100644
index 000000000..9eb5a8a73
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/11030100.xhp
@@ -0,0 +1,48 @@
+<?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="textsharedexplorerdatabase11030100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Indexes</title>
+<filename>/text/sdatabase/11030100.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbaseindexdialog/DBaseIndexDialog" id="bm_id3146959" localize="false"/>
+<h1 id="hd_id3148983"><link href="text/sdatabase/11030100.xhp" name="Indexes">Indexes</link></h1>
+<paragraph role="paragraph" id="par_id3150247" xml-lang="en-US"><ahelp hid=".">Lets you organize dBASE database indexes.</ahelp> An index allows you to access a database quickly, provided that you query the data in the selection that was defined through the index. When you design a table, you can define the indexes on the <emph>Indexes </emph>tab page.</paragraph>
+<section id="howtoget">
+ <embed href="text/shared/00/00000450.xhp#dBasein"/>
+</section>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbaseindexdialog/table" id="bm_id3146958" localize="false"/><h2 id="hd_id3155339">Table</h2>
+<paragraph role="paragraph" id="par_id3152551" xml-lang="en-US"><ahelp hid="dbaccess/ui/dbaseindexdialog/table">Select the database table that you want to index.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbaseindexdialog/tableindex" id="bm_id3153312" localize="false"/><h2 id="hd_id3159233">Table Indexes</h2>
+<paragraph role="paragraph" id="par_id3143267" xml-lang="en-US"><ahelp hid="dbaccess/ui/dbaseindexdialog/tableindex">Lists the current indexes for the selected database table.</ahelp> To remove an index from the list, click the index, and then click the right arrow.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbaseindexdialog/freeindex" id="bm_id3147276" localize="false"/><h2 id="hd_id3148538">Free Indexes</h2>
+<paragraph role="paragraph" id="par_id3151110" xml-lang="en-US"><ahelp hid="dbaccess/ui/dbaseindexdialog/freeindex">Lists the available indexes that you can assign to a table.</ahelp> To assign an index to a selected table, click the left arrow icon. The left double arrow assigns all available indexes.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbaseindexdialog/add" id="bm_id3146949" localize="false"/><h2 id="hd_id3156152">&lt;</h2>
+<paragraph role="paragraph" id="par_id3150984" xml-lang="en-US"><ahelp hid="dbaccess/ui/dbaseindexdialog/add">Moves the selected index to the <emph>Table Indexes</emph> list.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbaseindexdialog/addall" id="bm_id3153147" localize="false"/><h2 id="hd_id3149416">&lt;&lt;</h2>
+<paragraph role="paragraph" id="par_id3145315" xml-lang="en-US"><ahelp hid="dbaccess/ui/dbaseindexdialog/addall">Moves all of the free indexes to the <emph>Table Indexes</emph> list.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbaseindexdialog/remove" id="bm_id3147619" localize="false"/><h2 id="hd_id3149579">&gt;</h2>
+<paragraph role="paragraph" id="par_id3149795" xml-lang="en-US"><ahelp hid="dbaccess/ui/dbaseindexdialog/remove">Moves the selected table indexes to the <emph>Free Indexes</emph> list.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbaseindexdialog/removeall" id="bm_id3154515" localize="false"/><h2 id="hd_id3155629">&gt;&gt;</h2>
+<paragraph role="paragraph" id="par_id3151245" xml-lang="en-US"><ahelp hid="dbaccess/ui/dbaseindexdialog/removeall">Moves all of the table indexes to the <emph>Free Indexes</emph> list.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/11080000.xhp b/helpcontent2/source/text/sdatabase/11080000.xhp
new file mode 100644
index 000000000..11de16508
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/11080000.xhp
@@ -0,0 +1,69 @@
+<?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="textsharedexplorerdatabase11080000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Execute SQL statement</title>
+<filename>/text/sdatabase/11080000.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148983">
+<bookmark_value>SQL; executing SQL statements (Base)</bookmark_value>
+<bookmark_value>databases; administration through SQL (Base)</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/directsqldialog/DirectSQLDialog" id="bm_id3150773" localize="false"/><paragraph role="paragraph" id="par_id3148983" xml-lang="en-US" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/directsqldialog/@@nowidget@@" id="bm_id3150773" localize="false"/>
+
+<h1 id="hd_id3153345"><link href="text/sdatabase/11080000.xhp" name="Execute SQL statement">Execute SQL statement</link></h1>
+<paragraph role="paragraph" id="par_id3154288" xml-lang="en-US"><variable id="sqltext"><ahelp hid=".">Opens a dialog where you can enter an SQL command for administering a database.</ahelp>
+</variable></paragraph>
+<section id="howtoget">
+ <embed href="text/shared/00/00000450.xhp#SQLStatement"/>
+</section>
+<embed href="text/shared/guide/data_enter_sql.xhp#data_enter_sql"/>
+<paragraph role="paragraph" id="par_id3147275" xml-lang="en-US">You can only enter administration commands in this dialog, such as Grant, Create Table, or Drop Table, and not filter commands. The commands that you can enter depend on the data source, for example, dBASE can only run some of the SQL commands list here.</paragraph>
+<note id="par_id3154860">To run an SQL query for filtering data in the database, use the <link href="text/sdatabase/02010100.xhp" name="Query Design">Query Design View</link>.</note>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/directsqldialog/sql" id="bm_id3150772" localize="false"/>
+<h2 id="hd_id3149514">Command to execute</h2>
+<paragraph role="paragraph" id="par_id3147618" xml-lang="en-US"><ahelp hid="dbaccess/ui/directsqldialog/sql">Enter the SQL administration command that you want to run.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3153087" xml-lang="en-US">For example, for a "Bibliography" data source, you can enter the following SQL command:</paragraph>
+<paragraph role="paragraph" id="par_id3145673" xml-lang="en-US">SELECT "Address" FROM "biblio" "biblio"</paragraph>
+<paragraph role="paragraph" id="par_id3145611" xml-lang="en-US">For more information on SQL commands, please consult the documentation that came with the database.</paragraph>
+
+<embed href="text/shared/02/14030000.xhp#native"/>
+<h2 id="hd_id91652478785999">Show output of "select" statements</h2>
+<paragraph role="paragraph" id="par_id281652481037143">Show the result of the SQL SELECT command in the Output box.</paragraph>
+<h2 id="hd_id3154071">Execute</h2>
+<paragraph role="paragraph" id="par_id3151210" xml-lang="en-US"><ahelp hid="dbaccess/ui/directsqldialog/execute">Runs the command that you entered in the <emph>Command to execute</emph> box.</ahelp></paragraph>
+
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/directsqldialog/sqlhistory" id="bm_id3154923" localize="false"/>
+<h2 id="hd_id3156024">Previous commands</h2>
+<paragraph role="paragraph" id="par_id3149045" xml-lang="en-US"><ahelp hid="dbaccess/ui/directsqldialog/sqlhistory">Lists the previously executed SQL commands. To run a command again, click the command, and then click <emph>Execute</emph>.</ahelp></paragraph>
+
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/directsqldialog/status" id="bm_id3161656" localize="false"/>
+<h2 id="hd_id3154348">Status</h2>
+<paragraph role="paragraph" id="par_id3151054" xml-lang="en-US"><ahelp hid="dbaccess/ui/directsqldialog/status">Displays the status, including errors, of the SQL command that you ran.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/directsqldialog/execute" id="bm_id3148798" localize="false"/>
+<h2 id="hd_id841652479655639">Output</h2>
+<paragraph role="paragraph" id="par_id511652479714010">Displays the results of the SQL command that you ran.</paragraph>
+
+<embed href="text/shared/00/00000001.xhp#close2"/>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/11090000.xhp b/helpcontent2/source/text/sdatabase/11090000.xhp
new file mode 100644
index 000000000..e3b1db560
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/11090000.xhp
@@ -0,0 +1,34 @@
+<?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="textsharedexplorerdatabase11090000xml" indexer="exclude" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Table Filter</title>
+<filename>/text/sdatabase/11090000.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="table_filter">
+<h1 id="hd_id3150702"><link href="text/sdatabase/11090000.xhp" name="Tables">Table Filter</link></h1><comment>UFI: file remains as a help id container - no browsing</comment></section>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DSADMIN_SUPPRESS_VERSIONCL" id="bm_id3154046" localize="false"/><paragraph role="paragraph" id="par_id3149164" xml-lang="en-US"><ahelp hid="." visibility="hidden">Some databases track changes to each record by assigning version number to fields that are changed. This number is incremented by 1 each time the field is changed. Displays the internal version number of the record in the database table.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:Sortup" id="bm_id5955967" localize="false"/>
+<h2 id="hd_id3154923">Sort Ascending<comment>in View - Sort menu</comment></h2>
+<paragraph role="paragraph" id="par_id3147559" xml-lang="en-US"><ahelp hid=".">Sorts the list of table names in ascending order starting at the beginning of the alphabet.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabaadvprop.xhp b/helpcontent2/source/text/sdatabase/dabaadvprop.xhp
new file mode 100644
index 000000000..fc008f5d5
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabaadvprop.xhp
@@ -0,0 +1,40 @@
+<?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="textsharedexplorerdatabasedabaadvpropxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Advanced Properties</title>
+<filename>/text/sdatabase/dabaadvprop.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-30T11:15:17">Database advanced properties dialog</created>
+</history>
+</meta>
+<body>
+<section id="dabaadvprop">
+<h1 id="par_idN10550"><link href="text/sdatabase/dabaadvprop.xhp">Advanced Properties</link></h1>
+<paragraph role="paragraph" id="par_idN10560" xml-lang="en-US">Specifies advanced properties for the database.</paragraph>
+</section>
+<section id="howtoget">
+<paragraph role="paragraph" id="par_id3998840" xml-lang="en-US">In a database window, choose <emph>Edit - Database - Properties</emph>, click <emph>Advanced Properties</emph> tab</paragraph>
+</section>
+<embed href="text/sdatabase/dabaadvpropgen.xhp#generated"/>
+<embed href="text/sdatabase/dabaadvpropdat.xhp#data"/>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabaadvpropdat.xhp b/helpcontent2/source/text/sdatabase/dabaadvpropdat.xhp
new file mode 100644
index 000000000..bfe2fa07b
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabaadvpropdat.xhp
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+ <!--
+ * 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 .
+ -->
+ <meta>
+ <topic id="textsharedexplorerdatabasedabaadvpropdatxml" indexer="include">
+ <title xml-lang="en-US" id="tit">Special Settings</title>
+ <filename>/text/sdatabase/dabaadvpropdat.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialsettingspage/SpecialSettingsPage" id="bm_id301592678856867" localize="false"/>
+ <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialsettingspage//@@nowidget@@" id="bm_id971592679640715" localize="false"/>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id81623155177507">
+<bookmark_value>database;special settings</bookmark_value>
+<bookmark_value>database settings;SQL92 naming</bookmark_value>
+<bookmark_value>database settings;keyword AS</bookmark_value>
+<bookmark_value>database settings;outer join syntax</bookmark_value>
+<bookmark_value>database settings;special SELECT statements</bookmark_value>
+<bookmark_value>database settings;ODBC date/time</bookmark_value>
+<bookmark_value>database settings;support primary keys</bookmark_value>
+<bookmark_value>database settings;line ends</bookmark_value>
+<bookmark_value>database settings;version columns</bookmark_value>
+ </bookmark>
+ <section id="data">
+ <h1 id="par_idN10556"><link href="text/sdatabase/dabaadvpropdat.xhp">Special Settings</link></h1>
+ <paragraph xml-lang="en-US" id="par_idN10566" role="paragraph">Specifies the way you can work with data in a database.</paragraph>
+ </section>
+ <section id="howtoget">
+ <paragraph xml-lang="en-US" id="par_id7679372" role="paragraph">In a database window, choose <emph>Edit - Database - Advanced Settings</emph>
+ </paragraph>
+ </section>
+ <paragraph xml-lang="en-US" id="par_id4572283" role="paragraph">The availability of the following controls depends on the type of database:</paragraph>
+ <h2 id="par_idN10590">Use SQL92 naming constraints<comment>UFI: found this for dBase and for text file folder</comment></h2>
+ <paragraph xml-lang="en-US" id="par_idN10594" role="paragraph"><ahelp hid=".">Only allows characters that conform to the SQL92 naming convention in a name in a data source. All other characters are rejected. Each name must begin with a lowercase letter, an uppercase letter, or an underscore ( _ ). The remaining characters can be ASCII letters, numbers, and underscores.</ahelp></paragraph>
+
+ <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialsettingspage/append" id="bm_id9050569" localize="false"/>
+ <h2 id="par_idN1059E">Append the table alias name in SELECT statements</h2>
+ <paragraph xml-lang="en-US" id="par_idN105A2" role="paragraph"><ahelp hid=".">Appends the alias to the table name in SELECT statements.</ahelp></paragraph>
+
+ <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialsettingspage/useas" id="bm_id6617777328" localize="false"/>
+ <h2 id="par_idN105907">Use keyword AS before table alias names</h2>
+ <paragraph xml-lang="en-US" id="par_idN105947" role="paragraph"><ahelp hid=".">Some databases use the keyword "AS" between a name and its alias, while other databases use a whitespace. Enable this option to insert AS before the alias.</ahelp><comment>http://dba.openoffice.org/specifications/Data_Source_Property_Dialog.sxw</comment></paragraph>
+
+ <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialsettingspage/useoj" id="bm_id7278664" localize="false"/>
+ <h2 id="par_idN105A5">Use Outer Join syntax '{OJ }'</h2>
+ <paragraph xml-lang="en-US" id="par_idN105A9" role="paragraph"><ahelp hid=".">Use escape sequences for outer joins. The syntax for this escape sequence is {oj outer-join}</ahelp><comment>copied from shared\explorer\database\02010100.xhp</comment></paragraph>
+ <paragraph xml-lang="en-US" id="par_idN105BE" role="paragraph">Example:</paragraph>
+ <paragraph xml-lang="en-US" id="par_idN105C1" role="example">select Article.* from {oj item LEFT OUTER JOIN orders ON item.no=orders.ANR}</paragraph>
+
+ <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialsettingspage/ignoreprivs" id="bm_id3826715" localize="false"/>
+ <h2 id="par_idN105C4">Ignore the privileges from the database driver</h2>
+ <paragraph xml-lang="en-US" id="par_idN105C8" role="paragraph"><ahelp hid=".">Ignores access privileges that are provided by the database driver.</ahelp></paragraph>
+
+ <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialsettingspage/replaceparams" id="bm_id8939786" localize="false"/>
+ <h2 id="par_idN105CB">Replace named parameters with ?</h2>
+ <paragraph xml-lang="en-US" id="par_idN105CF" role="paragraph"><ahelp hid=".">Replaces named parameters in a data source with a question mark (?).</ahelp></paragraph>
+
+ <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialsettingspage/displayver" id="bm_id6642353" localize="false"/>
+ <h2 id="par_idN105D2">Display version columns (when available)</h2>
+ <paragraph xml-lang="en-US" id="par_idN105D6" role="paragraph">Some databases assign version numbers to fields to track changes to records. The version number of a field is incremented by one each time the contents of the field are changed. <ahelp hid="dbaccess/ui/specialsettingspage/displayver">Displays the internal version number of the record in the database table.</ahelp><comment>copied from shared\explorer\database\11090000.xhp</comment></paragraph>
+
+ <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialsettingspage/usecatalogname" id="bm_id2444532" localize="false"/>
+ <h2 id="par_idN105FA">Use the catalog name in SELECT statements</h2>
+ <paragraph xml-lang="en-US" id="par_idN105FE" role="paragraph"><ahelp hid=".">Uses the current data source of the catalog. This option is useful when the ODBC data source is a database server. Do not select this option if the ODBC data source is a dBASE driver.</ahelp><comment>copie from shared\explorer\database\11020000.xhp</comment></paragraph>
+
+ <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialsettingspage/useschemaname" id="bm_id7354655" localize="false"/>
+ <h2 id="par_idN10613">Use the schema name in SELECT statements</h2>
+ <paragraph xml-lang="en-US" id="par_idN10617" role="paragraph"><ahelp hid=".">Allows you to use the schema name in SELECT statements.</ahelp><comment>UFI: ???</comment></paragraph>
+
+ <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialsettingspage/createindex" id="bm_id321665" localize="false"/>
+ <h2 id="par_idN1061A">Create index with ASC or DESC statement</h2>
+ <paragraph xml-lang="en-US" id="par_idN1061E" role="paragraph"><ahelp hid=".">Creates an index with ASC or DESC statements.</ahelp><comment>UFI: ???</comment></paragraph>
+
+ <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialsettingspage/eol" id="bm_id6617328" localize="false"/>
+ <h2 id="hd_id3534958">End text lines with CR + LF<comment>UFI: found for dBase and text file folder</comment></h2>
+ <paragraph xml-lang="en-US" id="par_id6151921" role="paragraph"><ahelp hid=".">Select to use the CR + LF code pair to end every text line (preferred for DOS and Windows operating systems).</ahelp></paragraph>
+
+ <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialsettingspage/ignorecurrency" id="bm_id4741356" localize="false"/>
+ <h2 id="hd_id0909200811170166">Ignore currency field information</h2>
+ <paragraph xml-lang="en-US" id="par_id0909200811170221" role="paragraph"><ahelp hid=".">Only for Oracle JDBC connections. When enabled it specifies that no column is treated as a currency field. The field type returned from the database driver is discarded.</ahelp></paragraph>
+
+ <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialsettingspage/inputchecks" id="bm_id4741355" localize="false"/>
+ <h2 id="hd_id1101718">Form data input checks for required fields<comment>i82291</comment></h2>
+ <paragraph xml-lang="en-US" id="par_id3783989" role="paragraph"><ahelp hid=".">When you enter a new record or update an existing record in a form, and you leave a field empty which is bound to a database column which requires input, then you will see a message complaining about the empty field.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="par_id6684163" role="paragraph">If this control box is not enabled, then the forms in the current database will not be checked for required fields.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3837397" role="paragraph">The control box is available for all data source types which support write access to their data. The control box does not exist for spreadsheets, text, csv, and the various read-only address books.</paragraph>
+
+ <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialsettingspage/useodbcliterals" id="bm_id4743451355" localize="false"/>
+ <h2 id="hd_id040920092139524">Use ODBC conformant date/time literals</h2>
+ <paragraph xml-lang="en-US" id="par_id040920092139526" role="paragraph"><ahelp hid=".">Use date/time literals that conform to ODBC standard.</ahelp></paragraph>
+
+ <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialsettingspage/primarykeys" id="bm_id47434523231355" localize="false"/>
+ <h2 id="hd_id04092009442139524">Supports primary keys</h2>
+ <paragraph xml-lang="en-US" id="par_id04096620092139526" role="paragraph"><ahelp hid=".">Enable to overrule Base's heuristics used to detect whether the database supports primary keys.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="par_id66841631" role="paragraph">When connecting to a database using a generic API like ODBC, JDBC, or ADO, Base currently applies heuristics to determine whether this database supports primary keys. None of those APIs has dedicated support to retrieve this information.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id66841632" role="paragraph">The heuristics sometimes fails. This tri-state check box by default is set to the undetermined state, which means "apply the heuristics". If the check box is enabled, primary key support is assumed. If the check box is disabled, no primary key support is assumed.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id66841633" role="paragraph">Note that if this option is just for overruling the heuristics. If you enable the check box for a database which actually does not support primary keys, you will see some errors.</paragraph>
+
+ <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialsettingspage/resulttype" id="bm_id751632741084270" localize="false"/>
+ <h2 id="hd_id621632736570505">Respect the result set type from the database driver</h2>
+ <comment>OH: Could not find a clear definition of this setting, best so far is https://api.libreoffice.org/docs/idl/ref/namespacecom_1_1sun_1_1star_1_1sdbc_1_1ResultSetType.html</comment>
+ <paragraph role="paragraph" id="par_id641632755407673">Use the database driver different scroll capabilities of a result set. Refer to <link href="https://api.libreoffice.org/docs/idl/ref/namespacecom_1_1sun_1_1star_1_1sdbc_1_1ResultSetType.html" name="ResultSetType">ResultSetType Constant Group</link></paragraph>
+
+ <bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DSADMIN_BOOLEANCOMPARISON" id="bm_id5289773" localize="false"/>
+ <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialsettingspage/comparison" id="bm_id501632740974366" localize="false"/>
+ <h2 id="par_idN10621">Comparison of Boolean values</h2>
+ <paragraph xml-lang="en-US" id="par_idN10625" role="paragraph"><ahelp hid=".">Select the type of Boolean comparison that you want to use.</ahelp><comment>UFI: ???</comment></paragraph>
+
+ <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialsettingspage/rows" id="bm_id421632741122510" localize="false"/>
+ <h2 id="hd_id421632739992940">Rows to scan columns types</h2>
+ <paragraph role="paragraph" id="par_id541632740596622">Select the number of rows to let the driver detect the data type.</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabaadvpropgen.xhp b/helpcontent2/source/text/sdatabase/dabaadvpropgen.xhp
new file mode 100644
index 000000000..d9312dc5e
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabaadvpropgen.xhp
@@ -0,0 +1,52 @@
+<?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="textsharedexplorerdatabasedabaadvpropgenxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Generated Values</title>
+<filename>/text/sdatabase/dabaadvpropgen.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-30T11:20:09">Advanced Properties dialog Generated values tab page</created>
+</history>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id521623154765032">
+ <bookmark_value>database advanced properties;autoincrement values</bookmark_value>
+ <bookmark_value>database advanced properties;automatic generated values</bookmark_value>
+ <bookmark_value>database advanced properties;retrieve generated values</bookmark_value>
+ <bookmark_value>database advanced properties;query generated values</bookmark_value>
+</bookmark>
+<section id="generated">
+<h1 id="par_idN10553"><link href="text/sdatabase/dabaadvpropgen.xhp">Generated Values</link></h1>
+<paragraph role="paragraph" id="par_idN10563" xml-lang="en-US">Specifies the options for automatically generated values for new data records.<comment>UFI: all text copied from shared\explorer\database\11020000.xhp</comment></paragraph>
+</section>
+<paragraph role="paragraph" id="par_idN10578" xml-lang="en-US" localize="false"><comment>how to get this: Edit Database AdvancedProp ??? I have no idea</comment></paragraph>
+<paragraph role="paragraph" id="par_id7684560" xml-lang="en-US">The availability of the following controls depends on the type of database:</paragraph>
+<h2 id="par_idN1058C">Retrieve generated values</h2>
+<paragraph role="paragraph" id="par_idN10590" xml-lang="en-US"><ahelp hid=".">Enables $[officename] support for auto-incremented data fields in the current ODBC or JDBC data source. Select this option if the auto-increment feature in the SDBCX layer of the database is not supported. In general<comment>UFI: this does not mean that something is set by default, but "normally,"</comment>, the auto-increment is selected for the primary key field.</ahelp></paragraph>
+<h2 id="par_idN10593">Auto-increment statement</h2>
+<paragraph role="paragraph" id="par_idN10597" xml-lang="en-US"><ahelp hid=".">Enter the SQL command specifier that instructs the data source to auto-increment a specified Integer data field.</ahelp> For example, the following MySQL statement used the AUTO_INCREMENT statement to increase the "id" field each time the statement creates a data field:</paragraph>
+<paragraph role="code" id="par_idN105A0" xml-lang="en-US">CREATE TABLE "table1" ("id" INTEGER AUTO_INCREMENT)</paragraph>
+<paragraph role="paragraph" id="par_idN10634" xml-lang="en-US">For this example, you must enter AUTO_INCREMENT into the <emph>Auto-increment statement</emph> box.</paragraph>
+<h2 id="par_idN105AA">Query of generated values</h2>
+<paragraph role="paragraph" id="par_idN10645" xml-lang="en-US"><ahelp hid=".">Enter an SQL statement that returns the last auto-incremented value for the primary key data field.</ahelp> For example:</paragraph>
+<paragraph role="code" id="par_idN105B1" xml-lang="en-US">SELECT LAST_INSERT_D();</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabadoc.xhp b/helpcontent2/source/text/sdatabase/dabadoc.xhp
new file mode 100644
index 000000000..4ed6c6b95
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabadoc.xhp
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+ * 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 .
+ -->
+
+
+<meta>
+ <topic id="textsharedexplorerdatabasedabadocxml" indexer="include" status="PUBLISH">
+ <title xml-lang="en-US" id="tit">Database File</title>
+ <filename>/text/sdatabase/dabadoc.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <section id="dabadoc">
+ <h1 id="par_idN10544"><link href="text/sdatabase/dabadoc.xhp">Database File</link></h1>
+ <paragraph xml-lang="en-US" id="par_idN10554" role="paragraph"><ahelp hid=".">The database file window organizes the tables, views, queries, and reports of a database in %PRODUCTNAME.</ahelp></paragraph>
+ </section>
+ <section id="relatedtopics">
+ <paragraph xml-lang="en-US" id="par_idN105B7" role="paragraph"><link href="text/sdatabase/main.xhp">Working with databases in %PRODUCTNAME</link></paragraph>
+ </section>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabaprop.xhp b/helpcontent2/source/text/sdatabase/dabaprop.xhp
new file mode 100644
index 000000000..8539d3008
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabaprop.xhp
@@ -0,0 +1,41 @@
+<?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="textsharedexplorerdatabasedabapropxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Database Properties</title>
+<filename>/text/sdatabase/dabaprop.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-30T10:08:04">UFI: Database Properties dialog</created>
+</history>
+</meta>
+<body>
+<section id="dabaprop">
+<h1 id="par_idN10550"><link href="text/sdatabase/dabaprop.xhp">Database Properties</link></h1>
+<paragraph role="paragraph" id="par_idN10560" xml-lang="en-US"><ahelp hid=".">Specifies the properties of a database.</ahelp></paragraph>
+</section>
+<section id="howtoget">
+<paragraph role="paragraph" id="par_id1322977" xml-lang="en-US">In a database window, choose <emph>Edit - Database - Properties</emph>
+</paragraph>
+</section>
+<embed href="text/sdatabase/dabapropgen.xhp#dabapropgen"/>
+<embed href="text/sdatabase/dabapropadd.xhp#dabapropadd"/>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabapropadd.xhp b/helpcontent2/source/text/sdatabase/dabapropadd.xhp
new file mode 100644
index 000000000..677f14a7b
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabapropadd.xhp
@@ -0,0 +1,73 @@
+<?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="textsharedexplorerdatabasedabapropaddxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Additional Settings</title>
+<filename>/text/sdatabase/dabapropadd.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="dabapropadd">
+<h1 id="par_idN1054D"><link href="text/sdatabase/dabapropadd.xhp">Additional Settings</link></h1>
+<paragraph role="paragraph" id="par_idN1055D" xml-lang="en-US"><ahelp hid=".">Specifies additional options for a data source.</ahelp></paragraph>
+</section>
+<section id="howtoget">
+<paragraph role="paragraph" id="par_id4641865" xml-lang="en-US">In a database window, choose <emph>Edit - Database - Properties</emph>, click <emph>Additional Settings</emph> tab</paragraph>
+</section>
+<paragraph role="paragraph" id="par_idN10572" xml-lang="en-US">The availability of the following controls depends on the type of database:</paragraph>
+<h2 id="par_idN10575">Host name</h2>
+<paragraph role="paragraph" id="par_idN105D7" xml-lang="en-US"><ahelp hid=".">Enter the host name of the server that contains the database, for example ldap.server.com.</ahelp><comment>used for multiple database formats</comment></paragraph>
+<h2 id="par_idN10579">Port number</h2>
+<paragraph role="paragraph" id="par_idN105F6" xml-lang="en-US"><ahelp hid=".">Enter the port number for the server that hosts the database.</ahelp><comment>UFI: used for LDAP and MySQL, different default values</comment></paragraph>
+<h2 id="par_idN1057D">MySQL JDBC driver class</h2>
+<paragraph role="paragraph" id="par_idN10615" xml-lang="en-US"><ahelp hid=".">Enter the name of the JDBC driver for the MySQL database.</ahelp><comment>UFI: copied from shared\explorer\database\11110000.xhp but that was changed before (??)</comment></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DSADMIN_CHARSET" id="bm_id9317606" localize="false"/><h2 id="par_idN10581">Character set<comment>UFI: seen for dBase</comment><comment>and for text file folder</comment></h2>
+<paragraph role="paragraph" id="par_idN10634" xml-lang="en-US"><ahelp hid=".">Select the character set that you want to use to view the database in $[officename].</ahelp> This setting does not affect the database. To use the default character set of your operating system, select "System".</paragraph>
+<note id="par_idN10651">Text and dBASE databases are restricted to character sets with a fixed-size character length, where all characters are encoded with the same number of bytes.<comment>UFI. copied from shared\explorer\database\11020000.xhp</comment></note>
+<h2 id="par_idN10585">Oracle JDBC driver class</h2>
+<paragraph role="paragraph" id="par_idN10653" xml-lang="en-US"><ahelp hid=".">Enter the name of the JDBC driver for the Oracle database.</ahelp><comment>UFI: copied from shared\explorer\database\11110000.xhp but that was changed before (??)</comment></paragraph>
+<h2 id="par_idN10589">Driver settings</h2>
+<paragraph role="paragraph" id="par_idN10672" xml-lang="en-US"><ahelp hid=".">Specify additional driver options.</ahelp><comment>UFI. copied from shared\explorer\database\11020000.xhp</comment></paragraph>
+<h2 id="par_idN1058D">Use catalog for file-based databases</h2>
+<paragraph role="paragraph" id="par_idN10691" xml-lang="en-US"><ahelp hid=".">Uses the current data source of the catalog. This option is useful when the ODBC data source is a database server. Do not select this option if the ODBC data source is a dBASE driver.</ahelp><comment>UFI. copied from shared\explorer\database\11020000.xhp</comment></paragraph>
+<h2 id="par_idN10591">Base DN</h2>
+<paragraph role="paragraph" id="par_idN106B0" xml-lang="en-US"><ahelp hid=".">Enter the starting point to search the LDAP database, for example, dc=com.</ahelp><comment>copied from shared\explorer\database\11190000.xhp</comment></paragraph>
+<h2 id="par_idN10595">Maximum number of records</h2>
+<paragraph role="paragraph" id="par_idN106F3" xml-lang="en-US"><ahelp hid=".">Enter the maximum number of records that you want to load when you access the LDAP server.</ahelp></paragraph>
+<h2 id="par_idN10599">Display deleted records as well<comment>UFI: seen for dBase, but Help ID is somewhere else</comment></h2>
+<paragraph role="paragraph" id="par_idN10700" xml-lang="en-US"><ahelp hid=".">Displays all the records in a file, including those marked as deleted. If you select this check box, you cannot delete records.</ahelp><comment>copied from shared\explorer\database\11030000.xhp</comment></paragraph>
+<note id="par_idN10715">In dBASE format, deleted records remain in the file.</note>
+<tip id="par_idN10718">To view changes that you make to the database, close the connection to the database, and then reconnect to the database.</tip>
+<h2 id="par_idN1059D">Indexes<comment>UFI: seen for dBase</comment></h2>
+<paragraph role="paragraph" id="par_idN10725" xml-lang="en-US"><ahelp hid=".">Opens the Indexes dialog, where you can organize the table indexes in the current dBASE database.</ahelp><comment>UFI: removed link from extended help text</comment></paragraph>
+<h2 id="par_idN105B9">Text contains headers<comment>UFI: the following found for a text file folder, but HELP Ids are somewhere else</comment></h2>
+<paragraph role="paragraph" id="par_idN107B0" xml-lang="en-US"><ahelp hid=".">Select this check box if the first line of the text file contains field names.</ahelp><comment>copied from shared\explorer\database\11040000.xhp</comment></paragraph>
+<h2 id="par_idN105BD">Field separator</h2>
+<paragraph role="paragraph" id="par_idN107CF" xml-lang="en-US"><ahelp hid=".">Enter or select the character that separates data fields in the text file.</ahelp></paragraph>
+<h2 id="par_idN105C1">Text separator</h2>
+<paragraph role="paragraph" id="par_idN107DC" xml-lang="en-US"><ahelp hid=".">Enter or select the character that identifies a text field in the text file. You cannot use the same character as the field separator.</ahelp></paragraph>
+<h2 id="par_idN105C5">Decimal separator</h2>
+<paragraph role="paragraph" id="par_idN107E9" 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>
+<h2 id="par_idN105C9">Thousands separator</h2>
+<paragraph role="paragraph" id="par_idN107F6" 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>
+<h2 id="par_idN105CD">File extension</h2>
+<paragraph role="paragraph" id="par_idN10803" xml-lang="en-US"><ahelp hid=".">Select the format for the text file.</ahelp> The extension that you select affects some of the default settings in this dialog. </paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabapropcon.xhp b/helpcontent2/source/text/sdatabase/dabapropcon.xhp
new file mode 100644
index 000000000..14a79b016
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabapropcon.xhp
@@ -0,0 +1,46 @@
+<?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="textsharedexplorerdatabasedabapropconxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Connection Type Wizard</title>
+<filename>/text/sdatabase/dabapropcon.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-30T13:06:20">Connection Type Wizard</created>
+</history>
+</meta>
+<body>
+<section id="connection">
+<h1 id="par_idN1054D"><link href="text/sdatabase/dabapropcon.xhp">Connection Type Wizard</link></h1>
+<paragraph role="paragraph" id="par_idN10551" xml-lang="en-US"><ahelp hid=".">Changes the type of connection for the current database.</ahelp></paragraph>
+</section>
+<section id="howtoget">
+<paragraph role="paragraph" id="par_id9003875" xml-lang="en-US">In a database window, choose <emph>Edit - Database - Connection Type</emph>
+</paragraph>
+</section>
+<paragraph role="paragraph" id="par_idN10569" xml-lang="en-US">The Connection Type Wizard consists of three pages. You cannot transfer all settings from one database type to another.<comment>UFI: what does this para mean? Who writes such &amp;/()?</comment></paragraph>
+<paragraph role="paragraph" id="par_idN1056C" xml-lang="en-US">For example, you can use the wizard to open a database file that is in a format that is usually not recognized by an installed database.<comment>UFI: what does this para mean? Who writes such &amp;/()?</comment></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DSADMIN_SPECIAL_MESSAGE" id="bm_id3653981" localize="false"/>
+<h2 id="par_idN1056F">Database type</h2>
+<paragraph role="paragraph" id="par_idN10573" xml-lang="en-US"><ahelp hid=".">Select the type of database that you want to connect to.</ahelp></paragraph>
+<embed href="text/sdatabase/dabapropgen.xhp#dabapropgen"/>
+<embed href="text/sdatabase/dabapropadd.xhp#dabapropadd"/>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabapropgen.xhp b/helpcontent2/source/text/sdatabase/dabapropgen.xhp
new file mode 100644
index 000000000..c1f1f398d
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabapropgen.xhp
@@ -0,0 +1,73 @@
+<?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="textsharedexplorerdatabasedabapropgenxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Advanced Properties</title>
+<filename>/text/sdatabase/dabapropgen.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="dabapropgen">
+<h1 id="par_idN1054D"><link href="text/sdatabase/dabapropgen.xhp">Advanced Properties</link></h1>
+<paragraph role="paragraph" id="par_idN1055D" xml-lang="en-US">Specifies some options for a database.</paragraph>
+</section>
+<section id="howtoget">
+<paragraph role="paragraph" id="par_id4513992" xml-lang="en-US">In a database window, choose <emph>Edit - Database - Properties</emph>, click <emph>Advanced Properties</emph> tab</paragraph>
+</section>
+<paragraph role="paragraph" id="par_idN10572" xml-lang="en-US">The availability of the following controls depends on the type of database:</paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DSADMIN_DBASE_PATH" id="bm_id4886623" localize="false"/><h2 id="par_idN10575">Path to dBASE files<comment>UFI: found for dBase</comment></h2>
+<paragraph role="paragraph" id="par_idN10579" xml-lang="en-US"><ahelp hid=".">Enter the path to the directory that contains the dBASE files.</ahelp></paragraph>
+<warning id="par_idN1057C">Ensure that the *.dbf file name extension of the dBASE files is lowercase.<comment>moved from shared\explorer\database\11030000.xhp</comment></warning>
+<h2 id="par_idN10591">Browse<comment>UFI: found for dBase</comment></h2>
+<paragraph role="paragraph" id="par_idN10595" xml-lang="en-US"><ahelp hid=".">Opens a dialog where you can select a file or a directory.</ahelp><comment>which one? or depends?</comment></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/connectionpage/connectionButton" id="bm_id7854243" localize="false"/><h2 id="par_idN105AA">Test Connection<comment>UFI: found for dBase</comment><comment>and for Calc doc</comment></h2>
+<paragraph role="paragraph" id="par_idN105AE" xml-lang="en-US"><ahelp hid=".">Tests the database connection with the current settings.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DSADMIN_FLAT_PATH" id="bm_id4529251" localize="false"/><h2 id="par_idN105B1">Path to the text files<comment>UFI: found for text file folder</comment></h2>
+<paragraph role="paragraph" id="par_idN105B5" xml-lang="en-US"><ahelp hid=".">Enter the path to the folder of the text files.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_DSADMIN_CALC_PATH" id="bm_id8492385" localize="false"/><h2 id="par_idN105B8">Path to the spreadsheet document<comment>UFI: found for a Calc doc</comment></h2>
+<paragraph role="paragraph" id="par_idN105BC" xml-lang="en-US"><ahelp hid=".">Enter the path to the spreadsheet document that you want to use as a database.</ahelp></paragraph>
+<h2 id="par_idN105BF">Name of the ODBC data source on your system</h2>
+<paragraph role="paragraph" id="par_idN105C3" xml-lang="en-US"><ahelp hid=".">Enter the name of the ODBC data source.</ahelp></paragraph>
+<h2 id="par_idN105C6">User name</h2>
+<paragraph role="paragraph" id="par_idN105CA" xml-lang="en-US"><ahelp hid=".">Enter the user name that is required to access the database.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/connectionpage/passCheckbutton" id="bm_id4072084" localize="false"/><h2 id="par_idN105CD">Password required<comment>UFI: found for Calc doc</comment></h2>
+<paragraph role="paragraph" id="par_idN105D1" xml-lang="en-US"><ahelp hid=".">If checked, the user will be asked to enter the password that is required to access the database.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_PAGE_DBWIZARD_JDBC_ET_MYSQLDBNAME" id="bm_id7675099" localize="false"/><h2 id="hd_id7806329">Name of the database<comment>UFI: found for JDBC</comment></h2>
+<paragraph role="paragraph" id="par_id5589159" xml-lang="en-US"><ahelp hid=".">Enter the name of the database.</ahelp></paragraph>
+<h2 id="par_idN105D4">Name of the MySQL database</h2>
+<paragraph role="paragraph" id="par_idN105D8" xml-lang="en-US"><ahelp hid=".">Enter the name of the MySQL database that you want to use as a data source.</ahelp></paragraph>
+<h2 id="par_idN105DB">Name of the Oracle database</h2>
+<paragraph role="paragraph" id="par_idN105DF" xml-lang="en-US"><ahelp hid=".">Enter the name of the Oracle database that you want to use as a data source.</ahelp></paragraph>
+<h2 id="par_idN105E9">Microsoft Access database file</h2>
+<paragraph role="paragraph" id="par_idN105ED" xml-lang="en-US"><ahelp hid=".">Enter the name of the Microsoft Access database file that you want to use as a data source.</ahelp></paragraph>
+<h2 id="par_idN105F0">Host name</h2>
+<paragraph role="paragraph" id="par_idN105F4" xml-lang="en-US"><ahelp hid=".">Enter the host name for the LDAP data source.</ahelp></paragraph>
+<h2 id="par_idN105F7">Data source URL</h2>
+<paragraph role="paragraph" id="par_idN105FB" xml-lang="en-US"><ahelp hid=".">Enter the location of the JDBC data source as a URL.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_PAGE_DBWIZARD_JDBC_ET_MYSQLCLASS" id="bm_id9936216" localize="false"/>
+<!-- removed HID 39110 --><h2 id="par_idN105FE">JDBC driver class</h2>
+<paragraph role="paragraph" id="par_idN10602" xml-lang="en-US"><ahelp hid=".">Enter the name of the JDBC driver class that connects to the data source.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_PAGE_DBWIZARD_JDBC_PB_TESTMYSQLCLASS" id="bm_id7953123" localize="false"/>
+<!-- removed HID 39111 --><h2 id="par_idN10605">Test Class<comment>UFI: found for JDBC</comment></h2>
+<paragraph role="paragraph" id="par_idN10609" xml-lang="en-US"><ahelp hid=".">Tests the database connection through the JDBC driver class.</ahelp></paragraph>
+<h3 id="par_idN10613">Choose a database</h3>
+<paragraph role="paragraph" id="par_idN10617" xml-lang="en-US"><ahelp hid=".">Select a database from the list or click <emph>Create</emph> to create a new database.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabawiz00.xhp b/helpcontent2/source/text/sdatabase/dabawiz00.xhp
new file mode 100644
index 000000000..3451a0b5a
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabawiz00.xhp
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+ * 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 .
+ -->
+
+
+<meta>
+<topic id="textsharedexplorerdatabasedabawiz00xml" indexer="include">
+<title id="tit" xml-lang="en-US">Database Wizard</title>
+<filename>/text/sdatabase/dabawiz00.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="dabawiz00">
+<bookmark xml-lang="en-US" branch="index" id="bm_id2026429">
+<bookmark_value>wizards;databases (Base)</bookmark_value>
+<bookmark_value>Database Wizard (Base)</bookmark_value>
+<bookmark_value>databases; formats (Base)</bookmark_value>
+<bookmark_value>MySQL databases (Base)</bookmark_value>
+<bookmark_value>MariaDB databases (Base)</bookmark_value>
+<bookmark_value>dBASE; database settings (Base)</bookmark_value>
+<bookmark_value>jdbc; database settings (Base)</bookmark_value>
+<bookmark_value>odbc; database settings (Base)</bookmark_value>
+<bookmark_value>spreadsheets;as databases (base)</bookmark_value>
+</bookmark><comment>mw added "(Base)" to all entries</comment>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/generalpagewizard/PageGeneral" id="bm_id3952452" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/generalpagewizard/@@nowidget@@" id="bm_id4952452" localize="false"/>
+<h1 id="par_idN105B4"><variable id="databasewizardh1"><link href="text/sdatabase/dabawiz00.xhp">Database Wizard</link></variable></h1>
+<paragraph role="paragraph" id="par_id9856563" xml-lang="en-US">The Database Wizard creates a <link href="text/sdatabase/dabadoc.xhp">database file</link> that contains information about a database.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_idN105D5" xml-lang="en-US">Depending on the type of operation and the type of database, the Database Wizard consists of a varying number of steps.</paragraph>
+<paragraph role="paragraph" id="par_idN105DB" xml-lang="en-US">If you create a new database file, the wizard contains two steps.</paragraph>
+<embed href="text/sdatabase/dabawiz01.xhp#dabaselection"/>
+<embed href="text/sdatabase/dabawiz02.xhp#nextsteps"/>
+<paragraph role="paragraph" id="par_idN105DF" xml-lang="en-US">If you open the Database Wizard to create a database file for an existing database connection, there may be more steps to specify paths, authentication information, and more.</paragraph>
+<paragraph role="paragraph" id="par_idN105F2" xml-lang="en-US"><link href="text/sdatabase/dabawiz02text.xhp">Set up text file connection</link></paragraph>
+<switch select="sys">
+<case select="WIN">
+<paragraph role="paragraph" id="par_idN10601" xml-lang="en-US"><link href="text/sdatabase/dabawiz02access.xhp">Set up Microsoft Access connection</link></paragraph>
+<paragraph role="paragraph" id="par_idN1062E" xml-lang="en-US"><link href="text/sdatabase/dabawiz02ado.xhp">Set up ADO connection</link></paragraph>
+</case>
+</switch>
+<paragraph role="paragraph" id="par_idN1070F" xml-lang="en-US"><link href="text/sdatabase/dabawiz02dbase.xhp">Set up dBASE connection</link></paragraph>
+<paragraph role="paragraph" id="par_idN1063D" xml-lang="en-US"><link href="text/sdatabase/dabawiz02jdbc.xhp">Set up JDBC connection</link></paragraph>
+<paragraph role="paragraph" id="par_idN1064C" xml-lang="en-US"><link href="text/sdatabase/dabawiz02oracle.xhp">Set up Oracle database connection</link></paragraph>
+<embed href="text/sdatabase/dabawiz02mysql.xhp#mysql"/>
+<paragraph role="paragraph" id="par_idN1066A" xml-lang="en-US"><link href="text/sdatabase/dabawiz02odbc.xhp">ODBC settings</link></paragraph>
+<paragraph role="paragraph" id="par_idN10679" xml-lang="en-US"><link href="text/sdatabase/dabawiz02spreadsheet.xhp">Set up Spreadsheet connection</link></paragraph>
+<embed href="text/shared/00/00000001.xhp#cancel"/>
+<embed href="text/shared/00/00000001.xhp#back"/>
+<embed href="text/shared/00/00000001.xhp#next"/>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabawiz01.xhp b/helpcontent2/source/text/sdatabase/dabawiz01.xhp
new file mode 100644
index 000000000..0a8b98b8e
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabawiz01.xhp
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+ * 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 .
+ -->
+
+
+<meta>
+<topic id="textsharedexplorerdatabasedabawiz01xml" indexer="include">
+<title id="tit" xml-lang="en-US">Database Selection</title>
+<filename>/text/sdatabase/dabawiz01.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="dabaselection">
+<bookmark xml-lang="en-US" branch="index" id="bm_id2082583"><bookmark_value>databases; connecting (Base)</bookmark_value>
+</bookmark>
+<h1 id="par_idN1054D"><variable id="databaseselectionh1"><link href="text/sdatabase/dabawiz01.xhp">Select Database</link></variable></h1>
+<paragraph role="paragraph" id="par_idN1055D" xml-lang="en-US"><ahelp hid=".">Creates a new database, opens a database file, or connects to an existing database.</ahelp></paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/generalpagewizard/createDatabase" id="bm_id2482985" localize="false"/>
+<h2 id="par_idN10585">Create a new database</h2>
+<paragraph role="paragraph" id="par_idN10589" xml-lang="en-US"><ahelp hid=".">Select to create a new database. </ahelp>This option uses the HSQL database engine with default settings. The final page of the wizard appears next.</paragraph>
+<paragraph role="paragraph" id="par_id8584246" xml-lang="en-US"><link href="http://hsqldb.org/">External web page about HSQL</link>.</paragraph>
+
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/generalpagewizard/openExistingDatabase" id="bm_id2400585" localize="false"/>
+<h2 id="par_idN105F9">Open an existing database file</h2>
+<paragraph role="paragraph" id="par_idN105FD" xml-lang="en-US"><ahelp hid=".">Select to open a database file from a list of recently used files or from a file selection dialog.</ahelp></paragraph>
+
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/generalpagewizard/docListBox" id="bm_id5958128" localize="false"/>
+<h3 id="par_idN10614">Recently used</h3>
+<paragraph role="paragraph" id="par_idN10618" xml-lang="en-US"><ahelp hid=".">Select a database file to open from the list of recently used files. Click Finish to open the file immediately and to exit the wizard.</ahelp></paragraph>
+
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/generalpagewizard/openDatabase" id="bm_id6427198" localize="false"/>
+<h3 id="par_idN1062F">Open</h3>
+<paragraph role="paragraph" id="par_idN10633" xml-lang="en-US"><ahelp hid=".">Opens a file selection dialog where you can select a database file. Click Open or OK in the file selection dialog to open the file immediately and to exit the wizard.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/generalpagewizard/connectDatabase" id="bm_id5028229" localize="false"/>
+<h2 id="par_idN1058C">Connect to an existing database</h2>
+<paragraph role="paragraph" id="par_idN10590" xml-lang="en-US"><ahelp hid=".">Select to create a database document for an existing database connection.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/generalpagewizard/datasourceType" id="bm_id763267" localize="false"/>
+<h3 id="par_idN10593">Database type</h3>
+<paragraph role="paragraph" id="par_idN10597" xml-lang="en-US"><ahelp hid=".">Select the database type for the existing database connection.</ahelp></paragraph>
+<note id="par_idN1059A">The Outlook, Evolution, KDE Address Book, and Seamonkey database types do not need additional information. For other database types, the wizard contains additional pages to specify the required information.</note>
+<paragraph role="paragraph" id="par_idN10611" xml-lang="en-US">The next wizard page is one of the following pages:</paragraph>
+<embed href="text/sdatabase/dabawiz02.xhp#nextsteps"/>
+<paragraph role="paragraph" id="par_idN1061C" xml-lang="en-US"><link href="text/sdatabase/dabawiz02text.xhp">Set up text file connection</link></paragraph>
+<paragraph role="paragraph" id="par_idN1062B" xml-lang="en-US"><link href="text/sdatabase/dabawiz02access.xhp">Set up Microsoft Access or Microsoft Access 2007 connection</link></paragraph>
+<paragraph role="paragraph" id="par_idN10658" xml-lang="en-US"><link href="text/sdatabase/dabawiz02ado.xhp">Set up ADO connection</link></paragraph>
+<paragraph role="paragraph" id="par_idN10667" xml-lang="en-US"><link href="text/sdatabase/dabawiz02jdbc.xhp">Set up JDBC connection</link></paragraph>
+<paragraph role="paragraph" id="par_idN10676" xml-lang="en-US"><link href="text/sdatabase/dabawiz02oracle.xhp">Set up Oracle database connection</link></paragraph>
+<embed href="text/sdatabase/dabawiz02mysql.xhp#mysql"/>
+<embed href="text/sdatabase/dabawiz02pgsql.xhp#pgsqlh1"/>
+<paragraph role="paragraph" id="par_idN10694" xml-lang="en-US"><link href="text/sdatabase/dabawiz02odbc.xhp">ODBC settings</link></paragraph>
+<paragraph role="paragraph" id="par_idN106A3" xml-lang="en-US"><link href="text/sdatabase/dabawiz02spreadsheet.xhp">Set up Spreadsheet connection</link></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabawiz02.xhp b/helpcontent2/source/text/sdatabase/dabawiz02.xhp
new file mode 100644
index 000000000..368bf6a15
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabawiz02.xhp
@@ -0,0 +1,42 @@
+<?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="textsharedexplorerdatabasedabawiz02xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Save and proceed</title>
+<filename>/text/sdatabase/dabawiz02.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="nextsteps">
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/finalpagewizard/PageFinal" id="bm_id9310280" localize="false"/>
+<h1 id="par_idN10544"><link href="text/sdatabase/dabawiz02.xhp">Save and proceed</link></h1>
+<paragraph role="paragraph" id="par_idN10554" xml-lang="en-US"><ahelp hid=".">Specifies whether you want to register the database, open the database for editing, or insert a new table.</ahelp></paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/finalpagewizard/yesregister" id="bm_id9310281" localize="false"/><h2 id="par_idN10557">Yes, register the Database for me</h2>
+<paragraph role="paragraph" id="par_idN105B4" xml-lang="en-US"><ahelp hid=".">Select to register the database within your user copy of %PRODUCTNAME. After registering, the database is displayed in the <emph>View - Data Sources</emph> window. You must register a database to be able to insert the database fields in a document (Insert - Field - More Fields) or in a mail merge.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/finalpagewizard/noregister" id="bm_id8243354" localize="false"/><h2 id="par_idN105B7">No, do not register the database</h2>
+<paragraph role="paragraph" id="par_idN105BB" xml-lang="en-US"><ahelp hid=".">Select to keep the database information only within the created database file.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/finalpagewizard/openediting" id="bm_id971404" localize="false"/><h2 id="par_idN1055B">Open the database for editing</h2>
+<paragraph role="paragraph" id="par_idN105C6" xml-lang="en-US"><ahelp hid=".">Select to display the database file, where you can edit the database structure.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/finalpagewizard/usewizard" id="bm_id1763359" localize="false"/><h2 id="par_idN1055F">Create tables using the table wizard</h2>
+<paragraph role="paragraph" id="par_idN105D1" xml-lang="en-US"><ahelp hid=".">Select to call the <link href="text/sdatabase/tablewizard00.xhp">Table Wizard</link> after the Database Wizard is finished.</ahelp></paragraph>
+<paragraph role="paragraph" localize="false" id="par_idN1061A" xml-lang="en-US"><embedvar href="text/sdatabase/dabawiz00.xhp#databasewizardh1"/></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabawiz02access.xhp b/helpcontent2/source/text/sdatabase/dabawiz02access.xhp
new file mode 100644
index 000000000..2c06c0d99
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabawiz02access.xhp
@@ -0,0 +1,39 @@
+<?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="textsharedexplorerdatabasedabawiz02accessxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Microsoft Access Connection</title>
+<filename>/text/sdatabase/dabawiz02access.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id2755516"><bookmark_value>Access databases (base)</bookmark_value>
+<bookmark_value>Microsoft Office;Access databases (base)</bookmark_value>
+</bookmark><comment>mw added 2 new index entries</comment><h1 id="par_idN1053D"><variable id="access"><link href="text/sdatabase/dabawiz02access.xhp">Microsoft Access Connection</link>
+</variable></h1>
+<paragraph role="paragraph" id="par_idN10541" xml-lang="en-US"><ahelp hid=".">Specifies the settings for importing a database file in Microsoft Access or Access 2007 format.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id1142772" xml-lang="en-US">See also the English Wiki page <link href="https://wiki.documentfoundation.org/MSA-Base_Faq" name="wiki.documentfoundation.org MS Access Base FAQ">https://wiki.documentfoundation.org/MSA-Base_Faq</link>.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_PAGE_DBWIZARD_MSACCESS_ET_MSACCESSLOCATION" id="bm_id627155" localize="false"/><h2 id="par_idN10544">Microsoft Access database file</h2>
+<paragraph role="paragraph" id="par_idN10548" xml-lang="en-US"><ahelp hid=".">Specifies the path to the database file.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_PAGE_DBWIZARD_MSACCESS_PB_MSACCESSLOCATION" id="bm_id8335215" localize="false"/><h2 id="par_idN1054B">Browse</h2>
+<paragraph role="paragraph" id="par_idN1054F" xml-lang="en-US"><ahelp hid=".">Click to open a file selection dialog.</ahelp></paragraph>
+<paragraph role="paragraph" localize="false" id="par_idN1061A" xml-lang="en-US"><embedvar href="text/sdatabase/dabawiz00.xhp#databasewizardh1"/></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabawiz02ado.xhp b/helpcontent2/source/text/sdatabase/dabawiz02ado.xhp
new file mode 100644
index 000000000..40fe8812c
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabawiz02ado.xhp
@@ -0,0 +1,56 @@
+<?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="textsharedexplorerdatabasedabawiz02adoxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">ADO Connection</title>
+<filename>/text/sdatabase/dabawiz02ado.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-28T15:45:26">UFI: Database Wizard ADO page</created>
+</history>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id7565233"><bookmark_value>ADO databases (Base)</bookmark_value>
+<bookmark_value>MS ADO interface (Base)</bookmark_value>
+<bookmark_value>databases;ADO (Base)</bookmark_value>
+</bookmark><comment>mw copied 3 index entries from shared/explorer/database/1116000.xhp</comment>
+<h1 id="par_idN1054C"><variable id="ado"><link href="text/sdatabase/dabawiz02ado.xhp">ADO Connection</link>
+</variable></h1>
+<paragraph role="paragraph" id="par_idN10550" xml-lang="en-US"><ahelp hid=".">Specifies the options for adding an ADO (Microsoft ActiveX Data Objects) database.</ahelp><comment>UFI: copied text from shared\explorer\database\11160000</comment></paragraph>
+<note id="par_idN10565">The ADO interface is a Microsoft Windows proprietary container for connecting to databases.</note>
+<tip id="par_idN10568">$[officename] requires the Microsoft Data Access Components (MDAC) to use the ADO interface. Microsoft Windows 2000 and XP include these components by default.</tip>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_PAGE_DBWIZARD_ADO_ET_ADOURL" id="bm_id2960600" localize="false"/>
+<h2 id="par_idN1056B">Data source URL</h2>
+<paragraph role="paragraph" id="par_idN1056F" xml-lang="en-US"><ahelp hid=".">Enter the data source URL.</ahelp><comment>UFI: removed three lines in hcshared01 #58442</comment></paragraph>
+<h3 id="par_idN10572">Example URLs</h3>
+<paragraph role="paragraph" id="par_idN10576" xml-lang="en-US">To connect to an Access 2000 file, use the format:</paragraph>
+<paragraph role="example" id="par_idN10579" xml-lang="en-US">PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=c:\Access\nwind2000.mdb</paragraph>
+<paragraph role="paragraph" id="par_idN1057C" xml-lang="en-US">To connect with a name to a catalog on a Microsoft SQL server that has a name turner, enter:</paragraph>
+<paragraph role="example" id="par_idN1057F" xml-lang="en-US">PROVIDER=sqloledb;DATA SOURCE=turner;INITIAL CATALOG=First</paragraph>
+<paragraph role="paragraph" id="par_idN10582" xml-lang="en-US">To access an ODBC driver as a provider:</paragraph>
+<paragraph role="example" id="par_idN10585" xml-lang="en-US">DSN=SQLSERVER</paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_PAGE_DBWIZARD_ADO_PB_ADOURL" id="bm_id7212439" localize="false"/>
+<h2 id="par_idN10588">Browse</h2>
+<paragraph role="paragraph" id="par_idN1058C" xml-lang="en-US"><ahelp hid=".">Click to open a database selection dialog.</ahelp></paragraph>
+<note id="par_idN10596">A user name can have a maximum of 18 characters.</note>
+<note id="par_idN10599">A password must contain 3 to 18 characters.</note>
+<paragraph role="paragraph" localize="false" id="par_idN1061A" xml-lang="en-US"><embedvar href="text/sdatabase/dabawiz00.xhp#databasewizardh1"/></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabawiz02dbase.xhp b/helpcontent2/source/text/sdatabase/dabawiz02dbase.xhp
new file mode 100644
index 000000000..4cd6b7ce1
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabawiz02dbase.xhp
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+ * 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 .
+ -->
+
+
+<meta>
+<topic id="textsharedexplorerdatabasedabawiz02dbasexhp" indexer="include">
+<title id="tit" xml-lang="en-US">dBASE Connection </title>
+<filename>/text/sdatabase/dabawiz02dbase.xhp</filename>
+</topic>
+</meta>
+<body><comment>** Expression is faulty **</comment>
+<h1 id="par_idN1054A"><variable id="dbase"><link href="text/sdatabase/dabawiz02dbase.xhp">dBASE Connection</link>
+</variable></h1>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_PAGE_DBWIZARD_DBASE_ET_DBASELOCATION" id="bm_id2821131" localize="false"/>
+<h2 id="par_idN10556">Path to the dBASE files</h2>
+<paragraph role="paragraph" id="par_idN1055A" xml-lang="en-US"><ahelp hid=".">Enter the path to the dBASE *.dbf files.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_PAGE_DBWIZARD_DBASE_PB_DBASELOCATION" id="bm_id9754631" localize="false"/>
+<h2 id="par_idN10571">Browse</h2>
+<paragraph role="paragraph" id="par_idN10575" xml-lang="en-US"><ahelp hid=".">Open a path selection dialog.</ahelp></paragraph>
+<paragraph role="paragraph" localize="false" id="par_idN1061A" xml-lang="en-US"><embedvar href="text/sdatabase/dabawiz00.xhp#databasewizardh1"/></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabawiz02jdbc.xhp b/helpcontent2/source/text/sdatabase/dabawiz02jdbc.xhp
new file mode 100644
index 000000000..45e9c8b6f
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabawiz02jdbc.xhp
@@ -0,0 +1,89 @@
+<?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="textsharedexplorerdatabasedabawiz02jdbcxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">JDBC Connection</title>
+<filename>/text/sdatabase/dabawiz02jdbc.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3726920"><bookmark_value>JDBC; databases (Base)</bookmark_value>
+<bookmark_value>databases; JDBC (Base)</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/jdbcconnectionpage/JDBCConnectionPage" id="bm_id6293219" localize="false"/>
+<h1 id="par_idN105FC"><variable id="jdbc"><link href="text/sdatabase/dabawiz02jdbc.xhp">JDBC Connection</link>
+</variable></h1>
+<paragraph role="paragraph" id="par_idN10600" xml-lang="en-US"><ahelp hid=".">Specifies the options to access a <link href="text/shared/00/00000005.xhp#jdbc" name="JDBC">JDBC</link> database.</ahelp><comment>copied text from shared\explorer\database\11110000</comment></paragraph>
+<h2 id="par_idN10623">JDBC Examples</h2>
+<paragraph role="paragraph" id="par_idN10627" xml-lang="en-US">
+<item type="productname">You can use a JDBC driver class to connect to a JDBC database from %PRODUCTNAME</item>. The driver class is provided by the database manufacturer. Two examples of JDBC databases are Oracle and MySQL.</paragraph>
+<note id="par_idN1062D">The driver classes must be added to %PRODUCTNAME in <switchinline select="sys"><caseinline select="MAC"><menuitem>%PRODUCTNAME - Preferences</menuitem></caseinline><defaultinline><menuitem>Tools - Options</menuitem></defaultinline></switchinline><menuitem> - %PRODUCTNAME - Advanced</menuitem>.</note>
+<h3 id="par_idN10634">Oracle database</h3>
+<paragraph role="paragraph" id="par_idN10638" xml-lang="en-US">You can use a JDBC driver to access an Oracle database from Solaris or Linux. To access the database from Windows, you need an ODBC driver.</paragraph>
+<switch select="sys">
+<case select="UNIX"><paragraph role="paragraph" id="par_idN1064B" xml-lang="en-US">On UNIX, ensure that the Oracle database client is installed with JDBC support. The JDBC driver class for the Solaris Oracle client version 8.x is located in the &lt;Oracle client&gt;/product/jdbc/lib/classes111.zip directory. You can also download the latest version from the Oracle web site.</paragraph>
+</case>
+</switch>
+<paragraph role="paragraph" id="par_idN10661" xml-lang="en-US">In the <emph>Data source URL</emph> box, enter the location of the Oracle database server. The syntax of the URL depends on the database type. See the documentation that came with the JDBC driver for more information. </paragraph>
+<paragraph role="paragraph" id="par_idN10668" xml-lang="en-US">For an Oracle database, the syntax of the URL is:</paragraph>
+<paragraph role="example" id="par_idN1066B" xml-lang="en-US">oracle:thin:@hostname:port:database_name</paragraph>
+<list type="unordered">
+<listitem>
+<paragraph role="listitem" id="par_idN10674" xml-lang="en-US">hostname is the name of the machine that runs the Oracle database. You can also replace hostname with the IP address of the server.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_idN10678" xml-lang="en-US">port is the port where the Oracle database listens. Ask your database administrator for the correct port address.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_idN1067C" xml-lang="en-US">database_name is the name of the Oracle database. Ask your database administrator for the correct name.</paragraph>
+</listitem>
+</list>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_PAGE_DBWIZARD_JDBC_ET_MYSQLHOSTSERVER" id="bm_id3033539" localize="false"/><h3 id="par_idN1067F">MySQL database</h3>
+<paragraph role="paragraph" id="par_idN10683" xml-lang="en-US">The driver for the MySQL database is available on the MySQL web site.<comment>removed link, see i54077</comment></paragraph>
+<paragraph role="paragraph" id="par_idN10689" xml-lang="en-US">The syntax for a MySQL database is:</paragraph>
+<paragraph role="example" id="par_idN1068C" xml-lang="en-US">mysql://hostname:port/database_name</paragraph>
+<list type="unordered">
+<listitem>
+<paragraph role="listitem" id="par_idN10695" xml-lang="en-US"><ahelp hid=".">hostname is the name of the machine that runs the MySQL database.</ahelp> You can also replace hostname with the IP address of the server.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_idN10699" xml-lang="en-US">port is the default port for MySQL databases, namely 3306.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_idN1069D" xml-lang="en-US">database_name is the name of the database.</paragraph>
+</listitem>
+</list>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/jdbcconnectionpage/browseurl" id="bm_id6293221" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_PAGE_DBWIZARD_JDBC_ET_MYSQLPORT" id="bm_id3450117" localize="false"/><h2 id="par_idN106A0">Data source URL</h2>
+<paragraph role="paragraph" id="par_idN106A4" xml-lang="en-US"><ahelp hid=".">Enter the URL for the database. For example, for the MySQL JDBC driver, enter "mysql://&lt;Servername&gt;/&lt;name of the database&gt;". For more information on the JDBC driver, consult the documentation that came with the driver.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/connectionpage/javaDriverLabel" id="bm_id3153970" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/jdbcconnectionpage/jdbcEntry" id="bm_id3153969" localize="false"/>
+<h2 id="par_idN106BB">JDBC Driver Class</h2>
+<paragraph role="paragraph" id="par_idN106BF" xml-lang="en-US"><ahelp hid=".">Enter the name of the JDBC driver.</ahelp></paragraph>
+<section id="classpath">
+ <warning id="par_id7953733">Before you can use a JDBC driver, you need to add its class path. Choose <switchinline select="sys"><caseinline select="MAC"><menuitem>%PRODUCTNAME - Preferences</menuitem></caseinline><defaultinline><menuitem>Tools - Options</menuitem></defaultinline></switchinline><menuitem> - %PRODUCTNAME - Advanced</menuitem>, and click the <widget>Class Path</widget> button. After you add the path information, restart %PRODUCTNAME.</warning>
+</section>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/jdbcconnectionpage/jdbcButton" id="bm_id3153971" localize="false"/>
+<h2 id="par_idN106CE">Test Class</h2>
+<paragraph role="paragraph" id="par_idN106E4" xml-lang="en-US"><ahelp hid=".">Tests the connection with the current settings.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN106E7" xml-lang="en-US"><link href="text/sdatabase/dabawiz03auth.xhp">Authentication</link></paragraph>
+<paragraph role="paragraph" localize="false" id="par_idN1061A" xml-lang="en-US"><embedvar href="text/sdatabase/dabawiz00.xhp#databasewizardh1"/></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabawiz02mysql.xhp b/helpcontent2/source/text/sdatabase/dabawiz02mysql.xhp
new file mode 100644
index 000000000..5910b6a97
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabawiz02mysql.xhp
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+ * 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 .
+ -->
+
+
+<meta>
+<topic id="textsharedexplorerdatabasedabawiz02mysqlxml" indexer="include">
+<title id="tit" xml-lang="en-US">MariaDB and MySQL Connection</title>
+<filename>/text/sdatabase/dabawiz02mysql.xhp</filename>
+</topic>
+</meta>
+<body><comment>** Expression is faulty **</comment>
+<bookmark xml-lang="en-US" branch="index" id="bm_id861587404584956">
+<bookmark_value>MariaDB settings (Base)</bookmark_value>
+<bookmark_value>MySQL settings (Base)</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/mysqlnativesettings/MysqlNativeSettings" id="bm_id921587413082830" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbwizmysqlintropage/DBWizMysqlIntroPage" id="bm_id181587415238853" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbwizmysqlintropage/directly" id="bm_id891587415338612" localize="false"/>
+<h1 id="par_idN10549"><variable id="mysql"><link href="text/sdatabase/dabawiz02mysql.xhp">MariaDB and MySQL Connection</link></variable></h1>
+<paragraph role="paragraph" id="par_idN1054D" xml-lang="en-US"><ahelp hid=".">Specifies the options for MariaDB and MySQL databases.</ahelp><comment>text copied from shared\explorer\database\11120000</comment></paragraph>
+<h2 id="hd_id661587405298284">Direct Connection for MariaDB and MySQL databases</h2>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/mysqlnativesettings/dbname" id="bm_id461587412947601" localize="false"/>
+<h3 id="hd_id321587405303769">Database name</h3>
+<paragraph role="paragraph" id="par_id371587405314376">Enter the name of the MariaDB or MySQL database. Ask your database administrator for the correct name.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/mysqlnativesettings/server" id="bm_id561587412955495" localize="false"/>
+<h3 id="hd_id561587405334695">Server URL</h3>
+<paragraph role="paragraph" id="par_id521587405341138">Enter the URL for the database server. This is the name of the machine that runs the MariaDB or MySQL database. You can also replace hostname with the IP address of the server.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/mysqlnativesettings/port" id="bm_id61587412969905" localize="false"/>
+<h3 id="hd_id171587405349438">Port number</h3>
+<paragraph role="paragraph" id="par_id1001587405358390">Enter the port number for the database server. Ask your database administrator for the correct port address. The default port number for MySQL or MariaDB databases is 3306.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/mysqlnativesettings/socket" id="bm_id971587412977058" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/mysqlnativesettings/namedpipe" id="bm_id31587412982787" localize="false"/>
+<switch select="sys">
+<case select="WIN">
+<h3 id="hd_id121587407845730">Named Pipe</h3>
+<paragraph role="paragraph" id="par_id941587407987180">If the MariaDB or MySQL database is to be accessed by a named pipe, enter its name.</paragraph>
+</case>
+<default>
+<h3 id="hd_id161587405553671">Socket</h3>
+<paragraph role="paragraph" id="par_id161587405561472">If the MariaDB or MySQL database is to be accessed by a socket, enter the socket ID.</paragraph>
+</default>
+</switch>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbwizmysqlintropage/odbc" id="bm_id6776940" localize="false"/>
+<h2 id="par_idN10562">Connect using ODBC (Open Database Connectivity)</h2>
+<paragraph role="paragraph" id="par_idN10566" xml-lang="en-US"><ahelp hid=".">Connects to an existing ODBC data source that was set on a system level.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbwizmysqlintropage/jdbc" id="bm_id4285409" localize="false"/>
+<h2 id="par_idN10569">Connect using JDBC (Java Database Connectivity)</h2>
+<paragraph role="paragraph" id="par_idN1056D" xml-lang="en-US"><ahelp hid=".">Connects to an existing JDBC data source that was set on a system level.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN10570" xml-lang="en-US">The next wizard page depends on your choice of ODBC or JDBC:</paragraph>
+<paragraph role="paragraph" id="par_idN10573" xml-lang="en-US"><link href="text/sdatabase/dabawiz02odbc.xhp">ODBC Connection</link></paragraph>
+<paragraph role="paragraph" id="par_idN10582" xml-lang="en-US"><link href="text/sdatabase/dabawiz02jdbc.xhp">JDBC Connection</link></paragraph>
+<paragraph role="paragraph" id="par_idN10591" xml-lang="en-US"><link href="text/sdatabase/dabawiz03auth.xhp">Authentication</link></paragraph>
+<paragraph role="paragraph" localize="false" id="par_idN1061A" xml-lang="en-US"><embedvar href="text/sdatabase/dabawiz00.xhp#databasewizardh1"/></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabawiz02odbc.xhp b/helpcontent2/source/text/sdatabase/dabawiz02odbc.xhp
new file mode 100644
index 000000000..0a69034c2
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabawiz02odbc.xhp
@@ -0,0 +1,51 @@
+<?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="textsharedexplorerdatabasedabawiz02odbcxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">ODBC Connection</title>
+<filename>/text/sdatabase/dabawiz02odbc.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-28T16:27:31">UFI: Database Wizard ODBC page</created>
+</history>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149031"><bookmark_value>ODBC;database (Base)</bookmark_value>
+<bookmark_value>databases;ODBC (Base)</bookmark_value>
+</bookmark><comment>mw added "(Base)" to all entries</comment>
+<h1 id="par_idN1053D"><variable id="odbc"><link href="text/sdatabase/dabawiz02odbc.xhp">ODBC Connection</link>
+</variable></h1>
+<paragraph role="paragraph" id="par_idN10541" xml-lang="en-US"><ahelp hid=".">Specifies the settings for <link href="text/shared/00/00000005.xhp#odbc" name="ODBC">ODBC</link> databases.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id8856776" xml-lang="en-US">To edit or add records to a database table in $[officename], the table must have a unique index field.</paragraph>
+<paragraph role="paragraph" id="par_id8034302" xml-lang="en-US">On Solaris and Linux platforms, try to use a JDBC driver instead of an ODBC driver. See http://www.unixodbc.org for an ODBC implementation on Solaris or Linux.</paragraph>
+<paragraph role="paragraph" id="par_id8560136" xml-lang="en-US">To connect to a Microsoft Access database on Windows, use the ADO or Access database interface, rather than ODBC.</paragraph>
+<note id="par_id2082583">Drivers for ODBC are supplied and supported by the manufacturer of the database. $[officename] only supports the ODBC 3 standard.</note>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_PAGE_DBWIZARD_ODBC_ET_NAMEOFODBCDATASOURCE" id="bm_id9201025" localize="false"/>
+<h2 id="par_idN10552">Name of the ODBC database</h2>
+<paragraph role="paragraph" id="par_idN10556" xml-lang="en-US"><ahelp hid=".">Enter the path to the database file.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_PAGE_DBWIZARD_ODBC_PB_NAMEOFODBCDATASOURCE" id="bm_id5588549" localize="false"/>
+<h2 id="par_idN10559">Browse</h2>
+<paragraph role="paragraph" id="par_idN1055D" xml-lang="en-US"><ahelp hid=".">Click to open an ODBC data source selection dialog:</ahelp></paragraph>
+<h3 id="par_idN10560">Choose a data source</h3>
+<paragraph role="paragraph" id="par_idN10564" xml-lang="en-US"><ahelp hid=".">Select a data source to which you want to connect using ODBC. Then click <emph>OK</emph>.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN10567" xml-lang="en-US"><link href="text/sdatabase/dabawiz03auth.xhp">Authentication</link></paragraph>
+<paragraph role="paragraph" localize="false" id="par_idN1061A" xml-lang="en-US"><embedvar href="text/sdatabase/dabawiz00.xhp#databasewizardh1"/></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabawiz02oracle.xhp b/helpcontent2/source/text/sdatabase/dabawiz02oracle.xhp
new file mode 100644
index 000000000..efe7aae2e
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabawiz02oracle.xhp
@@ -0,0 +1,60 @@
+<?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="textsharedexplorerdatabasedabawiz02oraclexml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Oracle Database Connection</title>
+<filename>/text/sdatabase/dabawiz02oracle.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-28T16:07:28">UFI: Database Wizard Oracle page</created>
+</history>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialjdbcconnectionpage/SpecialJDBCConnectionPage" id="bm_id7325353" localize="false"/>
+<bookmark xml-lang="en-US" branch="index" id="bm_id5900753"><bookmark_value>Oracle databases (base)</bookmark_value>
+</bookmark><comment>mw added one index entry</comment>
+<h1 id="par_idN105A4">Oracle Database Connection</h1>
+<paragraph role="paragraph" id="par_idN105A8" xml-lang="en-US"><ahelp hid=".">Specifies the options to access an Oracle database.</ahelp><comment>copied text from shared\explorer\database\11110000</comment></paragraph>
+<h2 id="par_idN105BD">Oracle database</h2>
+<paragraph role="paragraph" id="par_idN105C1" xml-lang="en-US">You can use a JDBC driver to access an Oracle database from Solaris or Linux. To access the database from Windows, you need an ODBC driver.</paragraph>
+<switch select="sys">
+<case select="UNIX">
+<paragraph role="paragraph" id="par_idN105D4" xml-lang="en-US">On UNIX, ensure that the Oracle database client is installed with JDBC support. The JDBC driver class for the Solaris Oracle client version 8.x is located in the &lt;Oracle client&gt;/product/jdbc/lib/classes111.zip directory. You can also download the latest version of the driver from the Oracle web site.</paragraph>
+</case>
+</switch>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialjdbcconnectionpage/dbNameEntry" id="bm_id6442152" localize="false"/>
+<h2 id="par_idN10608">Name of the Oracle database</h2>
+<paragraph role="paragraph" id="par_idN1060C" xml-lang="en-US"><ahelp hid=".">Enter the name of the Oracle database. Ask your database administrator for the correct name.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialjdbcconnectionpage/hostNameEntry" id="bm_id7636036" localize="false"/>
+<h2 id="par_idN1060F">Server URL</h2>
+<paragraph role="paragraph" id="par_idN10613" xml-lang="en-US"><ahelp hid=".">Enter the URL for the database server. This is the name of the machine that runs the Oracle database. You can also replace hostname with the IP address of the server.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialjdbcconnectionpage/portNumEntry" id="bm_id7325357" localize="false"/>
+<h2 id="par_idN10616">Port number</h2>
+<paragraph role="paragraph" id="par_idN1061A" xml-lang="en-US"><ahelp hid=".">Enter the port number for the database server. Ask your database administrator for the correct port address.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialjdbcconnectionpage/jdbcDriverEntry" id="bm_id7325358" localize="false"/>
+<h2 id="par_idN1061D">Oracle JDBC Driver Class</h2>
+<paragraph role="paragraph" id="par_idN10621" xml-lang="en-US"><ahelp hid=".">Enter the name of the JDBC driver.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/specialjdbcconnectionpage/testDriverButton" id="bm_id732535" localize="false"/>
+<h2 id="par_idN10630">Test Class</h2>
+<paragraph role="paragraph" id="par_idN10634" xml-lang="en-US"><ahelp hid=".">Tests the connection with the current settings.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN10637" xml-lang="en-US"><link href="text/sdatabase/dabawiz03auth.xhp">Authentication</link></paragraph>
+<paragraph role="paragraph" localize="false" id="par_idN1061A" xml-lang="en-US"><embedvar href="text/sdatabase/dabawiz00.xhp#databasewizardh1"/></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabawiz02pgsql.xhp b/helpcontent2/source/text/sdatabase/dabawiz02pgsql.xhp
new file mode 100644
index 000000000..60bd1011e
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabawiz02pgsql.xhp
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+ <!--
+ * 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/.
+ *
+ -->
+
+ <meta>
+ <topic id="textsdatabasedabawiz02pgsqlxml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">PostgreSQL Connection</title>
+ <filename>/text/sdatabase/dabawiz02pgsql.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id861587404584956">
+<bookmark_value>PostgreSQL settings (Base)</bookmark_value>
+ </bookmark>
+ <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbwizconnectionpage/ConnectionPage" id="bm_id701643051950111" localize="false"/>
+ <section id="pgsqlHead">
+ <h1 id="hd_id971643043442131"><variable id="pgsqlh1"><link href="text/sdatabase/dabawiz02pgsql.xhp" name="pgconnection">PostgreSQL Connection</link></variable></h1>
+ <paragraph id="par_id811643043442133" role="paragraph" xml-lang="en-US">Specifies the options for connecting to PostgreSQL databases.</paragraph>
+ </section>
+ <h2 id="hd_id321643044241406">DBMS/driver-specific connection string</h2>
+ <paragraph role="paragraph" id="par_id341643044249556">Enter the driver specific connection string. The connection string is sequence of keyword/value pairs separated by spaces. For example</paragraph>
+ <paragraph role="paragraph" id="par_id471643044279530"><literal>dbname=MyDatabase host=myHost port=5432</literal></paragraph>
+ <paragraph role="paragraph" id="par_id301643045873140">where</paragraph>
+ <list type="unordered">
+ <listitem>
+ <paragraph id="par_id511643044303340" role="listitem"><emph>dbname</emph>: the name of the database hosted in the DBMS server.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id331643044364699" role="listitem"><emph>host</emph>: the fully qualified name of the RDBMS server</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id931643044367236" role="listitem"><emph>port</emph>: the server port. The default port for PostgreSQL is 5432.</paragraph>
+ </listitem>
+ </list>
+ <paragraph role="paragraph" id="par_id421643049901759">You can also enter the connection string as</paragraph> <paragraph role="paragraph" id="par_id51643050033680"><literal>postgresql://myHost:port/MyDatabase</literal>.</paragraph>
+
+ <note id="par_id71643046088031">Refer to the database server administrator for the correct values of the keywords passed in the connection string. Values for <emph>user=</emph> and <emph>password=</emph> are ignored but will be requested at connection time.</note>
+ <tip id="par_id131643048856194">The connection string is displayed in the %PRODUCTNAME Base status bar.</tip>
+ <section id="relatedtopics">
+ <paragraph role="paragraph" id="par_id571643046067450">List of all keyword/value pairs for <link href="https://www.postgresql.org/docs/13/libpq-connect.html#LIBPQ-PARAMKEYWORDS" name="PG13keywords">PostgreSQL 13</link> connection string. Not every pair is handled by the %PRODUCTNAME driver manager.</paragraph>
+ </section>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabawiz02spreadsheet.xhp b/helpcontent2/source/text/sdatabase/dabawiz02spreadsheet.xhp
new file mode 100644
index 000000000..3980a2632
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabawiz02spreadsheet.xhp
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+ * 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 .
+ -->
+
+
+<meta>
+<topic id="textsharedexplorerdatabasedabawiz02spreadsheetxml" indexer="include">
+<title id="tit" xml-lang="en-US">Spreadsheet Database Connection</title>
+<filename>/text/sdatabase/dabawiz02spreadsheet.xhp</filename>
+</topic>
+</meta>
+<body><comment>** Expression is faulty **</comment>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbwizspreadsheetpage/DBWizSpreadsheetPage" id="bm_id5975217" localize="false"/>
+<h1 id="par_idN1053A">Set up Spreadsheet connection</h1>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbwizspreadsheetpage/browseurl" id="bm_id5975218" localize="false"/>
+<h2 id="par_idN1053E">Location and file name</h2>
+<paragraph role="paragraph" id="par_idN10542" xml-lang="en-US"><ahelp hid=".">Enter the path and file name to the spreadsheet file.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbwizspreadsheetpage/browse" id="bm_id2601702" localize="false"/>
+<h2 id="par_idN10545">Browse</h2>
+<paragraph role="paragraph" id="par_idN10549" xml-lang="en-US"><ahelp hid=".">Click to open a file selection dialog.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/dbwizspreadsheetpage/passwordrequired" id="bm_id4418774" localize="false"/>
+<h3 id="par_idN1054C">Password required</h3>
+<paragraph role="paragraph" id="par_idN10550" xml-lang="en-US"><ahelp hid=".">Select to request a password from the user of the database document.</ahelp></paragraph>
+<paragraph role="paragraph" localize="false" id="par_idN1061A" xml-lang="en-US"><embedvar href="text/sdatabase/dabawiz00.xhp#databasewizardh1"/></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/dabawiz02text.xhp b/helpcontent2/source/text/sdatabase/dabawiz02text.xhp
new file mode 100644
index 000000000..18b734d57
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabawiz02text.xhp
@@ -0,0 +1,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>
diff --git a/helpcontent2/source/text/sdatabase/dabawiz03auth.xhp b/helpcontent2/source/text/sdatabase/dabawiz03auth.xhp
new file mode 100644
index 000000000..cd91d9e15
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/dabawiz03auth.xhp
@@ -0,0 +1,44 @@
+<?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="textsharedexplorerdatabasedabawiz03authxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Set up user authentication</title>
+<filename>/text/sdatabase/dabawiz03auth.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-28T16:40:10">UFI: Database Wizard Authentication page</created>
+</history>
+</meta>
+<body>
+<h1 id="par_idN1053A">Set up user authentication</h1>
+<paragraph role="paragraph" id="par_idN1053E" xml-lang="en-US">Some databases require a user name and password.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/authentificationpage/generalUserNameEntry" id="bm_id5520493" localize="false"/>
+<h2 id="par_idN10541">User name</h2>
+<paragraph role="paragraph" id="par_idN10545" xml-lang="en-US"><ahelp hid=".">Enter the user name to access the database.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/authentificationpage/passRequiredCheckbutton" id="bm_id6467787" localize="false"/>
+<h3 id="par_idN10548">Password required</h3>
+<paragraph role="paragraph" id="par_idN1054C" xml-lang="en-US"><ahelp hid=".">Select to prompt a user for a password to access the database.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/authentificationpage/testConnectionButton" id="bm_id6467788" localize="false"/>
+<h3 id="par_idN10549">Test Connection</h3>
+<paragraph role="paragraph" id="par_idN10546" xml-lang="en-US"><ahelp hid=".">Check if the configured connection can be used to access the database.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN1054F" xml-lang="en-US"><link href="text/sdatabase/dabawiz02.xhp">Save and proceed</link></paragraph>
+<paragraph role="paragraph" localize="false" id="par_idN1061A" xml-lang="en-US"><embedvar href="text/sdatabase/dabawiz00.xhp#databasewizardh1"/></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/main.xhp b/helpcontent2/source/text/sdatabase/main.xhp
new file mode 100644
index 000000000..f76bead79
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/main.xhp
@@ -0,0 +1,100 @@
+<?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="textsharedexplorerdatabasemainxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">%PRODUCTNAME Database</title>
+<filename>/text/sdatabase/main.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="database">
+<bookmark xml-lang="en-US" branch="index" id="bm_id8622089"><bookmark_value>databases;main page (Base)</bookmark_value>
+<bookmark_value>$[officename] Base data sources</bookmark_value>
+<bookmark_value>data sources;$[officename] Base</bookmark_value>
+</bookmark><comment>mw changed "Base,..."</comment><h1 id="par_idN10579"><variable id="base"><link href="text/sdatabase/main.xhp">Using Databases in %PRODUCTNAME Base</link>
+</variable></h1>
+<embed href="text/shared/06/youtubevideos.xhp#whatisit"/>
+<paragraph role="paragraph" id="par_idN107BD" xml-lang="en-US">In %PRODUCTNAME Base, you can access data that is stored in a wide variety of database file formats. %PRODUCTNAME Base natively supports some flat file database formats, such as the dBASE format. You can also use %PRODUCTNAME Base to connect to external relational databases, such as databases from MySQL or Oracle.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id5864131" xml-lang="en-US">The following database types are read-only types in %PRODUCTNAME Base. From within %PRODUCTNAME Base it is not possible to change the database structure or to edit, insert, and delete database records for these database types:</paragraph>
+<list type="unordered">
+<listitem>
+<paragraph role="paragraph" id="par_id8865016" xml-lang="en-US">Spreadsheet files</paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id3786736" xml-lang="en-US">Text files</paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id6747337" xml-lang="en-US">Address book data</paragraph>
+</listitem>
+</list>
+<h2 id="par_idN107C0">Using a Database in %PRODUCTNAME</h2>
+<list type="unordered">
+<listitem>
+<paragraph role="paragraph" id="par_idN10838" xml-lang="en-US">To create a new database file, choose <emph>File - New - Database</emph>.</paragraph>
+</listitem>
+</list>
+<paragraph role="paragraph" id="par_idN1083B" xml-lang="en-US">The <link href="text/sdatabase/dabawiz01.xhp">Database Wizard</link> helps you to create a database file and to register a new database within %PRODUCTNAME.</paragraph>
+<note id="par_idN107E7">The database file contains queries, reports, and forms for the database as well as a link to the database where the records are stored. Formatting information is also stored in the database file.</note>
+<list type="unordered">
+<listitem>
+<paragraph role="paragraph" id="par_idN1084A" xml-lang="en-US">To open a database file, choose <emph>File - Open</emph>. In the <emph>File type</emph> list box, select to view only "Database documents". Select a database document and click <emph>Open</emph>.</paragraph>
+</listitem>
+</list>
+<section id="relatedtopics">
+<paragraph role="paragraph" id="par_idN1075F" xml-lang="en-US" localize="false">
+ <embedvar href="text/shared/guide/data_view.xhp#data_view"/>
+</paragraph>
+<paragraph role="paragraph" id="par_idN10767" xml-lang="en-US" localize="false">
+ <embedvar href="text/shared/guide/data_register.xhp#data_register"/>
+</paragraph>
+<paragraph role="paragraph" id="par_idN1076F" xml-lang="en-US" localize="false">
+ <embedvar href="text/shared/guide/data_new.xhp#data_new"/>
+</paragraph>
+<paragraph role="paragraph" id="par_idN10777" xml-lang="en-US" localize="false">
+ <embedvar href="text/shared/guide/data_tables.xhp#data_tables"/>
+</paragraph>
+<paragraph role="paragraph" id="par_idN1077F" xml-lang="en-US" localize="false">
+ <embedvar href="text/shared/guide/data_queries.xhp#data_queries"/>
+</paragraph>
+<paragraph role="paragraph" id="par_idN10787" xml-lang="en-US" localize="false">
+ <embedvar href="text/shared/guide/data_forms.xhp#data_forms"/>
+</paragraph>
+<paragraph role="paragraph" id="par_idN1078F" xml-lang="en-US" localize="false">
+ <embedvar href="text/shared/guide/data_reports.xhp#data_reports"/>
+</paragraph>
+<paragraph role="paragraph" id="par_id1311990" xml-lang="en-US" localize="false">
+ <embedvar href="text/shared/guide/data_im_export.xhp#data_im_export"/>
+</paragraph>
+<paragraph role="paragraph" id="par_idN10797" xml-lang="en-US" localize="false">
+ <embedvar href="text/shared/guide/database_main.xhp#database_main"/>
+</paragraph>
+<paragraph role="paragraph" id="par_idN107AD" xml-lang="en-US" localize="false">
+ <embedvar href="text/sdatabase/menubar.xhp#titletext"/>
+</paragraph>
+<paragraph role="paragraph" id="par_idN107BB" xml-lang="en-US" localize="false">
+ <embedvar href="text/sdatabase/toolbars.xhp#toolbars"/>
+</paragraph>
+<embed href="text/shared/04/01020000.xhp#DB_keys"/>
+<paragraph role="paragraph" id="par_id6474806" xml-lang="en-US"><link href="https://wiki.documentfoundation.org/Database" name="wiki.documentfoundation.org Database">Wiki page about Base</link></paragraph>
+</section>
+<embed href="text/swriter/main0000.xhp#helpabouthelp"/>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/menubar.xhp b/helpcontent2/source/text/sdatabase/menubar.xhp
new file mode 100644
index 000000000..7542609df
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/menubar.xhp
@@ -0,0 +1,41 @@
+<?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="textsharedexplorerdatabasemenubarxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Menus</title>
+<filename>/text/sdatabase/menubar.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-29T13:33:27">UFI: Database Document Menu bar</created>
+</history>
+</meta>
+<body>
+<section id="menus">
+<h1 id="par_idN10552"><variable id="titletext"><link href="text/sdatabase/menubar.xhp">Menus</link>
+</variable></h1>
+<paragraph role="paragraph" id="par_idN10562" xml-lang="en-US">In the database window, you see a new set of menu commands for working on the current database file.</paragraph>
+</section>
+<embed href="text/sdatabase/menufile.xhp#file"/>
+<embed href="text/sdatabase/menuedit.xhp#edit"/>
+<embed href="text/sdatabase/menuview.xhp#view"/>
+<embed href="text/sdatabase/menuinsert.xhp#insert"/>
+<embed href="text/sdatabase/menutools.xhp#tools"/>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/menuedit.xhp b/helpcontent2/source/text/sdatabase/menuedit.xhp
new file mode 100644
index 000000000..bdb4046a8
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/menuedit.xhp
@@ -0,0 +1,83 @@
+<?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="textsharedexplorerdatabasemenueditxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Edit</title>
+<filename>/text/sdatabase/menuedit.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-29T14:30:39">UFI: Edit menu of Database</created>
+</history>
+</meta>
+<body>
+<section id="edit">
+<h1 id="par_idN1054D"><link href="text/sdatabase/menuedit.xhp">Edit</link></h1>
+</section>
+<paragraph role="paragraph" id="par_idN1055D" xml-lang="en-US">The Edit menu of a database window.</paragraph>
+<h2 id="par_idN10560">Copy</h2>
+<paragraph role="paragraph" id="par_idN10564" xml-lang="en-US"><ahelp hid=".">Copies the selected object to the clipboard.</ahelp></paragraph>
+<h2 id="par_idN10567">Paste</h2>
+<paragraph role="paragraph" id="par_idN1056B" xml-lang="en-US"><ahelp hid=".">Inserts an item from the clipboard. If you want, you can insert forms and reports, including subfolders, from one database file to another.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:PasteSpecial" id="bm_id2726522" localize="false"/>
+<h2 id="par_idN1056E">Paste Special</h2>
+<paragraph role="paragraph" id="par_idN10572" xml-lang="en-US"><ahelp hid=".">Inserts an item from the clipboard. If you want, you can insert forms and reports, including subfolders, from one database file to another.</ahelp></paragraph>
+<section id="table_edit">
+<bookmark xml-lang="en-US" branch="hid/.uno:SelectAll" id="bm_id2726524" localize="false"/>
+<h2 id="par_idN105D7">Select All</h2>
+<paragraph role="paragraph" id="par_idN105DB" xml-lang="en-US"><ahelp hid=".">Selects all entries, including subfolders, in the lower part of the database window.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_BROWSER_TABLE_EDIT" id="bm_id3152996" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBEdit" id="bm_id2726523" localize="false"/>
+<h2 id="hd_id3153683">Edit</h2>
+<paragraph role="paragraph" id="par_id3147209" xml-lang="en-US"><ahelp hid=".">Opens a window where you can edit the selected table, query, form, or report.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_BROWSER_TABLE_DELETE" id="bm_id3153824" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBDelete" id="bm_id4481643" localize="false"/>
+<h2 id="hd_id3145315">Delete</h2>
+<paragraph role="paragraph" id="par_id3153666" xml-lang="en-US"><ahelp hid=".">Deletes the selected table, query, form, or report.</ahelp></paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBRename" id="bm_id2862636" localize="false"/>
+<h2 id="par_idN1057C">Rename</h2>
+<paragraph role="paragraph" id="par_idN10580" xml-lang="en-US"><ahelp hid=".">Renames the selected object. Depending on the database, some names, characters, and name length might be invalid.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBOpen" id="bm_id4928739" localize="false"/>
+<h2 id="par_idN1058A">Open</h2>
+<paragraph role="paragraph" id="par_idN1058E" xml-lang="en-US"><ahelp hid=".">Opens the selected object in the last saved state.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBConvertToView" id="bm_id1669362" localize="false"/>
+<h2 id="par_idN10591">Create as View</h2>
+<paragraph role="paragraph" id="par_idN105A7" xml-lang="en-US"><ahelp hid=".">Converts the selected query to a view. The original query remains in your database file and an additional view is generated on the database server. You must have write permission to add a view to a database.</ahelp></paragraph>
+<note id="par_idN105AA">Most databases use queries to filter or to sort database tables to display records on your computer. Views offer the same functionality as queries, but on the server side. If your database is on a server that supports views, you can use views to filter the records on the server to speed up the display time.</note>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBNewFormAutoPilotWithPreSelection" id="bm_id1720023b" localize="false"/>
+<h2 id="par_idN105AD">Form Wizard</h2>
+<paragraph role="paragraph" id="par_idN105B1" xml-lang="en-US"><ahelp hid=".">Starts the <link href="text/shared/autopi/01090000.xhp">Form Wizard</link> for the selected table, query, or view.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBNewReportAutoPilotWithPreSelection" id="bm_id28626361" localize="false"/>
+<h2 id="par_idN105C2">Report Wizard</h2>
+<paragraph role="paragraph" id="par_idN105C6" xml-lang="en-US"><ahelp hid=".">Starts the <link href="text/shared/autopi/01100000.xhp">Report Wizard</link> for the selected table, query, or view.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBDatabasePropertiesMenu" id="bm_id24472791" localize="false"/>
+<h2 id="par_idN105DE">Database</h2>
+<paragraph role="paragraph" id="par_idN105E2" xml-lang="en-US"><ahelp hid=".">Opens a submenu.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBDSProperties" id="bm_id49287391" localize="false"/>
+<h3 id="par_idN105E5">Properties</h3>
+<paragraph role="paragraph" id="par_idN105E9" xml-lang="en-US"><ahelp hid=".">Opens the Database Properties dialog.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBDSConnectionType" id="bm_id16693621" localize="false"/>
+<h3 id="par_idN105EC">Connection Type</h3>
+<paragraph role="paragraph" id="par_idN105F0" xml-lang="en-US"><ahelp hid=".">Opens the Connection Type Wizard.</ahelp><comment>shortened the paragraph, see i58462</comment></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBDSAdvancedSettings" id="bm_id1720023c" localize="false"/>
+<h3 id="par_idN105F3">Advanced Properties</h3>
+<paragraph role="paragraph" id="par_idN105F7" xml-lang="en-US"><ahelp hid=".">Opens the Advanced Properties dialog.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/menufile.xhp b/helpcontent2/source/text/sdatabase/menufile.xhp
new file mode 100644
index 000000000..cf1f0a533
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/menufile.xhp
@@ -0,0 +1,51 @@
+<?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="textsharedexplorerdatabasemenufilexml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">File</title>
+<filename>/text/sdatabase/menufile.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-29T14:25:38">UFI: File menu for Database</created>
+</history>
+</meta>
+<body>
+<section id="file">
+<h1 id="par_idN1054D"><link href="text/sdatabase/menufile.xhp">File</link></h1>
+</section>
+<paragraph role="paragraph" id="par_idN1055D" xml-lang="en-US">The File menu of a database window. Only entries specific to databases are listed.</paragraph>
+<h2 id="par_idN105C0">Save</h2>
+<paragraph role="paragraph" id="par_idN105C4" xml-lang="en-US">Saves the current database file, query, form or report. For the database file, you see the <link href="text/shared/01/01070000.xhp">file save</link> dialog. For the other objects, you see the <link href="text/sdatabase/menufilesave.xhp">Save</link> dialog.</paragraph>
+<h2 id="par_idN105D5">Save As</h2>
+<paragraph role="paragraph" id="par_idN105D9" xml-lang="en-US">Saves the current database file with another name. In the <link href="text/shared/01/01070000.xhp">file save</link> dialog, select a path and file name to save.</paragraph>
+<h2 id="par_idN105EA">Export</h2>
+<paragraph role="paragraph" id="par_idN105EE" xml-lang="en-US">Exports the selected report or form to a text document. A dynamic report is exported as a copy of the database contents at the time of export.</paragraph>
+<h2 id="par_idN105F1">Send</h2>
+<paragraph role="paragraph" id="par_idN105F5" xml-lang="en-US">Opens a submenu.</paragraph>
+<h3 id="par_idN105F8">Email Document</h3>
+<paragraph role="paragraph" id="par_idN105FC" xml-lang="en-US">Opens the default email application to send a new email. The current database file is appended as an attachment. You can enter the subject, the recipients and a mail body.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBSendReportAsMail" id="bm_id4928739" localize="false"/>
+<h3 id="par_idN105FF">Report as Email</h3>
+<paragraph role="paragraph" id="par_idN10603" xml-lang="en-US"><ahelp hid=".">Opens the default email application to send a new email. The selected report is appended as an attachment. You can enter the subject, the recipients and a mail body. A dynamic report is exported as a copy of the database contents at the time of export.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBSendReportToWriter" id="bm_id1669362" localize="false"/>
+<h3 id="par_idN10606">Report to Text Document</h3>
+<paragraph role="paragraph" id="par_idN1060A" xml-lang="en-US"><ahelp hid=".">Exports the selected report to a text document. A dynamic report is exported as a copy of the database contents at the time of export.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/menufilesave.xhp b/helpcontent2/source/text/sdatabase/menufilesave.xhp
new file mode 100644
index 000000000..0347c9d43
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/menufilesave.xhp
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+<!--
+ * 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 .
+ -->
+
+<meta>
+<topic id="textsharedexplorerdatabasemenufilesavexhp" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Save</title>
+<filename>/text/sdatabase/menufilesave.xhp</filename>
+</topic>
+<history>
+<created date="2005-02-07T15:50:39">save dialog in Base</created>
+</history>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/collectionviewdialog/CollectionView" id="bm_id2862637" localize="false"/>
+<h1 id="par_idN10547">Save</h1>
+<paragraph role="paragraph" id="par_idN1054B" xml-lang="en-US">In this dialog, you can specify the position and name of a form <comment>UFI: spec says also for report, but reports can be created only by Wizard and are autosaved there</comment><comment>UFI: spec says also for query, cannot verify</comment>that you save within a <link href="text/sdatabase/dabadoc.xhp">database file</link>. The dialog opens automatically when you save a form the first time.<comment>UFI: no chance to open the dialog a second time</comment></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/collectionviewdialog/newFolderButton" id="bm_id2862636" localize="false"/>
+<h2 id="par_idN10564">Create New Directory</h2>
+<paragraph role="paragraph" id="par_idN10568" xml-lang="en-US"><ahelp hid=".">Click to create a new folder within the database file.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/collectionviewdialog/upButton" id="bm_id2447279" localize="false"/>
+<h2 id="par_idN1057F">Up One Level</h2>
+<paragraph role="paragraph" id="par_idN10583" xml-lang="en-US"><ahelp hid=".">Click to go up one level in the folder hierarchy.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/collectionviewdialog/fileNameEntry" id="bm_id1669362" localize="false"/>
+<h2 id="par_idN1059A">File name</h2>
+<paragraph role="paragraph" id="par_idN1059E" xml-lang="en-US"><ahelp hid=".">Enter the file name for the saved form.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/collectionviewdialog/ok" id="bm_id1720023" localize="false"/>
+<h2 id="par_idN105B5">Save</h2>
+<paragraph role="paragraph" id="par_idN105B9" xml-lang="en-US"><ahelp hid=".">Click to save the form to the database file.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/menuinsert.xhp b/helpcontent2/source/text/sdatabase/menuinsert.xhp
new file mode 100644
index 000000000..14be6017b
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/menuinsert.xhp
@@ -0,0 +1,48 @@
+<?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="textsharedexplorerdatabasemenuinsertxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Insert</title>
+<filename>/text/sdatabase/menuinsert.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="insert">
+<h1 id="par_idN1054D"><link href="text/sdatabase/menuinsert.xhp">Insert</link></h1>
+</section>
+<paragraph role="paragraph" id="par_idN1055D" xml-lang="en-US">The Insert menu of a database window.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBNewForm" id="bm_id4928739" localize="false"/><h2 id="par_idN10560">Form</h2>
+<paragraph role="paragraph" id="par_idN10576" xml-lang="en-US"><ahelp hid=".">Opens a new text document in form mode.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBNewReport" id="bm_id4968413" localize="false"/><h2 id="par_idN1058B">Report</h2>
+<paragraph role="paragraph" id="par_idN1058F" xml-lang="en-US"><ahelp hid=".">Starts the <link href="text/sdatabase/rep_main.xhp">Report Builder</link> window for the selected table, view, or query.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBNewQuery" id="bm_id1720023" localize="false"/><h2 id="par_idN105A0">Query (Design View)</h2>
+<paragraph role="paragraph" id="par_idN105A4" xml-lang="en-US"><ahelp hid=".">Opens a new query in design mode.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBNewQuerySql" id="bm_id2862636" localize="false"/><h2 id="par_idN105A7">Query (SQL View)</h2>
+<paragraph role="paragraph" id="par_idN105AB" xml-lang="en-US"><ahelp hid=".">Opens a new query in SQL mode.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBNewTable" id="bm_id2447279" localize="false"/><h2 id="par_idN105AE">Table Design</h2>
+<paragraph role="paragraph" id="par_idN105C4" xml-lang="en-US"><ahelp hid=".">Opens the table design view.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBNewView" id="bm_id49287391" localize="false"/><h2 id="par_idN105C7">View Design</h2>
+<paragraph role="paragraph" id="par_idN10669" xml-lang="en-US"><ahelp hid=".">Opens a new view in design mode.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBNewViewSQL" id="bm_id1669362" localize="false"/><h2 id="par_idN105E0">View (Simple)</h2>
+<paragraph role="paragraph" id="par_idN105F6" xml-lang="en-US"><ahelp hid=".">Opens a new view in SQL mode.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBNewFolder" id="bm_id17200231" localize="false"/><h2 id="par_idN105F9">Folder</h2>
+<paragraph role="paragraph" id="par_idN1060F" xml-lang="en-US"><ahelp hid=".">Opens a dialog where you can save a new folder in the database file.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/menutools.xhp b/helpcontent2/source/text/sdatabase/menutools.xhp
new file mode 100644
index 000000000..f008b6491
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/menutools.xhp
@@ -0,0 +1,51 @@
+<?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="textsharedexplorerdatabasemenutoolsxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Tools</title>
+<filename>/text/sdatabase/menutools.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-29T14:36:26">UFI: Tools menu of Database</created>
+</history>
+</meta>
+<body>
+<section id="tools">
+<h1 id="par_idN1054D"><link href="text/sdatabase/menutools.xhp">Tools</link></h1>
+</section>
+<paragraph role="paragraph" id="par_idN1055D" xml-lang="en-US">The Tools menu of a database window.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBRelationDesign" id="bm_id2862636" localize="false"/>
+<h2 id="par_idN10560">Relationships</h2>
+<paragraph role="paragraph" id="par_idN10576" xml-lang="en-US"><ahelp hid=".">Opens the <link href="text/sdatabase/05020000.xhp">Relation Design</link> view and checks whether the database connection supports relations.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBUserAdmin" id="bm_id2447279" localize="false"/>
+<h2 id="par_idN1058A">User Administration</h2>
+<paragraph role="paragraph" id="par_idN1058E" xml-lang="en-US"><ahelp hid=".">Opens the User Administration dialog if the database supports this feature.</ahelp><comment>UFI: where is this specced?</comment></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/tablesfilterpage/TablesFilterPage" id="bm_id3153087" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBTableFilter" id="bm_id4928739" localize="false"/>
+<h2 id="hd_id3153880">Table Filter</h2>
+<paragraph role="paragraph" id="par_id3153252" xml-lang="en-US"><ahelp hid=".">Opens the Table Filter dialog where you can specify which tables of the database to show or to hide.</ahelp><comment>see text in shared\explorer\database\11090000.xhp</comment></paragraph>
+<paragraph role="paragraph" id="par_id3150670" xml-lang="en-US">Select the tables that you want to filter in the <emph>Filter</emph> list.</paragraph>
+<paragraph role="paragraph" id="par_id3150985" xml-lang="en-US">If you select the topmost table in a hierarchy, all of the tables in the hierarchy are selected.</paragraph>
+<paragraph role="paragraph" id="par_id3152349" xml-lang="en-US">If you select a table that is at a lower level in the hierarchy, the tables that occur above it in the hierarchy are not selected.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBDirectSQL" id="bm_id1669362" localize="false"/>
+<h2 id="par_idN105BC">SQL</h2>
+<paragraph role="paragraph" id="par_idN105C0" xml-lang="en-US"><ahelp hid=".">Opens the SQL dialog where you can enter SQL statements.</ahelp><comment>UFI: may be shared\02\14030000.xhp</comment></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/menuview.xhp b/helpcontent2/source/text/sdatabase/menuview.xhp
new file mode 100644
index 000000000..899b789fa
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/menuview.xhp
@@ -0,0 +1,74 @@
+<?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="textsharedexplorerdatabasemenuviewxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">View</title>
+<filename>/text/sdatabase/menuview.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-29T14:32:59">UFI: View menu of Database</created>
+</history>
+</meta>
+<body>
+<section id="view">
+<h1 id="par_idN1054D"><link href="text/sdatabase/menuview.xhp">View</link></h1>
+</section>
+<paragraph role="paragraph" id="par_idN1055D" xml-lang="en-US">The View menu of a database window.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBDatabaseObjectsMenu" id="bm_id2862636a" localize="false"/>
+<h2 id="par_idN10560">Database Objects</h2>
+<paragraph role="paragraph" id="par_idN10564" xml-lang="en-US"><ahelp hid=".">Opens a submenu.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBViewForms" id="bm_id2447279" localize="false"/>
+<h3 id="par_idN10567">Forms</h3>
+<paragraph role="paragraph" id="par_idN1056B" xml-lang="en-US"><ahelp hid=".">Selects the forms container and shows all forms in the detail view.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBViewReports" id="bm_id4928739" localize="false"/>
+<h3 id="par_idN1056E">Reports</h3>
+<paragraph role="paragraph" id="par_idN10572" xml-lang="en-US"><ahelp hid=".">Selects the reports container and shows all reports in the detail view.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBViewQueries" id="bm_id1669362" localize="false"/>
+<h3 id="par_idN10575">Queries</h3>
+<paragraph role="paragraph" id="par_idN10579" xml-lang="en-US"><ahelp hid=".">Selects the queries container and shows all queries in the detail view.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBViewTables" id="bm_id1720023" localize="false"/>
+<h3 id="par_idN1057C">Tables</h3>
+<paragraph role="paragraph" id="par_idN10580" xml-lang="en-US"><ahelp hid=".">Selects the tables container and shows all tables in the detail view.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBSort" id="bm_id2862636b" localize="false"/>
+<h2 id="par_idN10583">Sort</h2>
+<paragraph role="paragraph" id="par_idN10587" xml-lang="en-US"><ahelp hid=".">Opens a submenu.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:Sortup" id="bm_id2862636c" localize="false"/>
+<h3 id="par_idN1058A">Ascending</h3>
+<paragraph role="paragraph" id="par_idN1058E" xml-lang="en-US"><ahelp hid=".">Sorts the entries in the detail view in ascending order.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:SortDown" id="bm_id2862636d" localize="false"/>
+<h3 id="par_idN10591">Descending</h3>
+<paragraph role="paragraph" id="par_idN10595" xml-lang="en-US"><ahelp hid=".">Sorts the entries in the detail view in descending order.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBPreview" id="bm_id24472791" localize="false"/>
+<h2 id="par_idN10598">Preview</h2>
+<paragraph role="paragraph" id="par_idN1059C" xml-lang="en-US"><ahelp hid=".">Opens a submenu.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBDisablePreview" id="bm_id49287391" localize="false"/>
+<h3 id="par_idN1059F">None</h3>
+<paragraph role="paragraph" id="par_idN105B5" xml-lang="en-US"><ahelp hid=".">Disables the preview in the database window.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBShowDocInfoPreview" id="bm_id16693621" localize="false"/>
+<h3 id="par_idN105B8">Document Information</h3>
+<paragraph role="paragraph" id="par_idN105BC" xml-lang="en-US"><ahelp hid=".">The preview window displays the document information of a form or report.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBShowDocPreview" id="bm_id17200231" localize="false"/>
+<h3 id="par_idN105BF">Document</h3>
+<paragraph role="paragraph" id="par_idN105C3" xml-lang="en-US"><ahelp hid=".">The preview displays the document of a form or report.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBRefreshTables" id="bm_id2862636c" localize="false"/>
+<h2 id="par_idN105C6">Refresh Tables</h2>
+<paragraph role="paragraph" id="par_idN105CA" xml-lang="en-US"><ahelp hid=".">Refreshes the tables. </ahelp><comment>what happens? cool drinks? Icecream?</comment></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/migrate_macros.xhp b/helpcontent2/source/text/sdatabase/migrate_macros.xhp
new file mode 100644
index 000000000..0db2c0014
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/migrate_macros.xhp
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+ * 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 .
+ -->
+
+
+<meta>
+ <topic id="textsharedexplorerdatabasemigrate_macrosxml" indexer="include">
+ <title xml-lang="en-US" id="tit">Migrate Macros</title>
+ <filename>/text/sdatabase/migrate_macros.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <section id="migrate_macros">
+<bookmark xml-lang="en-US" branch="index" id="bm_id6009095"><bookmark_value>wizards;macros (Base)</bookmark_value>
+ <bookmark_value>Macro Wizard (Base)</bookmark_value>
+ <bookmark_value>macros;attaching new (Base)</bookmark_value>
+ <bookmark_value>migrating macros (Base)</bookmark_value>
+</bookmark><comment>MW added 2 index entries</comment>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/prepagepage/PreparePage" id="bm_id0224200911450173" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/summarypage/SummaryPage" id="bm_id0224200911450174" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/migratepage/MigratePage" id="bm_id0224200911450175" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/backuppage/BackupPage" id="bm_id022420091141366" localize="false"/>
+<h1 id="hd_id0112200902353472"><link href="text/sdatabase/migrate_macros.xhp">Migrate Macros</link></h1>
+<bookmark xml-lang="en-US" branch="hid/.uno:DBMigrateScripts" id="bm_id0224200911384751" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id0112200902353466" role="paragraph"><ahelp hid=".">The Database Document Macro Migration Wizard moves existing macros from sub-documents of an old Base file into the new Base file's macro storage area.</ahelp></paragraph>
+ </section>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/backuppage/browse" id="bm_id022420091141368" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id0224200911454780" role="paragraph"><ahelp hid="." visibility="hidden">Choose a location and file name to save the new database file. By default, the new file gets the same name as the old file, while the old file gets renamed with the string "backup" in the name.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/summarypage/textview" id="bm_id0224200911450172" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id022420091145472" role="paragraph"><ahelp hid="." visibility="hidden">The list shows all changes that were applied to the database file.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="par_id0112200902353542" role="paragraph">Previously, macros have been allowed to reside only in the text sub-documents of forms and reports. Now macros can also be stored in the Base file itself. This means that macros in Base files can be called now from any of its sub-components: forms, reports, table design, query design, relation design, table data view.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0112200903075865" role="paragraph">However, it is technically not possible to store macros both in a Base file and in its sub-documents at the same time. So, if you want to attach some new macros to the Base file, while retaining any existing old macros that were stored in the sub-documents, you must move the existing old macros up to the Base file's macro storage area. </paragraph>
+ <paragraph xml-lang="en-US" id="par_id0112200903075830" role="paragraph">The Database Document Macro Migration Wizard can move the macros up into the Base file's storage area. You can then examine the macros and edit them as needed. </paragraph>
+ <paragraph xml-lang="en-US" id="par_id0112200903075951" role="paragraph">For example, it is possible that macros from the sub-documents had the same module names and macro names. After you moved the macros into one common macro storage area, you must edit the macros to make the names unique. The wizard cannot do this.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0112200903075915" role="paragraph">The wizard can backup the Base file to another folder of your choice. The wizard changes the original Base file. The backup remains unchanged.</paragraph>
+ <embed href="text/shared/00/00000001.xhp#back"/>
+ <embed href="text/shared/00/00000001.xhp#next"/>
+ <embed href="text/shared/00/00000001.xhp#finish"/>
+ <embed href="text/shared/00/00000001.xhp#cancel"/>
+ <section id="relatedtopics">
+ <paragraph xml-lang="en-US" id="par_id0112200902353554" role="paragraph"><link href="https://wiki.documentfoundation.org/Macros_in_Database_Documents" name="wiki.documentfoundation.org Macros in Database Documents">An in depth explanation by the developers (Wiki).</link></paragraph>
+ </section>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/password.xhp b/helpcontent2/source/text/sdatabase/password.xhp
new file mode 100644
index 000000000..770fe6b7e
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/password.xhp
@@ -0,0 +1,41 @@
+<?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="textsharedexplorerdatabasepasswordxhp" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">User Name and Password Required</title>
+<filename>/text/sdatabase/password.xhp</filename>
+</topic>
+<history>
+<created date="2005-01-19T15:18:43">Password dialog</created>
+</history>
+</meta>
+<body>
+<h1 id="par_idN10541">User Name and Password Required</h1>
+<bookmark xml-lang="en-US" branch="hid/svtools:Edit:DLG_LOGIN:ED_LOGIN_USERNAME" id="bm_id1444135" localize="false"/>
+<h2 id="par_idN1054D">User name</h2>
+<paragraph role="paragraph" id="par_idN10551" xml-lang="en-US"><ahelp hid=".">Enter the user name to connect to the data source.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/svtools:Edit:DLG_LOGIN:ED_LOGIN_PASSWORD" id="bm_id7426984" localize="false"/>
+<h2 id="par_idN10568">Password</h2>
+<paragraph role="paragraph" id="par_idN1056C" xml-lang="en-US"><ahelp hid=".">Enter the password to connect to the data source.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/svtools:CheckBox:DLG_LOGIN:CB_LOGIN_SAVEPASSWORD" id="bm_id9922788" localize="false"/>
+<h2 id="par_idN10583">Remember password till end of session</h2>
+<paragraph role="paragraph" id="par_idN10587" xml-lang="en-US"><ahelp hid=".">Select to use the same user name and password without further dialog, when you connect again to the same data source in the current %PRODUCTNAME session.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/querywizard00.xhp b/helpcontent2/source/text/sdatabase/querywizard00.xhp
new file mode 100644
index 000000000..314f14c93
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/querywizard00.xhp
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+ * 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 .
+ -->
+
+
+<meta>
+<topic id="textsharedexplorerdatabasequerywizard00xml" indexer="include">
+<title id="tit" xml-lang="en-US">Query Wizard</title>
+<filename>/text/sdatabase/querywizard00.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="querywizard"><comment>mw deleted 2 index entries</comment>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD" id="bm_id1895159" localize="false"/>
+<h1 id="par_idN1054C"><link href="text/sdatabase/querywizard00.xhp">Query Wizard</link></h1>
+<paragraph role="paragraph" id="par_idN1055C" xml-lang="en-US"><ahelp hid=".">The Query Wizard helps you to design a database query.</ahelp> The saved query can be called later, either from the graphical user interface, or using the automatically created SQL language command.</paragraph>
+</section>
+<embed href="text/sdatabase/querywizard01.xhp#fieldselection"/>
+<embed href="text/sdatabase/querywizard02.xhp#sortingorder"/>
+<embed href="text/sdatabase/querywizard03.xhp#searchconditions"/>
+<embed href="text/sdatabase/querywizard04.xhp#detail"/>
+<embed href="text/sdatabase/querywizard05.xhp#grouping"/>
+<embed href="text/sdatabase/querywizard06.xhp#groupingconditions"/>
+<embed href="text/sdatabase/querywizard07.xhp#aliases"/>
+<embed href="text/sdatabase/querywizard08.xhp#overview"/>
+<embed href="text/shared/00/00000001.xhp#back"/>
+<embed href="text/shared/00/00000001.xhp#next"/>
+<embed href="text/shared/00/00000001.xhp#finish"/>
+<embed href="text/shared/00/00000001.xhp#cancel"/>
+<paragraph role="paragraph" id="par_idN105D2" xml-lang="en-US"><link href="text/sdatabase/querywizard01.xhp" name="Query Wizard - Field Selection">Query Wizard - Field selection</link></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/querywizard01.xhp b/helpcontent2/source/text/sdatabase/querywizard01.xhp
new file mode 100644
index 000000000..7570c3daa
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/querywizard01.xhp
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+ * 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 .
+ -->
+
+
+<meta>
+<topic id="textsharedexplorerdatabasequerywizard01xml" indexer="include">
+<title id="tit" xml-lang="en-US">Query Wizard - Field Selection</title>
+<filename>/text/sdatabase/querywizard01.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="fieldselection">
+<h1 id="par_idN10546"><link href="text/sdatabase/querywizard01.xhp">Query Wizard - Field Selection</link></h1>
+<paragraph role="paragraph" id="par_idN10556" xml-lang="en-US">Specifies the table to create the query, and specifies which fields you wish to include in the query.</paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_LSTTABLES" id="bm_id8819849" localize="false"/>
+<h2 id="par_idN10559">Tables</h2>
+<paragraph role="paragraph" id="par_idN1055D" xml-lang="en-US"><ahelp hid=".">Specifies the table for which the query is to be created.</ahelp></paragraph>
+<embed href="text/shared/autopi/01090100.xhp#available_fields"/>
+<embed href="text/shared/autopi/01090100.xhp#take"/>
+<embed href="text/shared/autopi/01090100.xhp#take_all"/>
+<embed href="text/shared/autopi/01090100.xhp#remove"/>
+<embed href="text/shared/autopi/01090100.xhp#remove_all"/>
+<embed href="text/shared/autopi/01090100.xhp#updown"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_LSTSELFIELDS" id="bm_id5718253" localize="false"/>
+<h2 id="par_idN10590">Fields in the Query</h2>
+<paragraph role="paragraph" id="par_idN10594" xml-lang="en-US"><ahelp hid=".">Displays all fields that will be included in the new query.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN10597" xml-lang="en-US"><link href="text/sdatabase/querywizard02.xhp" name="Query Wizard - Sorting order">Query Wizard - Sorting order</link></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/querywizard02.xhp b/helpcontent2/source/text/sdatabase/querywizard02.xhp
new file mode 100644
index 000000000..897d480e5
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/querywizard02.xhp
@@ -0,0 +1,56 @@
+<?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="textsharedexplorerdatabasequerywizard02xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Query Wizard - Sorting Order</title>
+<filename>/text/sdatabase/querywizard02.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-05T16:52:34">UFI: new Query Wizard page 2</created>
+</history>
+</meta>
+<body>
+<section id="sortingorder">
+<h1 id="par_idN10543"><link href="text/sdatabase/querywizard02.xhp">Query Wizard - Sorting Order</link></h1>
+<paragraph role="paragraph" id="par_idN10553" xml-lang="en-US">Specifies the sorting order for the data records in your query.</paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_SORT1" id="bm_id1624805" localize="false"/>
+<h2 id="par_idN10556">Sort by</h2>
+<paragraph role="paragraph" id="par_idN105B2" xml-lang="en-US"><ahelp hid=".">Specifies the field by which the created query is sorted.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_OPTASCEND1" id="bm_id7582934" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_OPTASCEND2" id="bm_id5498825" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_OPTASCEND3" id="bm_id9416486" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_OPTASCEND4" id="bm_id3401287" localize="false"/>
+<h3 id="par_idN1055C">Ascending</h3>
+<paragraph role="paragraph" id="par_idN105BF" xml-lang="en-US"><ahelp hid=".">Click to sort in alphabetically or numerically ascending order.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_OPTDESCEND1" id="bm_id4680013" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_OPTDESCEND2" id="bm_id9574571" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_OPTDESCEND3" id="bm_id5775933" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_OPTDESCEND4" id="bm_id5564439" localize="false"/>
+<h3 id="par_idN10562">Descending</h3>
+<paragraph role="paragraph" id="par_idN105CC" xml-lang="en-US"><ahelp hid=".">Click to sort in alphabetically or numerically descending order.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_SORT2" id="bm_id9547715" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_SORT3" id="bm_id5757316" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_SORT4" id="bm_id6009094" localize="false"/>
+<h2 id="par_idN10568">And then by</h2>
+<paragraph role="paragraph" id="par_idN105D9" xml-lang="en-US"><ahelp hid=".">Specifies additional fields by which the created query is sorted, if previous sort fields are equal.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN1056E" xml-lang="en-US"><link href="text/sdatabase/querywizard03.xhp" name="Query Wizard - Search conditions">Query Wizard - Search conditions</link></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/querywizard03.xhp b/helpcontent2/source/text/sdatabase/querywizard03.xhp
new file mode 100644
index 000000000..f8215fe7f
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/querywizard03.xhp
@@ -0,0 +1,57 @@
+<?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="textsharedexplorerdatabasequerywizard03xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Query Wizard - Search Conditions</title>
+<filename>/text/sdatabase/querywizard03.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-05T16:59:50">UFI: new Query Wizard page 3</created>
+</history>
+</meta>
+<body>
+<section id="searchconditions">
+<h1 id="par_idN10543"><link href="text/sdatabase/querywizard03.xhp">Query Wizard - Search Conditions</link></h1>
+<paragraph role="paragraph" id="par_idN10553" xml-lang="en-US">Specifies the search conditions to filter the query. </paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_OPTMATCHALL" id="bm_id7941526" localize="false"/>
+<h2 id="par_idN10556">Match all of the following</h2>
+<paragraph role="paragraph" id="par_idN105B2" xml-lang="en-US"><ahelp hid=".">Select to filter the query by all the conditions using a logical AND.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_OPTMATCHANY" id="bm_id8292489" localize="false"/>
+<h2 id="par_idN1055C">Match any of the following</h2>
+<paragraph role="paragraph" id="par_idN105BF" xml-lang="en-US"><ahelp hid=".">Select to filter the query by any of the conditions using a logical OR.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_LSTFIELDNAME_1" id="bm_id3359477" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_LSTFIELDNAME_2" id="bm_id3269447" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_LSTFIELDNAME_3" id="bm_id6917630" localize="false"/>
+<h3 id="par_idN10562">Field</h3>
+<paragraph role="paragraph" id="par_idN105CC" xml-lang="en-US"><ahelp hid=".">Select the field name for the filter condition.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_LSTOPERATOR_1" id="bm_id1973937" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_LSTOPERATOR_2" id="bm_id9367046" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_LSTOPERATOR_3" id="bm_id8345286" localize="false"/>
+<h3 id="par_idN10568">Condition</h3>
+<paragraph role="paragraph" id="par_idN105D9" xml-lang="en-US"><ahelp hid=".">Select the condition for the filter.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_TXTVALUE_1" id="bm_id1222266" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_TXTVALUE_2" id="bm_id2625812" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_TXTVALUE_3" id="bm_id251167" localize="false"/>
+<h3 id="par_idN1056E">Value</h3>
+<paragraph role="paragraph" id="par_idN105E6" xml-lang="en-US"><ahelp hid=".">Enter the value for the filter condition.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN10574" xml-lang="en-US"><link href="text/sdatabase/querywizard04.xhp" name="Query Wizard - Detail or Summary">Query Wizard - Detail or summary</link></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/querywizard04.xhp b/helpcontent2/source/text/sdatabase/querywizard04.xhp
new file mode 100644
index 000000000..75dfa4e0a
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/querywizard04.xhp
@@ -0,0 +1,56 @@
+<?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="textsharedexplorerdatabasequerywizard04xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Query Wizard - Detail or Summary</title>
+<filename>/text/sdatabase/querywizard04.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-06T08:38:05">UFI: new Query Wizard page 4</created>
+</history>
+</meta>
+<body>
+<section id="detail">
+<h1 id="par_idN10543"><link href="text/sdatabase/querywizard04.xhp">Query Wizard - Detail or Summary</link></h1>
+<paragraph role="paragraph" id="par_idN10553" xml-lang="en-US">Specifies whether to display all records of the query, or only the results of aggregate functions. </paragraph>
+<paragraph role="paragraph" id="par_idN10556" xml-lang="en-US">This page is only displayed when there are numerical fields in the query that allow the use of aggregate functions.</paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_OPTAGGREGATEDETAILQUERY" id="bm_id3563035" localize="false"/>
+<h2 id="par_idN10559">Detailed query</h2>
+<paragraph role="paragraph" id="par_idN105BD" xml-lang="en-US"><ahelp hid=".">Select to show all records of the query.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_OPTAGGREGATESUMMARYQUERY" id="bm_id9215063" localize="false"/>
+<h2 id="par_idN105C2">Summary query</h2>
+<paragraph role="paragraph" id="par_idN105C8" xml-lang="en-US"><ahelp hid=".">Select to show only results of aggregate functions.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN105D7" xml-lang="en-US">Select the aggregate function and the field name of the numeric field in the list box. You can enter as many aggregate functions as you want, one in each row of controls.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_LSTAGGREGATEFUNCTION_1" id="bm_id4928128" localize="false"/>
+<h3 id="par_idN1055D">Aggregate function</h3>
+<paragraph role="paragraph" id="par_idN105E4" xml-lang="en-US"><ahelp hid=".">Select the aggregate function.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_LSTAGGREGATEFIELDS_1" id="bm_id8988921" localize="false"/>
+<h3 id="par_idN105DD">Field name</h3>
+<paragraph role="paragraph" id="par_idN10656" xml-lang="en-US"><ahelp hid=".">Select the numeric field name.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_BTNAGGREGATEPLUS" id="bm_id2591631" localize="false"/>
+<h3 localize="false" id="par_idN105E7">+</h3>
+<paragraph role="paragraph" id="par_idN105FE" xml-lang="en-US"><ahelp hid=".">Appends a new row of controls.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_BTNAGGREGATEMINUS" id="bm_id3288674" localize="false"/>
+<h3 localize="false" id="par_idN105F1">−</h3>
+<paragraph role="paragraph" id="par_idN1060B" xml-lang="en-US"><ahelp hid=".">Removes the last row of controls.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN1060E" xml-lang="en-US"><link href="text/sdatabase/querywizard05.xhp" name="Query Wizard - Grouping">Query Wizard - Grouping</link></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/querywizard05.xhp b/helpcontent2/source/text/sdatabase/querywizard05.xhp
new file mode 100644
index 000000000..d4c8a5a33
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/querywizard05.xhp
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+ * 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 .
+ -->
+
+
+<meta>
+<topic id="textsharedexplorerdatabasequerywizard05xml" indexer="include">
+<title id="tit" xml-lang="en-US">Query Wizard - Grouping</title>
+<filename>/text/sdatabase/querywizard05.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="grouping">
+<h1 id="par_idN10546"><link href="text/sdatabase/querywizard05.xhp">Query Wizard - Grouping</link></h1>
+<paragraph role="paragraph" id="par_idN10556" xml-lang="en-US">Specifies whether to group the query. The data source must support the SQL statement "Group by clauses" to enable this page of the Wizard.</paragraph>
+</section>
+<embed href="text/shared/autopi/01090100.xhp#available_fields"/>
+<embed href="text/shared/autopi/01090100.xhp#take"/>
+<embed href="text/shared/autopi/01090100.xhp#remove"/>
+<embed href="text/shared/autopi/01090100.xhp#updown"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_LSTFILTERSELFIELDS" id="bm_id1776482" localize="false"/>
+<h2 id="par_idN10589">Group by</h2>
+<paragraph role="paragraph" id="par_idN1058D" xml-lang="en-US"><ahelp hid=".">Displays all fields that are to be used to group the query.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN10590" xml-lang="en-US"><link href="text/sdatabase/querywizard06.xhp" name="Query Wizard - Grouping conditions">Query Wizard - Grouping conditions</link></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/querywizard06.xhp b/helpcontent2/source/text/sdatabase/querywizard06.xhp
new file mode 100644
index 000000000..6d76dcd9e
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/querywizard06.xhp
@@ -0,0 +1,57 @@
+<?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="textsharedexplorerdatabasequerywizard06xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Query Wizard - Grouping Conditions</title>
+<filename>/text/sdatabase/querywizard06.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-06T10:00:57">UFI: new Query Wizard page 6</created>
+</history>
+</meta>
+<body>
+<section id="groupingconditions">
+<h1 id="par_idN10546"><link href="text/sdatabase/querywizard06.xhp">Query Wizard - Grouping Conditions</link></h1>
+<paragraph role="paragraph" id="par_idN10556" xml-lang="en-US">Specifies the conditions to group the query. The data source must support the SQL statement "Group by clauses" to enable this page of the Wizard.</paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_OPTGROUPMATCHALL" id="bm_id8115176" localize="false"/>
+<h2 id="par_idN10559">Match all of the following</h2>
+<paragraph role="paragraph" id="par_idN1055D" xml-lang="en-US"><ahelp hid=".">Select to group the query by all the conditions using a logical AND.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_OPTGROUPMATCHANY" id="bm_id8760948" localize="false"/>
+<h2 id="par_idN10560">Match any of the following</h2>
+<paragraph role="paragraph" id="par_idN10564" xml-lang="en-US"><ahelp hid=".">Select to group the query by any of the conditions using a logical OR.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_LSTFILTERFIELDNAME_1" id="bm_id9920041.00000001" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_LSTFILTERFIELDNAME_2" id="bm_id9279457" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_LSTFILTERFIELDNAME_3" id="bm_id1897946" localize="false"/>
+<h3 id="par_idN10567">Field name</h3>
+<paragraph role="paragraph" id="par_idN1056B" xml-lang="en-US"><ahelp hid=".">Select the field name for the grouping condition.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_LSTFILTEROPERATOR_1" id="bm_id6163823" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_LSTFILTEROPERATOR_2" id="bm_id2742088" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_LSTFILTEROPERATOR_3" id="bm_id465102" localize="false"/>
+<h3 id="par_idN1056E">Condition</h3>
+<paragraph role="paragraph" id="par_idN10572" xml-lang="en-US"><ahelp hid=".">Select the condition for the grouping.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_TXTFILTERVALUE_1" id="bm_id1756340" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_TXTFILTERVALUE_2" id="bm_id8361766" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_TXTFILTERVALUE_3" id="bm_id2075563" localize="false"/>
+<h3 id="par_idN10575">Value</h3>
+<paragraph role="paragraph" id="par_idN10579" xml-lang="en-US"><ahelp hid=".">Enter the value for the grouping condition.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN1057C" xml-lang="en-US"><link href="text/sdatabase/querywizard07.xhp" name="Query Wizard - Aliases">Query Wizard - Aliases</link></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/querywizard07.xhp b/helpcontent2/source/text/sdatabase/querywizard07.xhp
new file mode 100644
index 000000000..b62e10a0e
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/querywizard07.xhp
@@ -0,0 +1,39 @@
+<?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="textsharedexplorerdatabasequerywizard07xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Query Wizard - Aliases</title>
+<filename>/text/sdatabase/querywizard07.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-06T10:12:16">UFI: new Query Wizard page 7</created>
+</history>
+</meta>
+<body>
+<section id="aliases">
+<h1 id="par_idN10543"><link href="text/sdatabase/querywizard07.xhp">Query Wizard - Aliases</link></h1>
+<paragraph role="paragraph" id="par_idN10553" xml-lang="en-US">Assigns aliases to field names. Aliases are optional, and can provide more user-friendly names, which are displayed in place of field names. For example, an alias can be used when fields from different tables have the same name.</paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_TXTTITLE_1" id="bm_id2467421" localize="false"/>
+<h2 id="par_idN10556">Alias</h2>
+<paragraph role="paragraph" id="par_idN1055A" xml-lang="en-US"><ahelp hid=".">Enter the alias for the field name.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN1055D" xml-lang="en-US"><link href="text/sdatabase/querywizard08.xhp" name="Query Wizard - Overview">Query Wizard - Overview</link></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/querywizard08.xhp b/helpcontent2/source/text/sdatabase/querywizard08.xhp
new file mode 100644
index 000000000..a511de4ed
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/querywizard08.xhp
@@ -0,0 +1,48 @@
+<?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="textsharedexplorerdatabasequerywizard08xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Query Wizard - Overview</title>
+<filename>/text/sdatabase/querywizard08.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-06T10:23:58">UFI: new Query Wizard page 8</created>
+</history>
+</meta>
+<body>
+<section id="overview">
+<h1 id="par_idN10543"><link href="text/sdatabase/querywizard08.xhp">Query Wizard - Overview</link></h1>
+<paragraph role="paragraph" id="par_idN10553" xml-lang="en-US">Enter a name of the query, and specify whether you want to display or to modify the query after the Wizard is finished.</paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_TXTQUERYTITLE" id="bm_id3238319" localize="false"/>
+<h2 id="par_idN10556">Name of the query</h2>
+<paragraph role="paragraph" id="par_idN1055A" xml-lang="en-US"><ahelp hid=".">Enter the name of the query.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_OPTDISPLAYQUERY" id="bm_id1403241" localize="false"/>
+<h2 id="par_idN1055D">Display query</h2>
+<paragraph role="paragraph" id="par_idN10561" xml-lang="en-US"><ahelp hid=".">Select to save and display the query.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_OPTMODIFYQUERY" id="bm_id2776268" localize="false"/>
+<h2 id="par_idN10564">Modify query</h2>
+<paragraph role="paragraph" id="par_idN10568" xml-lang="en-US"><ahelp hid=".">Select to save the query and open it for editing.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_QUERYWIZARD_TXTSUMMARY" id="bm_id4912869" localize="false"/>
+<h2 id="par_idN1056B">Overview</h2>
+<paragraph role="paragraph" id="par_idN1056F" xml-lang="en-US"><ahelp hid=".">Displays a summary of the query.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN10572" xml-lang="en-US"><link href="text/sdatabase/querywizard00.xhp" name="Query Wizard">Query Wizard</link></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/rep_datetime.xhp b/helpcontent2/source/text/sdatabase/rep_datetime.xhp
new file mode 100644
index 000000000..72a8dbbb3
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/rep_datetime.xhp
@@ -0,0 +1,43 @@
+<?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="textsharedexplorerdatabaserep_datetimexml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Date and Time</title>
+<filename>/text/sdatabase/rep_datetime.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="hid/.uno:InsertDateTimeField" id="bm_id6520584" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/datetimedialog/DateTimeDialog" id="bm_id6520585" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/datetimedialog/@@nowidget@@" id="bm_id6520585" localize="false"/>
+<h1 id="hd_id2320932"><variable id="rep_datetime"><link href="text/sdatabase/rep_datetime.xhp">Date and Time</link>
+</variable></h1>
+<paragraph role="paragraph" id="par_id8638874" xml-lang="en-US"><ahelp hid=".">You can open the Date and Time dialog of the <link href="text/sdatabase/rep_main.xhp">Report Builder</link> by choosing <item type="menuitem">Insert - Date and Time</item>.</ahelp></paragraph>
+<tip id="par_id6278878">Press <item type="keycode">Shift-F1</item> and point with the mouse at an input box to see a help text for this input box.</tip>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/datetimedialog/date" id="bm_id5607470" localize="false"/><paragraph role="paragraph" id="par_id393078" xml-lang="en-US"><ahelp hid=".">Enable Include Date to insert a date field into the active area of the report. The date field displays the current date when the report is executed.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/datetimedialog/datelistbox" id="bm_id5607471" localize="false"/>
+<paragraph role="paragraph" id="par_id1271401" xml-lang="en-US"><ahelp hid="." visibility="hidden">Select a format to display the date.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/datetimedialog/time" id="bm_id6481215" localize="false"/><paragraph role="paragraph" id="par_id8718832" xml-lang="en-US"><ahelp hid=".">Enable Include Time to insert a time field into the active area of the report. The time field displays the current time when the report is executed.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/datetimedialog/timelistbox" id="bm_id6481216" localize="false"/>
+<paragraph role="paragraph" id="par_id8561052" xml-lang="en-US"><ahelp hid="." visibility="hidden">Select a format to display the time.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id5992919" xml-lang="en-US">Click OK to insert the field.</paragraph>
+<paragraph role="paragraph" id="par_id4320810" xml-lang="en-US">You can click the date or time field and drag to another position within the same area, or edit the properties in the Properties window.</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/rep_insertfield.xhp b/helpcontent2/source/text/sdatabase/rep_insertfield.xhp
new file mode 100644
index 000000000..42a1d582b
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/rep_insertfield.xhp
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+ <!--
+ * 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/.
+ *
+ -->
+
+ <meta>
+ <topic id="ReportInsertField" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Insert Fields</title>
+ <filename>/text/sdatabase/rep_insertfield.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <section id="insertfieldstitle">
+ <bookmark id="bm_id391540562942431" xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_FIELD_SEL" localize="false"/>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id61540566967968">
+ <bookmark_value>insert fields;in report design</bookmark_value>
+ <bookmark_value>add fields;in report design</bookmark_value>
+ <bookmark_value>report design;add fields to report</bookmark_value>
+ </bookmark>
+ <h1 id="hd_id361540562942432"><variable id="addfields"><link href="text/sdatabase/rep_insertfield.xhp" name="Add Fields">Add fields to report</link></variable></h1>
+ <paragraph id="par_id3587145" role="paragraph" xml-lang="en-US"><ahelp hid=".">The Add Field window helps you to insert the table entries in the report.</ahelp></paragraph>
+ </section>
+ <section id="howtoget">
+ <paragraph xml-lang="en-US" id="par_id4503921" role="paragraph">The Add Field window is shown automatically when you have selected a table in the Contents box and leave that box.</paragraph>
+ <paragraph role="paragraph" id="par_id171540674707522" xml-lang="en-US">Choose <item type="menuitem">View - Add Field</item>.</paragraph>
+ <paragraph id="par_id121540674874655" role="paragraph" xml-lang="en-US">Click the Add Field icon on the toolbar.</paragraph>
+ <table id="tab_id721540674874655">
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id991540674901837" xml-lang="en-US">
+ <image src="cmd/lc_addfield.svg" id="img_id621540674901837" width="1.0cm" height="1.0cm"><alt xml-lang="en-US" id="alt_id491540674901837">Add Field icon</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id121540664874655" role="paragraph" xml-lang="en-US">Add Field icon on the toolbar.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ </section>
+ <list type="ordered">
+ <listitem>
+ <paragraph role="paragraph" id="par_id141540563922693" xml-lang="en-US">Select the field in the Add Field dialog and click <emph>Insert</emph>. You can select multiple fields pressing the <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> key while clicking on the fields name or using the Shift key while pressing the mouse button. Click <emph>Insert</emph> in the toolbar to add the fields to the report.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id4051026" role="paragraph">Drag and drop the field names one by one from the Add Field window into the Detail area of the report. Position the fields as you like. Use the icons in the toolbars to align the fields.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3397320" role="paragraph">It is not possible to overlap the fields. If you drop a table field on the Detail area, then a label and a text box are inserted.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3059785" role="paragraph">You can also insert text that should be the same on every page of the report. Click the Label Field icon, then drag a rectangle in the Page Header or Page Footer area. Edit the Label property to show the text you want.</paragraph>
+ </listitem>
+ </list>
+ <table id="tab_id721540674874655">
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id991540874901837" xml-lang="en-US">
+ <image id="img_id5605334" src="cmd/lc_addfield.svg" width="1cm" height="1cm" localize="true"><alt xml-lang="en-US" id="alt_id5605334">Icon</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id121542664874655" role="paragraph" xml-lang="en-US">Add Label Field icon on the toolbar.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <h2 id="hd_id251540563929787">Sorting fields names</h2>
+ <table id="tab_id101540563992664">
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id651540564204840" xml-lang="en-US">
+ <image src="cmd/sc_sortascending.svg" id="img_id631540564204841" width="1.0cm" height="1.0cm"><alt xml-lang="en-US" id="alt_id141540564204841">Sort Ascending icon</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id401540563992665" role="paragraph" xml-lang="en-US">Sort names ascending.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id811540564184191" xml-lang="en-US">
+ <image src="cmd/sc_sortdescending.svg" id="img_id391540564184192" width="1.0cm" height="1.0cm"><alt xml-lang="en-US" id="alt_id571540564184192">Sort Descending icon</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id401540563942665" role="paragraph" xml-lang="en-US">Sort names descending,</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id851540564212907" xml-lang="en-US">
+ <image src="cmd/lc_removefiltersort.svg" id="img_id41540564212907" width="1.0cm" height="1.0cm"><alt xml-lang="en-US" id="alt_id421540564212908">Undo sorting icon</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id401540533942665" role="paragraph" xml-lang="en-US">Restore original sorting</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/rep_main.xhp b/helpcontent2/source/text/sdatabase/rep_main.xhp
new file mode 100644
index 000000000..d592286b6
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/rep_main.xhp
@@ -0,0 +1,237 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+<!--
+ * 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 .
+ -->
+
+<meta>
+ <topic id="textsharedexplorerdatabaserep_mainxml" indexer="include" status="PUBLISH">
+ <title xml-lang="en-US" id="tit">Report Builder</title>
+ <filename>/text/sdatabase/rep_main.xhp</filename>
+ </topic>
+</meta>
+
+<body>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id1614429">
+ <bookmark_value>Report Builder</bookmark_value>
+ <bookmark_value>Oracle Report Builder</bookmark_value>
+ </bookmark>
+ <h1 id="hd_id8773155"><variable id="rep_main"><link href="text/sdatabase/rep_main.xhp">Report Builder</link>
+</variable></h1>
+ <paragraph xml-lang="en-US" id="par_id5248573" role="paragraph">The Report Builder is a tool to create your own database reports. Unlike with the <link href="text/shared/autopi/01100000.xhp">Report Wizard</link>, using the Report Builder you can take control to design the report the way you want. The generated report is a Writer document that you can edit, too.</paragraph>
+ <note id="par_id7128818">To use the Report Builder, the Java Runtime Environment (JRE) software must be installed, and this software must be selected in %PRODUCTNAME.</note>
+ <h2 id="hd_id556047">To install the JRE software</h2>
+ <paragraph xml-lang="en-US" id="par_id4515823" role="paragraph">The Report Builder requires an installed Java Runtime Environment (JRE).</paragraph>
+ <list type="ordered">
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id4044312" role="listitem">Choose <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - %PRODUCTNAME - <link href="text/shared/optionen/java.xhp">Advanced</link>.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id1369060" role="listitem">Wait up to one minute, while %PRODUCTNAME collects information on installed Java software on your system.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id860927" role="listitem">If a recent JRE version is found on your system, you see an entry in the list.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id8581804" role="listitem">Click the option button in front of the entry to enable this JRE version for use in %PRODUCTNAME.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id7730033" role="listitem">Ensure that <emph>Use a Java runtime environment</emph> is enabled.</paragraph>
+ </listitem>
+ </list>
+ <paragraph xml-lang="en-US" id="par_id6317636" role="paragraph">If no JRE version is found on your system, open your web browser and download the JRE software from <link href="http://www.java.com">http://www.java.com</link>. Install the JRE software. Then restart %PRODUCTNAME and open <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - %PRODUCTNAME - Advanced again.</paragraph>
+ <h2 id="hd_id9759514">To open the Report Builder</h2>
+ <list type="ordered">
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id9076509" role="listitem">Open a Base file or create a new database. The database must contain at least one table with at least one data field and a primary key field.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id7050691" role="listitem">Click the Reports icon in the Base window, then choose Create Report in Design View.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id7118747" role="listitem">The Report Builder window opens. </paragraph>
+ </listitem>
+ </list>
+ <paragraph xml-lang="en-US" id="par_id8283639" role="paragraph">The Report Builder is divided into three parts. On the top you see the menu, with the toolbars below.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id2291024" role="paragraph">On the right you see the Properties window with the property values of the currently selected object.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id2100589" role="paragraph">The left part of the Report Builder window shows the Report Builder view. The Report Builder view is initially divided into three sections, from top to bottom:</paragraph>
+ <list type="ordered">
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id5022125" role="listitem">
+ <emph>Page Header</emph> - drag control fields with fixed text into the Page Header area</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id6844386" role="listitem">
+ <emph>Detail</emph> - drag and drop database fields into the Detail area</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id7018646" role="listitem">
+ <emph>Page Footer</emph> - drag control fields with fixed text into the Page Footer area</paragraph>
+ </listitem>
+ </list>
+ <paragraph xml-lang="en-US" id="par_id5857112" role="paragraph">To insert an additional <emph>Report Header</emph> and <emph>Report Footer</emph> area choose <item type="menuitem">Edit - Insert Report Header/Footer</item>. These areas contain text that appears at the start and end of the whole report.</paragraph><comment>id="par_id2685323" If you want a multi-column report, choose Format - Page, click the Columns tab, and set the number of columns. Now you can also specify a Column Header and Column Footer in the Report Builder view.</comment><comment>column header/footer</comment>
+<paragraph xml-lang="en-US" id="par_id6042664" role="paragraph">Click the "-" icon in front of an area name to collapse that area to one line in the Report Builder view. The "-" icon changes to a "+" icon, and you can click this to expand the area again.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id1589098" role="paragraph">You insert database fields by drag-and-drop into the Detail area. See the section "To insert fields into the report" below.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id1278420" role="paragraph">In addition, you can click the Label Field or Text Box icon in the toolbar, then drag a rectangle in the Page Header or Page Footer area, to define a text that is the same on all pages. You enter the text in the Label box of the corresponding Properties window. You can also add graphics by using the Graphics icon.</paragraph>
+ <h2 id="par_id7479476">To connect the report to a database table</h2>
+ <list type="ordered">
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id2218390" role="listitem">Move the mouse to the Properties view. You see two tab pages General and Data.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id7771538" role="listitem">On the Data tab page, click Content to open the combo box.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id366527" role="listitem">Select the table for that you want to create the report.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id7996459" role="listitem">After selecting the table, press the Tab key to leave the Content box.</paragraph>
+ </listitem>
+ </list>
+ <paragraph xml-lang="en-US" id="par_id2531815" role="paragraph">The <link href="text/sdatabase/rep_insertfield.xhp" name="add_fields_link">Add fields to report</link> window opens automatically and shows all fields of the selected table.</paragraph>
+ <embed href="text/sdatabase/rep_insertfield.xhp#insertfieldstitle"/>
+ <comment>Align at Section toolbar</comment>
+<bookmark xml-lang="en-US" branch="hid/.uno:SectionAlignLeft" id="bm_id7889950" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id7657399" role="paragraph"><ahelp hid="." visibility="hidden">Select two or more objects and click this icon to align the objects at the left margin of the area.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:SectionAlignRight" id="bm_id3236182" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id8925138" role="paragraph"><ahelp hid="." visibility="hidden">Select two or more objects and click this icon to align the objects at the right margin of the area.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:SectionAlignTop" id="bm_id1251258" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id5461897" role="paragraph"><ahelp hid="." visibility="hidden">Select two or more objects and click this icon to align the objects at the top margin of the area.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:SectionAlignBottom" id="bm_id8111819" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id8919339" role="paragraph"><ahelp hid="." visibility="hidden">Select two or more objects and click this icon to align the objects at the bottom margin of the area.</ahelp></paragraph><comment>Object Resizing toolbar</comment>
+<bookmark xml-lang="en-US" branch="hid/.uno:SmallestWidth" id="bm_id9116794" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id4634235" role="paragraph"><ahelp hid="." visibility="hidden">Select two or more objects and click this icon to resize the objects to the smallest width.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:SmallestHeight" id="bm_id4381847" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id1393475" role="paragraph"><ahelp hid="." visibility="hidden">Select two or more objects and click this icon to resize the objects to the smallest height.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:GreatestWidth" id="bm_id1336710" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id6571550" role="paragraph"><ahelp hid="." visibility="hidden">Select two or more objects and click this icon to resize the objects to the greatest width.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:GreatestHeight" id="bm_id1221655" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id5376140" role="paragraph"><ahelp hid="." visibility="hidden">Select two or more objects and click this icon to resize the objects to the greatest height.</ahelp></paragraph><comment>Report Controls toolbar</comment>
+<bookmark xml-lang="en-US" branch="hid/.uno:HFixedLine" id="bm_id4408093" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id9611499" role="paragraph"><ahelp hid="." visibility="hidden">Inserts a horizontal line to the current area.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:VFixedLine" id="bm_id6949369" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id6765953" role="paragraph"><ahelp hid="." visibility="hidden">Inserts a vertical line to the current area.</ahelp></paragraph><comment>Shrink toolbar</comment>
+<bookmark xml-lang="en-US" branch="hid/.uno:SectionShrink" id="bm_id040920092222313" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id0409200922242612" role="paragraph"><ahelp hid="." visibility="hidden">Shrinks the selected section to remove top and bottom empty space.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:SectionShrinkTop" id="bm_id0409200922231489" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id0409200922242617" role="paragraph"><ahelp hid="." visibility="hidden">Shrinks the selected section to remove top empty space.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:SectionShrinkBottom" id="bm_id040920092223576" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id0409200922242661" role="paragraph"><ahelp hid="." visibility="hidden">Shrinks the selected section to remove bottom empty space.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="par_id1511581" role="paragraph">After inserting fields in the Detail view, the report is ready for execution.</paragraph>
+ <h2 id="par_id4881740">To execute a report</h2>
+ <paragraph xml-lang="en-US" id="par_id8286385" role="paragraph">Click the Execute Report icon on the toolbar.</paragraph>
+ <section id="executereporticon">
+<table id="tab_id401642784887817">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id341642784887818" role="paragraph">
+ <image src="cmd/sc_executereport.svg" id="img_id181642784887819" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id561642784887821">Execute Report icon</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id71642784887822" role="paragraph" xml-lang="en-US">Execute Report icon</paragraph>
+ </tablecell>
+ </tablerow>
+</table>
+</section>
+ <paragraph xml-lang="en-US" id="par_id2354197" role="paragraph">A Writer document opens and shows the report you have created, which contains all values of the database table which you have insert.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id2485122" role="paragraph">If the database contents did change, execute the report again to update the result report.<comment>automatic? message?</comment></paragraph>
+ <h2 id="hd_id8746910">To edit a report</h2>
+ <paragraph xml-lang="en-US" id="par_id9636524" role="paragraph">First decide if you want to edit the generated report, which is a static Writer document, or if you want to edit the Report Builder view and then generate a new report based on the new design.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id5941648" role="paragraph">The Writer document is opened read-only. To edit the Writer document, click <emph>Edit Document</emph> on the information bar, or choose <emph>Edit - Edit Mode</emph>.<comment>saved automatically with the Base file?</comment></paragraph>
+ <paragraph xml-lang="en-US" id="par_id8307138" role="paragraph">If you want to edit the Report Builder view, you can change some of its properties.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id7138889" role="paragraph">Click in the Details area. Then in the Properties window, change some properties, for example the background color.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id9869380" role="paragraph">After finishing, click the Execute Report icon
+ to create a new report.</paragraph>
+<embed href="text/sdatabase/rep_main.xhp#executereporticon"/>
+ <paragraph xml-lang="en-US" id="par_id12512" role="paragraph">If you close the Report Builder, you will be asked if the report should be saved. Click Yes, give the report a name, and click OK.<comment>report part of Base file?</comment></paragraph>
+ <h2 id="par_id2676168">Sorting the report</h2>
+ <paragraph xml-lang="en-US" id="par_id2626422" role="paragraph">Without sorting or grouping, the records will be inserted into the report in the order in which they are retrieved from the database.</paragraph>
+ <list type="ordered">
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id1743827" role="listitem">Open the Report Builder view and click the Sorting and Grouping icon on the toolbar. You see the <link href="text/sdatabase/rep_sort.xhp">Sorting and Grouping</link> dialog.</paragraph>
+ </listitem>
+ </list>
+ <table id="tab_id231642785406291">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id241642785406292" role="paragraph">
+ <image id="img_id9557786" src="cmd/sc_dbsortingandgrouping.svg" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id9557786">Icon Sort and Grouping</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id81642785406296" role="paragraph" xml-lang="en-US">Icon Sort and Grouping</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <list type="ordered" startwith="2">
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id4331797" role="listitem">In the Groups box, click the field which you want as the first sort field, and set the Sorting property.<comment>what meaning has the order of fields / move up down button?</comment></paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id4191717" role="listitem">Execute the report.</paragraph>
+ </listitem>
+ </list>
+ <h2 id="par_id2318796">Grouping</h2>
+ <list type="ordered">
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id399182" role="listitem">Open the Report Builder view and click the Sorting and Grouping icon on the toolbar. You see the <link href="text/sdatabase/rep_sort.xhp">Sorting and Grouping</link> dialog.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id7588732" role="listitem">In the Groups box, open the Group Header list box and select to show a group header.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id95828" role="listitem">Click the Add Field icon to open the Add Field window.</paragraph>
+ </listitem>
+ </list>
+ <table id="tab_id571642785710910">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id911642785710911" role="paragraph">
+ <image id="Graphic3" src="cmd/sc_addfield.png" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_">Icon Add Field</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id831642785710915" role="paragraph" xml-lang="en-US">Icon Add Field</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <list type="ordered" startwith="4">
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id5675527" role="listitem">Drag-and-drop the field entry that you want to group into the group header section. Then drag-and-drop the remaining fields into the Detail section.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3496200" role="listitem">Execute the report. The report shows the grouped records.</paragraph>
+ </listitem>
+ </list>
+ <paragraph xml-lang="en-US" id="par_id7599108" role="paragraph">If you like to sort and group, open the Report Builder view, then open the Sorting and Grouping dialog. Select to show a Group Header for the fields that you want to group, and select to hide the Group Header for the fields that you want to be sorted. Close the Sorting and Grouping window and execute the report.</paragraph>
+ <h2 id="par_id888698">Updating and printing your data</h2>
+ <paragraph xml-lang="en-US" id="par_id3394573" role="paragraph">When you insert some new data or edit data in the table, a new report will show the updated data.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id7594225" role="paragraph">Click the Reports icon and double-click your last saved report. A new Writer document will be created which shows the new data.</paragraph>
+ <table id="tab_id221642785888795">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id191642785888796" role="paragraph">
+ <image id="img_id4678487" src="dbaccess/res/reports_32.png" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id4678487">Icon Reports</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id701642785888800" role="paragraph" xml-lang="en-US">Icon Reports</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <paragraph xml-lang="en-US" id="par_id8147221" role="paragraph">To print a report, choose <item type="menuitem">File - Print</item> from the Writer document.</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/rep_navigator.xhp b/helpcontent2/source/text/sdatabase/rep_navigator.xhp
new file mode 100644
index 000000000..3ab5bfaa2
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/rep_navigator.xhp
@@ -0,0 +1,70 @@
+<?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="textsharedexplorerdatabaserep_navigatorxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Report Navigator</title>
+<filename>/text/sdatabase/rep_navigator.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id5823847"><bookmark_value>formulas in reports;editing</bookmark_value>
+<bookmark_value>functions in reports;editing</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/.uno:ReportNavigator" id="bm_id8798791" localize="false"/><h1 id="hd_id1821955"><variable id="rep_navigator"><link href="text/sdatabase/rep_navigator.xhp">Report Navigator</link>
+</variable></h1>
+<paragraph role="paragraph" id="par_id1150852" xml-lang="en-US">You can open the Report Navigator window of the <link href="text/sdatabase/rep_main.xhp">Report Builder</link> by choosing <item type="menuitem">View - Report Navigator</item>.</paragraph>
+<paragraph role="paragraph" id="par_id1111484" xml-lang="en-US"><ahelp hid=".">The Report Navigator reveals the structure of the report. You can use the Report Navigator to insert functions into the report.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_REPORT_NAVIGATOR_TREE" id="bm_id7007354" localize="false"/><paragraph role="paragraph" id="par_id8314157" xml-lang="en-US"><ahelp hid=".">Click an entry in the Report Navigator. The corresponding object or area is selected in the Report Builder view. Right-click an entry to open the context menu.</ahelp></paragraph>
+<h2 id="hd_id2932828">To enter functions to the report</h2>
+<bookmark xml-lang="en-US" branch="hid/.uno:NewFunction" id="bm_id974456" localize="false"/><paragraph role="paragraph" id="par_id5091708" xml-lang="en-US"><ahelp hid=".">In the context menu of the Report Navigator, you see the same commands as in the Report Builder view, plus additional commands to create new functions or to delete them.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id9449446" xml-lang="en-US">Functions can be entered using a syntax as specified by the <link href="https://en.wikipedia.org/wiki/OpenFormula" name="English Wikipedia: OpenFormula">OpenFormula</link> proposal.</paragraph>
+<paragraph role="paragraph" id="par_id4095583" xml-lang="en-US">See <link href="https://wiki.documentfoundation.org/Database" name="wiki.documentfoundation.org Database">Wiki page about Base</link> for some more help regarding the functions in a report.</paragraph>
+<h3 id="hd_id311593">To calculate a sum for each client<comment>copied from a mail by Ocke - did not test</comment></h3>
+<list type="ordered">
+<listitem>
+<paragraph role="paragraph" id="par_id3948789" xml-lang="en-US">Open the Report Navigator.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id5391399" xml-lang="en-US">Open the Groups entry and the group where you want to calculate the cost. </paragraph>
+<paragraph role="paragraph" id="par_id6989654" xml-lang="en-US">The group has a sub entry called functions. </paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id1803643" xml-lang="en-US">Open the context menu (right click) on the functions entry, choose to create a new function, and select it. </paragraph>
+<paragraph role="paragraph" id="par_id868251" xml-lang="en-US">In the property browser you see the function. </paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id6247749" xml-lang="en-US">Change the name to e.g. CostCalc and the formula to [CostCalc] + [enter your cost column name].</paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id1565904" xml-lang="en-US">In the initial value enter 0.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id1569261" xml-lang="en-US">Now you can insert a text field and bind it to your [CostCalc] (appears in the data field list box).</paragraph>
+</listitem>
+</list>
+<paragraph role="paragraph" id="par_id9256874" xml-lang="en-US">Maybe you have to set the initial value to the value of the field like [field].<comment>these 3 paras copied from another mail by Ocke in users@dba.o.o</comment></paragraph>
+<paragraph role="paragraph" id="par_id4601886" xml-lang="en-US">If there are blank fields in the cost column, use the following formula to replace the blank fields' content with zero:</paragraph>
+<paragraph role="code" id="par_id1754509" xml-lang="en-US">[SumCost] + IF(ISBLANK([field]);0;[field])</paragraph><comment>need some real working examples. See i81874</comment><comment>Formula</comment>
+<bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_FORMULA" id="bm_id2767113" localize="false"/><paragraph role="paragraph" id="par_id8122196" xml-lang="en-US"><ahelp hid="." visibility="hidden">Enter the formula that defines the function. Use OpenFormula syntax.</ahelp></paragraph><comment>Initial value</comment>
+<bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_INITIALFORMULA" id="bm_id301828" localize="false"/><paragraph role="paragraph" id="par_id9909665" xml-lang="en-US"><ahelp hid="." visibility="hidden">Enter the initial value for the evaluation of the formula. Often this is set to 0 or to 1.</ahelp></paragraph><comment>Deep traversing</comment>
+<bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_DEEPTRAVERSING" id="bm_id8996246" localize="false"/><paragraph role="paragraph" id="par_id9141819" xml-lang="en-US"><ahelp hid="." visibility="hidden">If Deep traversing is enabled, functions are evaluated considering all lower levels of hierarchy. This would be used for instance for line numbering. If Deep traversing is not enabled, only the first level of hierarchy is evaluated.</ahelp></paragraph><comment>Pre evaluation</comment>
+<bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_PREEVALUATED" id="bm_id5729544" localize="false"/><paragraph role="paragraph" id="par_id6354869" xml-lang="en-US"><ahelp hid="." visibility="hidden">If Pre evaluation is enabled, functions are evaluated only when the report is finished.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/rep_pagenumbers.xhp b/helpcontent2/source/text/sdatabase/rep_pagenumbers.xhp
new file mode 100644
index 000000000..b6a4cb6b1
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/rep_pagenumbers.xhp
@@ -0,0 +1,52 @@
+<?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="textsharedexplorerdatabaserep_pagenumbersxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Page Numbers </title>
+<filename>/text/sdatabase/rep_pagenumbers.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/pagenumberdialog/PageNumberDialog" id="bm_id7565844" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/pagenumberdialog/@@nowidget@@" id="bm_id7565844" localize="false"/>
+<h1 id="hd_id3674123"><variable id="rep_pagenumbers"><link href="text/sdatabase/rep_pagenumbers.xhp">Page Numbers</link>
+</variable></h1>
+<paragraph role="paragraph" id="par_id3424481" xml-lang="en-US"><ahelp hid=".">You can open the Page Numbers dialog of the <link href="text/sdatabase/rep_main.xhp">Report Builder</link> by choosing <item type="menuitem">Insert - Page Numbers</item>.</ahelp></paragraph>
+<tip id="par_id1068758">Press <item type="keycode">Shift-F1</item> and point with the mouse at an input box to see a help text for this input box.</tip>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/pagenumberdialog/pagen" id="bm_id7565843" localize="false"/><paragraph role="paragraph" id="par_id1559190" xml-lang="en-US"><ahelp hid="." visibility="hidden">Page N</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/pagenumberdialog/pagenofm" id="bm_id6649372" localize="false"/><paragraph role="paragraph" id="par_id9879146" xml-lang="en-US"><ahelp hid="." visibility="hidden">Page N of M</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/pagenumberdialog/toppage" id="bm_id7334208" localize="false"/><paragraph role="paragraph" id="par_id9404278" xml-lang="en-US"><ahelp hid="." visibility="hidden">Top of Page (Header)</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/pagenumberdialog/bottompage" id="bm_id8313852" localize="false"/><paragraph role="paragraph" id="par_id7626880" xml-lang="en-US"><ahelp hid="." visibility="hidden">Bottom of Page (Footer)</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/pagenumberdialog/alignment" id="bm_id8829309" localize="false"/><paragraph role="paragraph" id="par_id6124149" xml-lang="en-US"><ahelp hid="." visibility="hidden">Alignment</ahelp></paragraph>
+<list type="unordered">
+<listitem>
+<paragraph role="paragraph" id="par_id8257087" xml-lang="en-US">Select the format for the page numbers, either "Page N" or "Page N of M", where N stands for the current page number, and M for the total number of pages in the report.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id3479415" xml-lang="en-US">Select to show the page numbers in the Page Header area or in the Page Footer area.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id4441663" xml-lang="en-US">Select an alignment. By default the page numbers are centered between the left and right margins. You can align the field to the left or right. You can also select Inside to print page number on odd pages on the left side and even page numbers on the right side. Select Outside for the opposite alignment.</paragraph>
+</listitem>
+</list>
+<paragraph role="paragraph" id="par_id3012176" xml-lang="en-US">When you click OK, a data field for the page numbers is inserted. If no header or footer area exist, the area will be created as needed.</paragraph>
+<paragraph role="paragraph" id="par_id8532670" xml-lang="en-US">You can click the data field and drag to another position within the same area, or edit the properties in the Properties window.</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/rep_prop.xhp b/helpcontent2/source/text/sdatabase/rep_prop.xhp
new file mode 100644
index 000000000..83736e6ac
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/rep_prop.xhp
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+<!--
+ * 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 .
+-->
+
+<meta>
+ <topic id="textsharedexplorerdatabaserep_propxml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Properties </title>
+ <filename>/text/sdatabase/rep_prop.xhp</filename>
+ </topic>
+</meta>
+
+<body>
+ <h1 id="hd_id8836939"><variable id="rep_prop"><link href="text/sdatabase/rep_prop.xhp">Properties</link></variable></h1>
+ <paragraph id="par_id2711264" role="paragraph">The Properties window of the <link href="text/sdatabase/rep_main.xhp">Report Builder</link> always shows the properties of the currently selected object in the Report Builder view.</paragraph>
+ <tip id="par_id1080660">Press Shift-F1 and point with the mouse at an input box to see a help text for this input box.</tip>
+ <paragraph id="par_id7175817" role="paragraph">On first start of the Report Builder, the Properties window shows the <emph>Data</emph> tab page for the whole report.</paragraph>
+ <paragraph id="par_id9895931" role="paragraph">Select a table from the Contents list, then press Tab or click outside the input box to leave the input box.</paragraph>
+ <paragraph id="par_id3587145" role="paragraph"><ahelp hid=".">The <link href="text/sdatabase/rep_insertfield.xhp" name="add_fields_link">Add fields to report</link> window is shown automatically when you have selected a table in the Contents box and leave that box. You can also click the Add Field icon on the toolbar, or choose <item type="menuitem">View - Add Field</item>.</ahelp></paragraph>
+ <paragraph id="par_id6993926" role="paragraph">The <emph>General</emph> tab page can be used to change the name of the report, and to disable the Page Header or Page Footer areas, among others.</paragraph>
+ <bookmark xml-lang="en-US" branch="hid/.uno:SelectReport" id="bm_id9044770" localize="false"/>
+ <tip id="par_id3729361"><ahelp hid=".">To display the <emph>Data</emph> or <emph>General</emph> tab page for the whole report, choose <item type="menuitem">Edit - Select All - Select Report</item>.</ahelp></tip>
+ <bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_GROUPKEEPTOGETHER" id="bm_id5392315" localize="false"/>
+ <paragraph id="par_id1768852" role="paragraph"><ahelp hid="." visibility="hidden">Groups are kept together by page or by column (default). You must enable Keep Together also.</ahelp></paragraph><comment>Page header</comment>
+ <bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_PAGEHEADEROPTION" id="bm_id7852412" localize="false"/>
+ <paragraph id="par_id6304818" role="paragraph"><ahelp hid="." visibility="hidden">Specifies in which context the page header will be printed: on all pages, or not on pages with a report header or footer.</ahelp></paragraph><comment>Page footer</comment>
+ <bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_PAGEFOOTEROPTION" id="bm_id9031952" localize="false"/>
+ <paragraph id="par_id401623" role="paragraph"><ahelp hid="." visibility="hidden">Specifies in which context the page footer will be printed: on all pages, or not on pages with a report header or footer</ahelp></paragraph><comment>Print repeated values</comment>
+ <bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_PRINTREPEATEDVALUES" id="bm_id7956785" localize="false"/>
+ <paragraph id="par_id2162236" role="paragraph"><ahelp hid="." visibility="hidden">Specifies to print repeated values.</ahelp></paragraph>
+ <paragraph id="par_id7022003" role="paragraph">If you click the Page Header or Page Footer area without selecting any object, you see the <emph>General</emph> tab page for that area.</paragraph>
+ <paragraph id="par_id7004303" role="paragraph">You can edit some visual properties for the area.<comment>screen only or also in report?</comment></paragraph><comment>Background color</comment>
+ <bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_BACKCOLOR" id="bm_id9801324" localize="false"/>
+ <paragraph id="par_id2561723" role="paragraph"><ahelp hid="." visibility="hidden">Sets the background color for the selected object, both on screen and for printing.</ahelp></paragraph><comment>Visible</comment>
+ <bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_VISIBLE" id="bm_id7446516" localize="false"/>
+ <paragraph id="par_id1064485" role="paragraph"><ahelp hid="." visibility="hidden">An invisible object is not shown in the executed report. It is still visible in the Report Builder view.</ahelp></paragraph><comment>Height</comment>
+ <bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_RPT_HEIGHT" id="bm_id8859828" localize="false"/>
+ <paragraph id="par_id2356028" role="paragraph"><ahelp hid="." visibility="hidden">Defines the height of the selected object.</ahelp></paragraph><comment>Conditional Print Expression</comment>
+ <bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_CONDITIONALPRINTEXPRESSION" id="bm_id4359874" localize="false"/>
+ <paragraph id="par_id1404461" role="paragraph"><ahelp hid=".">If the Conditional Print Expression evaluates to TRUE, the selected object will be printed.</ahelp></paragraph><comment>id="par_id2386852" Conditions use the following form:</comment><comment>Background transparent</comment>
+ <bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_BACKTRANSPARENT" id="bm_id5689565" localize="false"/>
+ <paragraph id="par_id7404705" role="paragraph"><ahelp hid="." visibility="hidden">Specifies whether the background of the selected object is transparent or opaque.</ahelp><comment>just guessing</comment></paragraph>
+ <paragraph id="par_id7466963" role="paragraph">If you click the <emph>Detail</emph> area without selecting any object, you see the <emph>General</emph> tab page for that area.</paragraph>
+ <paragraph id="par_id3644215" role="paragraph">You can specify some properties to fine-tune the way the records are printed.</paragraph><comment>Force New Page</comment>
+ <bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_FORCENEWPAGE" id="bm_id66225" localize="false"/>
+ <paragraph id="par_id3148899" role="paragraph"><ahelp hid="." visibility="hidden">Force New Page specifies whether the current section and/or the next section is printed on a new page.</ahelp></paragraph><comment>New Row Or Column</comment>
+ <bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_NEWROWORCOL" id="bm_id3920102" localize="false"/>
+ <paragraph id="par_id6164433" role="paragraph"><ahelp hid="." visibility="hidden">New Row Or Column specifies, for a multi-column design, whether the current section and/or the next section will be printed on a new row or column.</ahelp></paragraph><comment>Keep together</comment>
+ <bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_KEEPTOGETHER" id="bm_id8053529" localize="false"/>
+ <paragraph id="par_id7405011" role="paragraph"><ahelp hid="." visibility="hidden">Keep Together specifies to print the current object starting on top of a new page if it doesn't fit on the current page.</ahelp></paragraph>
+ <paragraph id="par_id1536606" role="paragraph">Insert some data fields into the Detail area, or insert other control fields into any area. When you select an inserted field, you can set the properties in the Properties window.</paragraph>
+ <paragraph id="par_id9631641" role="paragraph">For a Label field, you can change the displayed text in the Label input box.</paragraph>
+ <bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_PRESERVEIRI" id="bm_id7422711" localize="false"/>
+ <paragraph id="par_id7749565" role="paragraph"><ahelp hid=".">For a picture, you can specify to either insert the picture as a link to a file or only as an embedded object in the Base file. The embedded option increases the size of the Base file, while the link option is not as portable to other computers.</ahelp></paragraph><comment>Position x</comment>
+ <bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_RPT_POSITIONX" id="bm_id6006958" localize="false"/>
+ <paragraph id="par_id4041871" role="paragraph"><ahelp hid="." visibility="hidden">Set the X Position for the selected object</ahelp><comment>x in pixel or twips? or current measurement units? from origin as on ruler? from elsewhere?</comment></paragraph><comment>Position y</comment>
+ <bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_RPT_POSITIONY" id="bm_id7606128" localize="false"/>
+ <paragraph id="par_id9930722" role="paragraph"><ahelp hid="." visibility="hidden">Set the Y Position for the selected object</ahelp></paragraph><comment>Width</comment>
+ <bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_RPT_WIDTH" id="bm_id5778374" localize="false"/>
+ <paragraph id="par_id5749687" role="paragraph"><ahelp hid="." visibility="hidden">Sets the width of the selected object.</ahelp></paragraph><comment>Font</comment>
+ <bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_RPT_FONT" id="bm_id3184301" localize="false"/>
+ <paragraph id="par_id79348" role="paragraph"><ahelp hid="." visibility="hidden">Select the font for the selected text object.</ahelp></paragraph><comment>Print when group change</comment>
+ <bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_PRINTWHENGROUPCHANGE" id="bm_id2129276" localize="false"/>
+ <paragraph id="par_id2414014" role="paragraph"><ahelp hid="." visibility="hidden">Print when group change</ahelp></paragraph><comment>Vert. Alignment</comment>
+ <bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_VERTICAL_ALIGN" id="bm_id9719229" localize="false"/>
+ <paragraph id="par_id7617114" role="paragraph"><ahelp hid="." visibility="hidden">Vert. Alignment</ahelp></paragraph>
+ <paragraph id="par_id1593676" role="paragraph">On the <emph>General</emph> tab page of a data field, you can set the Formatting properties, among others.</paragraph>
+ <bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_PROP_DATAFIELD" id="bm_id3860896" localize="false"/>
+ <paragraph id="par_id1243629" role="paragraph"><ahelp hid=".">On the Data tab page, you can change the data contents to be shown.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/rep_sort.xhp b/helpcontent2/source/text/sdatabase/rep_sort.xhp
new file mode 100644
index 000000000..98af2ca39
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/rep_sort.xhp
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+ * 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 .
+ -->
+
+
+<meta>
+ <topic id="textsharedexplorerdatabaserep_sortxml" indexer="include" status="PUBLISH">
+ <title xml-lang="en-US" id="tit">Sorting and Grouping</title>
+ <filename>/text/sdatabase/rep_sort.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <section id="sort">
+<bookmark xml-lang="en-US" branch="hid/.uno:DbSortingAndGrouping" id="bm_id9569078" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/floatingsort/FloatingSort" id="bm_id9569079" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/floatingsort/@@nowidget@@" id="bm_id9569079" localize="false"/>
+<h1 id="hd_id3486434"><variable id="rep_sort"><link href="text/sdatabase/rep_sort.xhp">Sorting and Grouping</link>
+</variable></h1>
+ <paragraph xml-lang="en-US" id="par_id3068636" role="paragraph"><ahelp hid=".">In the Sorting and Grouping dialog of <link href="text/sdatabase/rep_main.xhp">Report Builder</link>, you can define the fields that should be sorted in your report, and the fields that should be kept together to form a group.</ahelp> If you group your report by a certain field, all records with the same value of that field will be kept together in one group.</paragraph>
+ </section>
+ <paragraph xml-lang="en-US" id="par_id876186" role="paragraph">The Groups box shows the fields in an order from top to bottom. You can select any field, then click the Move Up or Move Down button to move this field up or down in the list. </paragraph>
+ <paragraph xml-lang="en-US" id="par_id3939634" role="paragraph">The sorting and grouping will be applied in the order of the list from top to bottom.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/floatingsort/box" id="bm_id2480849" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id599688" role="paragraph"><ahelp hid="." visibility="hidden">Lists the fields that will be used for sorting or grouping. The field at the top has the highest priority, the second field has the second priority, and so on.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/REPORTDESIGN_HID_RPT_FIELDEXPRESSION" id="bm_id4181951" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id1371501" role="paragraph"><ahelp hid="." visibility="hidden">Click to open a list from which you can select a field.</ahelp></paragraph>
+<!-- removed HID 2114727444 -->
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/floatingsort/up" id="bm_id2927436" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id4661702" role="paragraph"><ahelp hid="." visibility="hidden">Moves the selected field up in the list.</ahelp></paragraph>
+<!-- removed HID 2114727445 -->
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/floatingsort/down" id="bm_id2107304" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id7868892" role="paragraph"><ahelp hid="." visibility="hidden">Moves the selected field down in the list.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/floatingsort/sorting" id="bm_id4071779" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id2188787" role="paragraph"><ahelp hid="." visibility="hidden">Select the sorting order.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/floatingsort/header" id="bm_id7844477" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id5833307" role="paragraph"><ahelp hid="." visibility="hidden">Select to show or hide the Group Header.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/floatingsort/footer" id="bm_id6478469" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id7726676" role="paragraph"><ahelp hid="." visibility="hidden">Select to show or hide the Group Footer.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/floatingsort/group" id="bm_id9038972" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id3729361" role="paragraph"><ahelp hid="." visibility="hidden">Select to create a new group on each changed value, or on other properties.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/floatingsort/delete" id="bm_id9038973" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id0409200922142041" role="paragraph"><ahelp hid="." visibility="hidden">Removes the selected field from the list.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3405560" role="paragraph">By default a new group is created on every changed value of a record from the selected field. You can change this property depending on the type of field:</paragraph>
+ <list type="ordered">
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3409527" role="paragraph">For fields of type Text, you can select Prefix Characters and enter a number n of characters in the text box below. The records which are identical in the first n characters will be grouped together.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id7112338" role="paragraph">For fields of type Date/Time, you can group the records by the same year, quarter, month, week, day, hour, or minute. You can additionally specify an interval for weeks and hours: 2 weeks groups data in biweekly groups, 12 hours groups data in half-day groups.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id2855616" role="paragraph">For fields of type AutoNumber, Currency, or Number, you specify an interval.<comment>how?</comment></paragraph>
+ </listitem>
+ </list>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/floatingsort/interval" id="bm_id7985168" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id7700430" role="paragraph"><ahelp hid="." visibility="hidden">Enter the group interval value that records are grouped by.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/modules/dbreport/ui/floatingsort/keep" id="bm_id9573961" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id1180455" role="paragraph"><ahelp hid="." visibility="hidden">Select the level of detail by which a group is kept together on the same page.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="par_id2091433" role="paragraph">When you specify to keep together some records on the same page, you have three choices:</paragraph>
+ <list type="ordered">
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id5092318" role="paragraph">No - page boundaries are not taken into account.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id9312417" role="paragraph">Whole Group - prints the group header, detail section, and group footer on the same page.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id9089022" role="paragraph">With First Detail - prints the group header on a page only if the first detail record also can be printed on the same page.</paragraph>
+ </listitem>
+ </list>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/tablewizard00.xhp b/helpcontent2/source/text/sdatabase/tablewizard00.xhp
new file mode 100644
index 000000000..fd8c0b9eb
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/tablewizard00.xhp
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+ * 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 .
+ -->
+
+
+<meta>
+<topic id="textsharedexplorerdatabasetablewizard00xml" indexer="include">
+<title id="tit" xml-lang="en-US">Table Wizard</title>
+<filename>/text/sdatabase/tablewizard00.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="tablewizard">
+<bookmark xml-lang="en-US" branch="index" id="bm_id6009094"><bookmark_value>wizards;database tables (Base)</bookmark_value>
+<bookmark_value>Table Wizard (Base)</bookmark_value>
+</bookmark><comment>mw added "(Base)" to all entries</comment>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_DIALOG" id="bm_id406201" localize="false"/>
+<h1 id="par_idN1054C"><link href="text/sdatabase/tablewizard00.xhp">Table Wizard</link></h1>
+<paragraph role="paragraph" id="par_idN1055C" xml-lang="en-US"><ahelp hid=".">The Table Wizard helps you to create a database table.</ahelp></paragraph>
+</section>
+<embed href="text/sdatabase/tablewizard01.xhp#selecttable"/>
+<embed href="text/sdatabase/tablewizard02.xhp#settype"/>
+<embed href="text/sdatabase/tablewizard03.xhp#setprimary"/>
+<embed href="text/sdatabase/tablewizard04.xhp#createtable"/>
+<embed href="text/shared/00/00000001.xhp#back"/>
+<embed href="text/shared/00/00000001.xhp#next"/>
+<embed href="text/shared/00/00000001.xhp#finish"/>
+<embed href="text/shared/00/00000001.xhp#cancel"/>
+<paragraph role="paragraph" id="par_idN105AF" xml-lang="en-US"><link href="text/sdatabase/tablewizard01.xhp" name="Table Wizard - Select fields">Table Wizard - Select fields</link></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/tablewizard01.xhp b/helpcontent2/source/text/sdatabase/tablewizard01.xhp
new file mode 100644
index 000000000..d039a58e7
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/tablewizard01.xhp
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+ * 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 .
+ -->
+
+
+<meta>
+<topic id="textsharedexplorerdatabasetablewizard01xml" indexer="include">
+<title id="tit" xml-lang="en-US">Table Wizard - Select Fields</title>
+<filename>/text/sdatabase/tablewizard01.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="selecttable">
+<h1 id="par_idN10546"><link href="text/sdatabase/tablewizard01.xhp">Table Wizard - Select Fields</link></h1>
+<paragraph role="paragraph" id="par_idN10556" xml-lang="en-US">Select fields from the provided sample tables as a starting point to create your own table.</paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_OPTBUSINESS" id="bm_id9071932" localize="false"/>
+<h2 id="par_idN10559">Business</h2>
+<paragraph role="paragraph" id="par_idN1055D" xml-lang="en-US"><ahelp hid=".">Select the business category to see only business sample tables.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_OPTPRIVATE" id="bm_id5322428" localize="false"/>
+<h2 id="par_idN10560">Private</h2>
+<paragraph role="paragraph" id="par_idN10564" xml-lang="en-US"><ahelp hid=".">Select the private category to see only private sample tables.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_LBTABLES" id="bm_id7499008" localize="false"/>
+<h2 id="par_idN10567">Sample tables</h2>
+<paragraph role="paragraph" id="par_idN1056B" xml-lang="en-US"><ahelp hid=".">Select one of the sample tables. Then select fields from that table from the left list box. Repeat this step until you have selected all the fields that you need.</ahelp></paragraph>
+<embed href="text/shared/autopi/01090100.xhp#available_fields"/>
+<embed href="text/shared/autopi/01090100.xhp#take"/>
+<embed href="text/shared/autopi/01090100.xhp#take_all"/>
+<embed href="text/shared/autopi/01090100.xhp#remove"/>
+<embed href="text/shared/autopi/01090100.xhp#remove_all"/>
+<embed href="text/shared/autopi/01090100.xhp#updown"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_FIELDSSELECTED" id="bm_id6092104" localize="false"/>
+<h2 id="par_idN1059E">Selected Fields</h2>
+<paragraph role="paragraph" id="par_idN105A4" xml-lang="en-US"><ahelp hid=".">Displays all fields that will be included in the new table.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN105A9" xml-lang="en-US"><link href="text/sdatabase/tablewizard02.xhp" name="Table Wizard - Set types and formats">Table Wizard - Set types and formats</link></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/tablewizard02.xhp b/helpcontent2/source/text/sdatabase/tablewizard02.xhp
new file mode 100644
index 000000000..59f972f45
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/tablewizard02.xhp
@@ -0,0 +1,63 @@
+<?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="textsharedexplorerdatabasetablewizard02xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Table Wizard - Set Types and Formats</title>
+<filename>/text/sdatabase/tablewizard02.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="settype">
+<h1 id="par_idN10552"><link href="text/sdatabase/tablewizard02.xhp">Table Wizard - Set Types and Formats</link></h1>
+<paragraph role="paragraph" id="par_idN10562" xml-lang="en-US">Specifies the field information for your selected fields.</paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_LB_SELFIELDNAMES" id="bm_id5365764" localize="false"/><h2 id="par_idN10565">Selected fields</h2>
+<paragraph role="paragraph" id="par_idN10569" xml-lang="en-US"><ahelp hid=".">Select a field in order to edit the field information.</ahelp></paragraph>
+<embed href="text/shared/autopi/01090100.xhp#updown"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_CMDMINUS" id="bm_id8947111.00000001" localize="false"/><h3 id="par_idN10574">−</h3>
+<paragraph role="paragraph" id="par_idN10578" xml-lang="en-US"><ahelp hid=".">Remove the selected field from the list box.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_CMDPLUS" id="bm_id7230140" localize="false"/><h3 id="par_idN1057B">+</h3>
+<paragraph role="paragraph" id="par_idN1057F" xml-lang="en-US"><ahelp hid=".">Add a new data field to the list box.</ahelp></paragraph>
+<h2 id="par_idN10582">Field information</h2>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_COLNAME" id="bm_id1665089" localize="false"/><h3 id="par_idN10586">Field name</h3>
+<paragraph role="paragraph" id="par_idN1058A" xml-lang="en-US"><ahelp hid=".">Displays the name of the selected data field. If you want, you can enter a new name.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TAB_ENT_TYPE" id="bm_id1665090" localize="false"/>
+<h3 id="par_idN1058D">Field type</h3>
+<paragraph role="paragraph" id="par_idN10591" xml-lang="en-US"><ahelp hid=".">Select a field type.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TAB_ENT_AUTOINCREMENT" id="bm_id1055330" localize="false"/><h3 id="hd_id5486922">AutoValue</h3>
+<paragraph role="paragraph" id="par_id4198736" xml-lang="en-US"><ahelp hid=".">If set to Yes, the values for this data field are generated by the database engine.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TAB_ENT_REQUIRED" id="bm_id3498336" localize="false"/><h3 id="par_idN106A0">Entry required</h3>
+<paragraph role="paragraph" id="par_idN106A6" xml-lang="en-US"><ahelp hid=".">If set to Yes, this field must not be empty.</ahelp><comment>not in spec doc</comment></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TAB_ENT_LEN" id="bm_id3498337" localize="false"/>
+<h3 id="par_idN10594">Length</h3>
+<paragraph role="paragraph" id="par_idN10598" xml-lang="en-US"><ahelp hid=".">Specifies the number of characters for the data field.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TAB_ENT_SCALE" id="bm_id3498338" localize="false"/>
+<h3 id="par_idN1059B">Decimal places</h3>
+<paragraph role="paragraph" id="par_idN1059F" xml-lang="en-US"><ahelp hid=".">Specifies the number of decimal places for the data field. This option is only available for numerical or decimal data fields.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TAB_ENT_BOOL_DEFAULT" id="bm_id3498339" localize="false"/>
+<h3 id="par_idN105A2">Default value</h3>
+<paragraph role="paragraph" id="par_idN105A6" xml-lang="en-US"><ahelp hid=".">Specifies the default value for a Yes/No field.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/DBACCESS_HID_TAB_AUTOINCREMENTVALUE" id="bm_id8732871.00000001" localize="false"/><h3 id="par_idN10730">Auto-increment statement</h3>
+<paragraph role="paragraph" id="par_id6706747" xml-lang="en-US"><ahelp hid=".">Enter the SQL command specifier that instructs the data source to auto-increment a specified Integer data field.</ahelp> For example, the following MySQL statement used the AUTO_INCREMENT statement to increase the "id" field each time the statement creates a data field:</paragraph>
+<paragraph role="code" id="par_id8946501" xml-lang="en-US">CREATE TABLE "table1" ("id" INTEGER AUTO_INCREMENT)</paragraph>
+<paragraph role="paragraph" id="par_id4846949" xml-lang="en-US">For this example, you must enter AUTO_INCREMENT into the Auto-increment statement box.</paragraph>
+<paragraph role="paragraph" id="par_idN105A9" xml-lang="en-US"><link href="text/sdatabase/tablewizard03.xhp" name="Table Wizard - Set primary key">Table Wizard - Set primary key</link></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/tablewizard03.xhp b/helpcontent2/source/text/sdatabase/tablewizard03.xhp
new file mode 100644
index 000000000..2862ca439
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/tablewizard03.xhp
@@ -0,0 +1,63 @@
+<?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="textsharedexplorerdatabasetablewizard03xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Table Wizard - Set Primary Key</title>
+<filename>/text/sdatabase/tablewizard03.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-06T15:25:35">UFI: new Table Wizard page 3</created>
+</history>
+</meta>
+<body>
+<section id="setprimary">
+<h1 id="par_idN10546"><link href="text/sdatabase/tablewizard03.xhp">Table Wizard - Set Primary Key</link></h1>
+<paragraph role="paragraph" id="par_idN10556" xml-lang="en-US">Specifies a field in the table to be used as a primary key.</paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_CHK_USEPRIMEKEY" id="bm_id2796411" localize="false"/>
+<h2 id="par_idN10559">Create a primary key</h2>
+<paragraph role="paragraph" id="par_idN1055D" xml-lang="en-US"><ahelp hid=".">Select to create a primary key. Add a primary key to every database table to uniquely identify each record. For some database systems within %PRODUCTNAME, a primary key is mandatory for editing the tables.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_OPT_PK_AUTOMATIC" id="bm_id1500289" localize="false"/>
+<h3 id="par_idN10560">Automatically add a primary key</h3>
+<paragraph role="paragraph" id="par_idN10564" xml-lang="en-US"><ahelp hid=".">Select to automatically add a primary key as an additional field.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_OPT_PK_SINGLE" id="bm_id9485152.00000001" localize="false"/>
+<h3 id="par_idN10567">Use an existing field as a primary key</h3>
+<paragraph role="paragraph" id="par_idN1056B" xml-lang="en-US"><ahelp hid=".">Select to use an existing field with unique values as a primary key.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_LB_PK_FIELDNAME" id="bm_id6801049" localize="false"/>
+<h4 id="par_idN1056E">Field name</h4>
+<paragraph role="paragraph" id="par_idN10572" xml-lang="en-US"><ahelp hid=".">Select the field name.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_CK_PK_AUTOVALUE" id="bm_id8796349" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_CK_PK_AUTOVALUE_AUTOMATIC" id="bm_id1406292" localize="false"/>
+<h4 id="par_idN10575">Auto value</h4>
+<paragraph role="paragraph" id="par_idN10579" xml-lang="en-US"><ahelp hid=".">Select to automatically insert a value and increment the field's value for each new record. The database must support automatic incrementation in order to use the <emph>Auto value</emph> feature.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_OPT_PK_SEVERAL" id="bm_id130008" localize="false"/>
+<h3 id="par_idN1057C">Define primary key by several fields</h3>
+<paragraph role="paragraph" id="par_idN10580" xml-lang="en-US"><ahelp hid=".">Select to create a primary key from a combination of several existing fields.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_FIELDS_PK_AVAILABLE" id="bm_id2555009" localize="false"/>
+<h4 id="par_idN10583">Available fields</h4>
+<paragraph role="paragraph" id="par_idN10587" xml-lang="en-US"><ahelp hid=".">Select a field and click &gt; to add it to the list of primary key fields.</ahelp></paragraph>
+<embed href="text/shared/autopi/01090100.xhp#take"/>
+<embed href="text/shared/autopi/01090100.xhp#remove"/>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_FIELDS_PK_SELECTED" id="bm_id8829309" localize="false"/>
+<h4 id="par_idN1059A">Primary key fields</h4>
+<paragraph role="paragraph" id="par_idN1059E" xml-lang="en-US"><ahelp hid=".">Select a field and click &lt; to remove it from the list of primary key fields. The primary key is created as a concatenation of the fields in this list, from top to bottom.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN105A1" xml-lang="en-US"><link href="text/sdatabase/tablewizard04.xhp" name="Table Wizard - Create table">Table Wizard - Create table</link></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/tablewizard04.xhp b/helpcontent2/source/text/sdatabase/tablewizard04.xhp
new file mode 100644
index 000000000..a1144970c
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/tablewizard04.xhp
@@ -0,0 +1,54 @@
+<?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="textsharedexplorerdatabasetablewizard04xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Table Wizard - Create Table</title>
+<filename>/text/sdatabase/tablewizard04.xhp</filename>
+</topic>
+<history>
+<created date="2004-07-06T15:43:51">UFI: new Table Wizard page 4</created>
+</history>
+</meta>
+<body>
+<section id="createtable">
+<h1 id="par_idN10543"><link href="text/sdatabase/tablewizard04.xhp">Table Wizard - Create Table</link></h1>
+<paragraph role="paragraph" id="par_idN10553" xml-lang="en-US">Enter a name for the table and specify whether you want to modify the table after the wizard is finished.</paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_TXT_NAME" id="bm_id6823633" localize="false"/>
+<h2 id="par_idN10556">Table name</h2>
+<paragraph role="paragraph" id="par_idN1055A" xml-lang="en-US"><ahelp hid=".">Specifies the table name.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_LST_CATALOG" id="bm_id3157139" localize="false"/>
+<h2 id="par_idN105E4">Catalog of the table</h2>
+<paragraph role="paragraph" id="par_idN105EA" xml-lang="en-US"><ahelp hid=".">Select the catalog for the table. (Available only if the database supports catalogs)</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_LST_SCHEMA" id="bm_id2800683" localize="false"/>
+<h2 id="par_idN10605">Schema of the table</h2>
+<paragraph role="paragraph" id="par_idN1060B" xml-lang="en-US"><ahelp hid=".">Select the schema for the table. (Available only if the database supports schemas)</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_OPT_WORKWITHTABLE" id="bm_id5238807" localize="false"/>
+<h2 id="par_idN1055D">Modify the table design</h2>
+<paragraph role="paragraph" id="par_idN10561" xml-lang="en-US"><ahelp hid=".">Select to save and edit the table design.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_OPT_MODIFYTABLE" id="bm_id2086855" localize="false"/>
+<h2 id="par_idN10564">Insert data immediately</h2>
+<paragraph role="paragraph" id="par_idN10568" xml-lang="en-US"><ahelp hid=".">Select to save the table design and open the table to enter data.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/WIZARDS_HID_DLGTABLE_OPT_STARTFORMWIZARD" id="bm_id3381145" localize="false"/>
+<h2 id="par_idN1056B">Create a form based on this table</h2>
+<paragraph role="paragraph" id="par_idN1056F" xml-lang="en-US"><ahelp hid=".">Select to create a form based on this table. The form is created on a text document with the last used settings of the <link href="text/shared/autopi/01090000.xhp">Form Wizard</link>.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN10580" xml-lang="en-US"><link href="text/sdatabase/tablewizard00.xhp" name="Table Wizard">Table Wizard</link></paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/toolbar_form.xhp b/helpcontent2/source/text/sdatabase/toolbar_form.xhp
new file mode 100644
index 000000000..a39c5287b
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/toolbar_form.xhp
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+ <!--
+ * 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/.
+ *
+ -->
+
+ <meta>
+ <topic id="page_topic" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Database Form Toolbar</title>
+ <filename>/text/sdatabase/toolbar_form.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <h1 id="par_idN10548"><variable id="DatabaseFormToolbarh1"><link href="text/sdatabase/toolbar_form.xhp" name="Database Form Toolbar">Database Form Toolbar</link></variable></h1>
+ <embed href="text/sdatabase/toolbar_table.xhp#databasetoolbarcommon"/>
+ <bookmark xml-lang="en-US" branch="hid/.uno:DBNewForm" id="bm_id231642796070839" localize="false"/>
+ <h2 id="hd_id231642796157552">New database form</h2>
+ <table id="tab_id741642796165268">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id431642796165270" role="paragraph">
+ <image src="cmd/lc_dbnewform.svg" id="img_id311642796165271" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id461642796165272">Icon New Database Form</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id321642796165273" role="paragraph" xml-lang="en-US">Creates a new database form.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <bookmark xml-lang="en-US" branch="hid/.uno:DBFormOpen" id="bm_id1720023" localize="false"/>
+ <h2 id="par_idN10634">Open database form</h2>
+ <table id="tab_id831642794179327">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id581642794179327" role="paragraph">
+ <image src="cmd/lc_open.svg" id="img_id511642794179328" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id11642794179328">Icon Open Form</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_idN10638" xml-lang="en-US"><ahelp hid=".">Opens the selected form so you can enter, edit, or delete records.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <bookmark xml-lang="en-US" branch="hid/.uno:DBFormEdit" id="bm_id2862636" localize="false"/>
+ <h2 id="par_idN1064F">Edit</h2>
+ <table id="tab_id601642794252425">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id1001642794252425" role="paragraph">
+ <image src="cmd/lc_dbformedit.svg" id="img_id671642794252426" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id851642794252426">Icon Edit Form</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_idN10653" xml-lang="en-US"><ahelp hid=".">Opens the selected form so you can change the layout.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <bookmark xml-lang="en-US" branch="hid/.uno:DBFormDelete" id="bm_id2447279" localize="false"/>
+ <h2 id="par_idN1066A">Delete</h2>
+ <table id="tab_id701642794399538">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id941642794399538" role="paragraph">
+ <image src="cmd/lc_dbformdelete.svg" id="img_id541642794399538" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id521642794399539">Icon Delete Form</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_idN1066E" xml-lang="en-US"><ahelp hid=".">Deletes the selected form.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <bookmark xml-lang="en-US" branch="hid/.uno:DBFormRename" id="bm_id4928739" localize="false"/>
+ <h2 id="par_idN10685">Rename</h2>
+ <table id="tab_id651642794481349">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id601642794481349" role="paragraph">
+ <image src="cmd/lc_dbformrename.svg" id="img_id591642794481349" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id751642794481350">Icon Rename Form</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_idN10689" xml-lang="en-US"><ahelp hid=".">Renames the selected form.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <section id="relatedtopics">
+ <embed href="text/sdatabase/toolbars.xhp#toolbars"/>
+ </section>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/toolbar_query.xhp b/helpcontent2/source/text/sdatabase/toolbar_query.xhp
new file mode 100644
index 000000000..092e63631
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/toolbar_query.xhp
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+ <!--
+ * 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/.
+ *
+ -->
+
+ <meta>
+ <topic id="databasequerytoolbar" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Database Query Toolbar</title>
+ <filename>/text/sdatabase/toolbar_query.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <h1 id="par_idN10548"><variable id="DatabaseQueryToolbarh1"><link href="text/sdatabase/toolbar_query.xhp" name="Database Query Toolbar">Database Query Toolbar</link></variable></h1>
+ <embed href="text/sdatabase/toolbar_table.xhp#databasetoolbarcommon"/>
+ <bookmark xml-lang="en-US" branch="hid/.uno:DBNewQuery" id="bm_id231642796070839" localize="false"/>
+ <h2 id="hd_id231642796157552">New database query</h2>
+ <table id="tab_id741642796165268">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id431642796165270" role="paragraph">
+ <image src="cmd/lc_dbnewquery.svg" id="img_id311642796165271" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id461642796165272">Icon New Database Query</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id321642796165273" role="paragraph" xml-lang="en-US">Creates a new database query.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <h2 id="hd_id981642797173950">New Database Query (SQL View)</h2>
+ <table id="tab_id681642797178875">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id131642797178876" role="paragraph">
+ <image src="cmd/lc_dbnewquerysql.svg" id="img_id881642797178877" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id811642797178878">Icon New query (SQL view)</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id911642797178879" role="paragraph" xml-lang="en-US">Opens the SQL window to edit a query in SQL language.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <bookmark xml-lang="en-US" branch="hid/.uno:DBQueryOpen" id="bm_id1720023" localize="false"/>
+ <h2 id="par_idN105C4">Open database query</h2>
+ <table id="tab_id411642791781979">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id791642791781980" role="paragraph">
+ <image src="cmd/lc_open.svg" id="img_id711642791781980" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id621642791781980">Icon Open Query Object</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_idN105C8" xml-lang="en-US"><ahelp hid=".">Opens the selected query so you can enter, edit, or delete records.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <bookmark xml-lang="en-US" branch="hid/.uno:DBQueryEdit" id="bm_id2862636" localize="false"/>
+ <h2 id="par_idN105DF">Edit</h2>
+ <table id="tab_id181642791910891">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id291642791910891" role="paragraph">
+ <image src="cmd/lc_dbqueryedit.svg" id="img_id911642791910892" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id1001642791910892">Icon Edit Query</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_idN105E3" xml-lang="en-US"><ahelp hid=".">Opens the selected query so you can change the structure.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <bookmark xml-lang="en-US" branch="hid/.uno:DBQueryDelete" id="bm_id2447279" localize="false"/>
+ <h2 id="par_idN105FA">Delete</h2>
+ <table id="tab_id891642792045236">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id651642792045236" role="paragraph">
+ <image src="cmd/lc_dbquerydelete.svg" id="img_id411642792045236" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id211642792045237">Icon Delete Query</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_idN105FE" xml-lang="en-US"><ahelp hid=".">Deletes the selected query.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <bookmark xml-lang="en-US" branch="hid/.uno:DBQueryRename" id="bm_id4928739" localize="false"/>
+ <h2 id="par_idN10615">Rename</h2>
+
+ <table id="tab_id971642792121799">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id561642792121799" role="paragraph">
+ <image src="cmd/lc_dbqueryrename.svg" id="img_id521642792121800" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id531642792121800">Icon Rename Query</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_idN10619" xml-lang="en-US"><ahelp hid=".">Renames the selected query.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <section id="relatedtopics">
+ <embed href="text/sdatabase/toolbars.xhp#toolbars"/>
+ </section>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/toolbar_report.xhp b/helpcontent2/source/text/sdatabase/toolbar_report.xhp
new file mode 100644
index 000000000..7782a92ed
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/toolbar_report.xhp
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+ <!--
+ * 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/.
+ *
+ -->
+
+ <meta>
+ <topic id="databasetoolbarreport" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Database Report Toolbar</title>
+ <filename>/text/sdatabase/toolbar_report.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <h1 id="par_idN10548"><variable id="DatabaseReportToolbarh1"><link href="text/sdatabase/toolbar_report.xhp" name="Database Report Toolbar">Database Report Toolbar</link></variable></h1>
+ <bookmark xml-lang="en-US" branch="hid/.uno:DBNewReport" id="bm_id231642796070839" localize="false"/>
+ <embed href="text/sdatabase/toolbar_table.xhp#databasetoolbarcommon"/>
+ <h2 id="hd_id231642796157552">New database report</h2>
+ <table id="tab_id741642796165268">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id431642796165270" role="paragraph">
+ <image src="cmd/lc_dbnewreport.svg" id="img_id311642796165271" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id461642796165272">Icon New Database Report</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id321642796165273" role="paragraph" xml-lang="en-US">Creates a new database report.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <bookmark xml-lang="en-US" branch="hid/uno:DBNewReportAutoPilot" id="bm_id1720023" localize="false"/>
+ <h2 id="hd_id261642796491626">Database report wizard</h2>
+ <table id="tab_id371642796542819">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id251642796542820" role="paragraph">
+ <image src="cmd/lc_dbnewreportautopilot.svg" id="img_id811642796542821" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id231642796542822">Icon Database report wizard</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id261642796542823" role="paragraph" xml-lang="en-US">Opens the database report wizard, to guide you in creating a database report.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <bookmark xml-lang="en-US" branch="hid/.uno:DBReportOpen" id="bm_id1720023" localize="false"/>
+ <h2 id="par_idN106A4">Open database report</h2>
+ <table id="tab_id151642794819375">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id321642794819375" role="paragraph">
+ <image src="cmd/lc_open.svg" id="img_id511642794179328" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id11642794179328">Icon Open Report</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_idN106A8" xml-lang="en-US"><ahelp hid=".">Opens the selected report so you can enter, edit, or delete records.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <bookmark xml-lang="en-US" branch="hid/.uno:DBReportEdit" id="bm_id2862636" localize="false"/>
+ <h2 id="par_idN106BF">Edit</h2>
+ <table id="tab_id61642794873164">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id141642794873165" role="paragraph">
+ <image src="cmd/lc_dbreportedit.svg" id="img_id111642794873165" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id811642794873165">Icon Edit Report</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_idN106C3" xml-lang="en-US"><ahelp hid=".">Opens the selected report so you can change the layout.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <bookmark xml-lang="en-US" branch="hid/.uno:DBReportDelete" id="bm_id2447279" localize="false"/>
+ <h2 id="par_idN106DA">Delete</h2>
+ <table id="tab_id841642795131633">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id51642795131634" role="paragraph">
+ <image src="cmd/lc_dbreportdelete.svg" id="img_id971642795131634" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id531642795131634">Icon Delete Report</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_idN106DE" xml-lang="en-US"><ahelp hid=".">Deletes the selected report.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <bookmark xml-lang="en-US" branch="hid/.uno:DBReportRename" id="bm_id4928739" localize="false"/>
+ <h2 id="par_idN106F5">Rename</h2>
+ <table id="tab_id151642795211226">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id551642795211226" role="paragraph">
+ <image src="cmd/lc_dbreportrename.svg" id="img_id631642795211227" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id551642795211227">Icon Rename Report</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_idN106F9" xml-lang="en-US"><ahelp hid=".">Renames the selected report.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <section id="relatedtopics">
+ <embed href="text/sdatabase/toolbars.xhp#toolbars"/>
+ </section>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/toolbar_table.xhp b/helpcontent2/source/text/sdatabase/toolbar_table.xhp
new file mode 100644
index 000000000..ddfe9bcbc
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/toolbar_table.xhp
@@ -0,0 +1,193 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+ <!--
+ * 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/.
+ *
+ -->
+
+ <meta>
+ <topic id="dbtabletoolbar" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Database Table Toolbar</title>
+ <filename>/text/sdatabase/toolbar_table.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <h1 id="par_idN10548"><variable id="DatabaseTableToolbarh1"><link href="text/sdatabase/toolbar_table.xhp" name="Database Table Toolbar">Database Table Toolbar</link></variable></h1>
+ <section id="databasetoolbarcommon">
+ <h2 id="hd_id461642852368590">Open document</h2>
+ <table id="tab_id321642852258015">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id601642852258016" role="paragraph">
+ <image src="cmd/lc_open.svg" id="img_id941642787914042" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id291642787914043">Icon Open Document</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id981642852258019" role="paragraph" xml-lang="en-US">Opens a %PRODUCTNAME document.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <h2 id="hd_id981642852403610">Save document</h2>
+ <table id="tab_id801642852435519">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id731642852435520" role="paragraph">
+ <image src="cmd/lc_save.svg" id="img_id591642852435521" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id871642852435522">Icon Save database file</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id481642852435523" role="paragraph" xml-lang="en-US">Saves current database file.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <h2 id="hd_id131642852596290">Copy</h2>
+ <table id="tab_id551642853541653">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id381642853541654" role="paragraph">
+ <image src="cmd/lc_copy.svg" id="img_id21642853541655" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id801642853541656">Icon copy</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id601642853541657" role="paragraph" xml-lang="en-US">Copies the selection to the clipboard.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <h2 id="hd_id941642852602272">Paste</h2>
+ <table id="tab_id331642853673907">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id761642853673909" role="paragraph">
+ <image src="cmd/lc_paste.svg" id="img_id811642853673910" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id951642853673911">Icon Paste</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id321642853673912" role="paragraph" xml-lang="en-US">Inserts the contents of the clipboard at the location of the cursor, and replaces any selected text or objects.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <h2 id="hd_id1001642852606113"> Sort ascending</h2>
+ <table id="tab_id181642853830972">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id991642853830973" role="paragraph">
+ <image src="cmd/lc_sortascending.svg" id="img_id771642853830974" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id241642853830975">Icon sort ascending</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id621642853830977" role="paragraph" xml-lang="en-US">Sorts the entries in the detail view in ascending order.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <h2 id="hd_id441642852616281">Sort descending</h2>
+ <table id="tab_id161642854313006">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id511642854313007" role="paragraph">
+ <image src="cmd/lc_sortdescending.svg" id="img_id531642854313009" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id661642854313010">Icon Sort descending</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id81642854313011" role="paragraph" xml-lang="en-US">Sorts the entries in the detail view in descending order.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <h2 id="hd_id231642796152552">New database form</h2>
+ <table id="tab_id741642796165268">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id431643796165270" role="paragraph">
+ <image src="cmd/lc_dbnewform.svg" id="img_id311642796165271" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id461642796165272">Icon New Database Form</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id321612796165273" role="paragraph" xml-lang="en-US">Creates a new database form (default). Use the drop-down toolbar to create a new database object directly.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ </section>
+ <bookmark xml-lang="en-US" branch="hid/.uno:DBNewTable" id="bm_id231642796070839" localize="false"/>
+ <h2 id="hd_id231642796157552">New table design</h2>
+ <table id="tab_id741642796165268">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id431642796165270" role="paragraph">
+ <image src="cmd/lc_dbnewtable.svg" id="img_id311642796165271" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id461642796165272">Icon New Table design</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id321642796165273" role="paragraph" xml-lang="en-US">Designs a new database table.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <bookmark xml-lang="en-US" branch="hid/.uno:DBTableOpen" id="bm_id1720023" localize="false"/>
+ <h2 id="par_idN10554">Open database table</h2>
+ <table id="tab_id171642787914042">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id521642787914042" role="paragraph">
+ <image src="cmd/lc_open.svg" id="img_id941642787914042" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id291642787914043">Icon Open Database Table</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_idN10558" xml-lang="en-US"><ahelp hid=".">Opens the selected table so you can enter, edit, or delete records.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <bookmark xml-lang="en-US" branch="hid/.uno:DBTableEdit" id="bm_id2862636" localize="false"/>
+ <h2 id="par_idN1056F">Edit</h2>
+
+ <table id="tab_id951642788747899">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id481642788747900" role="paragraph">
+ <image src="cmd/lc_dbtableedit.svg" id="img_id421642788747900" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id911642788747900">Icon Edit table</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_idN10573" xml-lang="en-US"><ahelp hid=".">Opens the selected table so you can change the structure.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <bookmark xml-lang="en-US" branch="hid/.uno:DBTableDelete" id="bm_id2447279" localize="false"/>
+ <h2 id="par_idN1058A">Delete</h2>
+
+ <table id="tab_id131642788871010">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id261642788871011" role="paragraph">
+ <image src="cmd/lc_dbtabledelete.svg" id="img_id521642788871011" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id971642788871011">Icon Delete Table</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_idN1058E" xml-lang="en-US"><ahelp hid=".">Deletes the selected table.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <bookmark xml-lang="en-US" branch="hid/.uno:DBTableRename" id="bm_id4928739" localize="false"/>
+ <h2 id="par_idN105A5">Rename</h2>
+
+ <table id="tab_id521642788935573">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id501642788935574" role="paragraph">
+ <image src="cmd/lc_dbtablerename.svg" id="img_id461642788935574" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id571642788935574">Icon Rename Table</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_idN105A9" xml-lang="en-US"><ahelp hid=".">Renames the selected table.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <section id="relatedtopics">
+ <embed href="text/sdatabase/toolbars.xhp#toolbars"/>
+ </section>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sdatabase/toolbars.xhp b/helpcontent2/source/text/sdatabase/toolbars.xhp
new file mode 100644
index 000000000..ba1427033
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/toolbars.xhp
@@ -0,0 +1,38 @@
+<?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="textsharedexplorerdatabasetoolbarsxhp" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Toolbars</title>
+ <filename>/text/sdatabase/toolbars.xhp</filename>
+ </topic>
+ <history>
+ <created date="2005-02-07T15:19:59">database toolbars</created>
+ </history>
+ </meta>
+ <body>
+ <h1 id="par_idN10541"><variable id="toolbars"><link href="text/sdatabase/toolbars.xhp">Database Toolbars</link>
+ </variable></h1>
+ <paragraph role="paragraph" id="par_idN10545" xml-lang="en-US">In a database file window, you can see the following toolbars.</paragraph>
+ <h2 id="par_idN10548" localize="false"><embedvar href="text/sdatabase/toolbar_table.xhp#DatabaseTableToolbarh1" markup="ignore"/></h2>
+ <h2 id="par_idN105B8" localize="false"><embedvar href="text/sdatabase/toolbar_query.xhp#DatabaseQueryToolbarh1" markup="ignore"/></h2>
+ <h2 id="par_idN10628" localize="false"><embedvar href="text/sdatabase/toolbar_form.xhp#DatabaseFormToolbarh1" markup="ignore"/></h2>
+ <h2 id="par_idN10698" localize="false"><embedvar href="text/sdatabase/toolbar_report.xhp#DatabaseReportToolbarh1" markup="ignore"/></h2>
+</body>
+</helpdocument>