<?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="textsharedguidedata_reportxml" indexer="include" status="PUBLISH">
<title id="tit">Using and Editing Database Reports </title>
<filename>/text/shared/guide/data_report.xhp</filename>
</topic>
</meta>
<body>
<bookmark branch="index" id="bm_id3147834"><bookmark_value>database reports</bookmark_value>
<bookmark_value>data sources;reports</bookmark_value>
<bookmark_value>reports;opening and editing</bookmark_value>
<bookmark_value>editing;reports</bookmark_value>
<bookmark_value>opening;reports</bookmark_value>
<bookmark_value>templates;database reports</bookmark_value>
<bookmark_value>reports;templates</bookmark_value>
</bookmark>
<paragraph role="paragraph" id="par_id3147834" localize="false"/>
<h1 id="hd_id3149178"><variable id="data_report"><link href="text/shared/guide/data_report.xhp">Using and Editing Database Reports</link>
</variable></h1>
<h2 id="hd_id3145609">Using a Report</h2>
<paragraph role="paragraph" id="par_id3147265">%PRODUCTNAME stores the information about the created reports in the database file.</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3154758">Choose <emph>File - Open</emph> and select the database file.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3151054">In the database file window, click the <emph>Reports</emph> icon.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3156280">Double-click one of the report names to open the report.</paragraph>
<note id="par_idN1077D">These links are added automatically when you create a new report by the Report Wizard or in the Report Builder window.</note>
</listitem>
</list>
<h2 id="hd_id1695608">Editing a Report Created in the Report Builder Window</h2>
<list type="unordered">
<listitem>
<paragraph role="paragraph" id="par_id7510910">Right-click the name of a report in the database file window, then choose Edit.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id8138065">The Report Builder window opens with the report's information loaded. </paragraph>
<paragraph role="paragraph" id="par_id5086825">Use the toolbars and menu commands and drag-and-drop to edit the report as stated in the <link href="text/sdatabase/rep_main.xhp">Report Builder</link> guide.</paragraph>
<paragraph role="paragraph" id="par_id4747154">Execute the report to see the resulting report document.</paragraph>
<h2 id="hd_id3153104">Editing a Report Created by the Report Wizard</h2>
<list type="unordered">
<listitem>
<paragraph role="listitem" id="par_id3125863">On the <link href="text/shared/autopi/01100500.xhp">last dialog page of the Report Wizard</link>, you can choose to edit the report template before you use the report.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id3155431">You can edit the page styles for the first page and the following pages of the report as well as the paragraph styles, the number formats, the printed field labels, and more.</paragraph>
<warning id="par_idN107D7">Unless you have a thorough understanding of the database the report accesses, do not edit the SQL statement, database name, the hidden form controls, or the related information on the report.</warning>

<section id="relatedtopics">
	<embed href="text/shared/guide/database_main.xhp#database_main"/>
</section>
</body>
</helpdocument>
