112 lines
6.6 KiB
XML
112 lines
6.6 KiB
XML
<?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_search2xml" indexer="include" status="PUBLISH">
|
|
<title id="tit">Searching With a Form Filter</title>
|
|
<filename>/text/shared/guide/data_search2.xhp</filename>
|
|
</topic>
|
|
</meta>
|
|
<body>
|
|
<bookmark branch="index" id="bm_id8772545"><bookmark_value>form filters</bookmark_value>
|
|
<bookmark_value>databases;form filters</bookmark_value>
|
|
<bookmark_value>searching; form filters</bookmark_value>
|
|
<bookmark_value>removing;form filters</bookmark_value>
|
|
<bookmark_value>filtering; data in forms</bookmark_value>
|
|
<bookmark_value>data;filtering in forms</bookmark_value>
|
|
<bookmark_value>forms; filtering data</bookmark_value>
|
|
<bookmark_value>data, see also values</bookmark_value>
|
|
</bookmark><comment>MW inserted a cross-reference</comment><h1 id="hd_id3156042"><variable id="data_search2"><link href="text/shared/guide/data_search2.xhp">Searching With a Form Filter</link>
|
|
</variable></h1>
|
|
<list type="ordered">
|
|
<listitem>
|
|
<paragraph role="paragraph" id="par_id3149182">Open a form document that contains database fields.</paragraph>
|
|
<paragraph role="paragraph" id="par_id3159157">As an example, open an empty text document and press <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> + Shift + F4 keys. Open the bibliography database table <emph>biblio</emph> in the data source view. While pressing Shift+<switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>, drag a few column headers into the document so that the form fields are created.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="paragraph" id="par_id3150984">On the <emph>Form Controls</emph> toolbar, click the <emph>Design Mode On/Off</emph> icon to turn off the design mode.</paragraph>
|
|
<table id="tab_id741679928774599">
|
|
<tablerow>
|
|
<tablecell>
|
|
<paragraph id="par_id801679928774600" role="paragraph">
|
|
<image src="cmd/lc_switchcontroldesignmode.svg" id="img_id541679928774601" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id691679928774602">Icon Design Mode</alt></image>
|
|
</paragraph>
|
|
</tablecell>
|
|
<tablecell>
|
|
<paragraph id="par_id651679928774604" role="paragraph" xml-lang="en-US">Design Mode On/Off</paragraph>
|
|
</tablecell>
|
|
</tablerow>
|
|
</table>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="paragraph" id="par_id3148672">On the <emph>Form Navigation</emph> toolbar, click the <emph>Form-Based Filters</emph> icon. The current document is displayed with its form controls as an empty edit mask. The <emph>Form Filter </emph>toolbar appears.</paragraph>
|
|
<table id="tab_id711679928863235">
|
|
<tablerow>
|
|
<tablecell>
|
|
<paragraph id="par_id361679928863236" role="paragraph">
|
|
<image src="cmd/sc_formfilter.png" id="img_id931679928863237" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id881679928863238">Icon Form Navigator</alt></image>
|
|
</paragraph>
|
|
</tablecell>
|
|
<tablecell>
|
|
<paragraph id="par_id861679928863240" role="paragraph" xml-lang="en-US">Form Navigator</paragraph>
|
|
</tablecell>
|
|
</tablerow>
|
|
</table>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="paragraph" id="par_id3149666">Enter the filter conditions into one or several fields. Note that if you enter filter conditions into several fields, all of the entered conditions must match (Boolean AND).</paragraph>
|
|
</listitem>
|
|
</list>
|
|
<paragraph role="paragraph" id="par_id3149481">More information about wildcards and operators can be found in <link href="text/sdatabase/02010100.xhp">Query Design</link>. </paragraph>
|
|
<bookmark branch="hid/.uno:FormFilterExecute" id="bm_id9819688" localize="false"/>
|
|
<paragraph role="paragraph" id="par_id3152462"><ahelp hid=".uno:FormFilterExecute">If you click the <emph>Apply Form-Based Filter</emph> icon on the <emph>Form Filter</emph> toolbar, the filter will be applied.</ahelp> You see the <emph>Form Navigation</emph> toolbar and can browse through the found records.</paragraph>
|
|
<bookmark branch="hid/.uno:FormFilterExit" id="bm_id2865336" localize="false"/>
|
|
<paragraph role="paragraph" id="par_id3145273"><ahelp hid=".uno:FormFilterExit">If you click on the <emph>Close</emph> button on the <emph>Form Filter</emph> toolbar, the form is displayed without a filter.</ahelp></paragraph>
|
|
<paragraph role="paragraph" id="par_id3150114">Click the <link href="text/shared/02/12120000.xhp"><emph>Apply Filter</emph></link> icon on the <emph>Form Navigation</emph> toolbar to change to the filtered view.</paragraph>
|
|
<table id="tab_id381679929261703">
|
|
<tablerow>
|
|
<tablecell>
|
|
<paragraph id="par_id191679929261704" role="paragraph">
|
|
<image src="cmd/lc_datafilterstandardfilter.svg" id="img_id111679929261705" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id561679929261706">Icon Apply Filter</alt></image>
|
|
</paragraph>
|
|
</tablecell>
|
|
<tablecell>
|
|
<paragraph id="par_id901679929261708" role="paragraph" xml-lang="en-US">Apply Filter</paragraph>
|
|
</tablecell>
|
|
</tablerow>
|
|
</table>
|
|
<paragraph role="paragraph" id="par_id3146898">The filter that has been set can be removed by clicking <link href="text/shared/02/12040000.xhp"><emph>Reset Filter/Sort</emph></link> icon.</paragraph>
|
|
<table id="tab_id631679929385834">
|
|
<tablerow>
|
|
<tablecell>
|
|
<paragraph id="par_id551679929385836" role="paragraph">
|
|
<image src="cmd/lc_removefiltersort.svg" id="img_id341679929385837" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id981679929385838">Icon Reset Filter/Sort</alt></image>
|
|
</paragraph>
|
|
</tablecell>
|
|
<tablecell>
|
|
<paragraph id="par_id501679929385841" role="paragraph" xml-lang="en-US">Reset Filter/Sort</paragraph>
|
|
</tablecell>
|
|
</tablerow>
|
|
</table>
|
|
<section id="relatedtopics">
|
|
<embed href="text/shared/guide/filternavigator.xhp#filternavigator"/>
|
|
<embed href="text/shared/guide/data_search.xhp#data_search"/>
|
|
</section>
|
|
</body>
|
|
</helpdocument>
|