<?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_formsxhp" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Working with Forms</title>
<filename>/text/shared/guide/data_forms.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id5762199"><bookmark_value>opening;forms</bookmark_value>
<bookmark_value>forms;creating</bookmark_value>
<bookmark_value>design view;creating forms</bookmark_value>
</bookmark>
<paragraph role="heading" id="par_idN105F9" xml-lang="en-US" level="1"><variable id="data_forms"><link href="text/shared/guide/data_forms.xhp">Working with Forms</link>
</variable></paragraph>
<paragraph role="paragraph" id="par_idN10617" xml-lang="en-US">Using forms, you can define how to present the data. Open a text document or a spreadsheet and insert the controls such as push buttons and list boxes. In the properties dialogs of the controls, you can define what data the forms should display.</paragraph>
<h2 id="par_idN1061A">Creating a New Form With the Form Wizard</h2>
<paragraph role="paragraph" id="par_idN1061E" xml-lang="en-US">In %PRODUCTNAME, you can create a new form using the <link href="text/shared/autopi/01090000.xhp">Form Wizard</link>:</paragraph>
<list type="ordered">
<listitem>
<paragraph role="paragraph" id="par_idN10632" xml-lang="en-US">Open the database file where you want to create the new form.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_idN10636" xml-lang="en-US">In the left pane of the database window, click the <emph>Forms</emph> icon.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_idN1063E" xml-lang="en-US">Click <emph>Use Wizard to Create Form</emph>.</paragraph>
</listitem>
</list>
<h2 id="par_idN10645">Creating a New Form Manually</h2>
<list type="ordered">
<listitem>
<paragraph role="paragraph" id="par_idN1064C" xml-lang="en-US">Open the database file where you want to create the new form.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_idN10650" xml-lang="en-US">In the left pane of the database window, click the <emph>Forms</emph> icon.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_idN10658" xml-lang="en-US">Click <emph>Create Form in Design View</emph>.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_idN1065F" xml-lang="en-US">A new text document opens. Use the <link href="text/shared/02/01170000.xhp">Form Controls</link> to insert form controls.</paragraph>
<paragraph role="note" id="par_idN10670" xml-lang="en-US">Click the <emph>Forms</emph> icon to access all forms that were created from within the current database window. In addition, you can use the <emph>Form Controls</emph> icons to add database form controls to any Writer or Calc document, but these documents will not be listed in the database window. </paragraph>
<section id="relatedtopics">
<embed href="text/sdatabase/main.xhp#base"/>
<embed href="text/shared/guide/database_main.xhp#database_main"/>
</section>
</body>
</helpdocument>
