1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2*cdf0e10cSrcweir 3*cdf0e10cSrcweir 4*cdf0e10cSrcweir 5*cdf0e10cSrcweir<!-- 6*cdf0e10cSrcweir *********************************************************************** 7*cdf0e10cSrcweir * 8*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 9*cdf0e10cSrcweir * 10*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 11*cdf0e10cSrcweir * 12*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 13*cdf0e10cSrcweir * 14*cdf0e10cSrcweir * This file is part of OpenOffice.org. 15*cdf0e10cSrcweir * 16*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 17*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 18*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 19*cdf0e10cSrcweir * 20*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 21*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 22*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 24*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 27*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 28*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 29*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 30*cdf0e10cSrcweir * 31*cdf0e10cSrcweir ************************************************************************ 32*cdf0e10cSrcweir --> 33*cdf0e10cSrcweir 34*cdf0e10cSrcweir 35*cdf0e10cSrcweir <helpdocument version="1.0"> 36*cdf0e10cSrcweir<meta> 37*cdf0e10cSrcweir<topic id="textsharedguidedata_search2xml" indexer="include" status="PUBLISH"> 38*cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Searching With a Form Filter</title> 39*cdf0e10cSrcweir<filename>/text/shared/guide/data_search2.xhp</filename> 40*cdf0e10cSrcweir</topic> 41*cdf0e10cSrcweir</meta> 42*cdf0e10cSrcweir<body> 43*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id8772545"><bookmark_value>form filters</bookmark_value> 44*cdf0e10cSrcweir<bookmark_value>databases;form filters</bookmark_value> 45*cdf0e10cSrcweir<bookmark_value>searching; form filters</bookmark_value> 46*cdf0e10cSrcweir<bookmark_value>removing;form filters</bookmark_value> 47*cdf0e10cSrcweir<bookmark_value>filtering; data in forms</bookmark_value> 48*cdf0e10cSrcweir<bookmark_value>data;filtering in forms</bookmark_value> 49*cdf0e10cSrcweir<bookmark_value>forms; filtering data</bookmark_value> 50*cdf0e10cSrcweir<bookmark_value>data, see also values</bookmark_value> 51*cdf0e10cSrcweir</bookmark><comment>MW inserted a cross-reference</comment><paragraph role="heading" id="hd_id3156042" xml-lang="en-US" level="1" l10n="U" oldref="5"><variable id="data_search2"><link href="text/shared/guide/data_search2.xhp" name="Searching With a Form Filter">Searching With a Form Filter</link> 52*cdf0e10cSrcweir</variable></paragraph> 53*cdf0e10cSrcweir<list type="ordered"> 54*cdf0e10cSrcweir<listitem> 55*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3149182" xml-lang="en-US" l10n="CHG" oldref="17">Open a form document that contains database fields.</paragraph> 56*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3159157" xml-lang="en-US" l10n="U" oldref="18">As an example, open an empty text document and press F4. 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> 57*cdf0e10cSrcweir</listitem> 58*cdf0e10cSrcweir<listitem> 59*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3150984" xml-lang="en-US" l10n="CHG" oldref="19">On the <emph>Form Controls</emph> toolbar, click the <emph>Design Mode On/Off</emph> icon 60*cdf0e10cSrcweir<image id="img_id3147618" src="res/commandimagelist/sc_switchcontroldesignmode.png" width="0.222inch" height="0.222inch"><alt id="alt_id3147618" xml-lang="en-US">Icon</alt> 61*cdf0e10cSrcweir </image> to turn off the design mode.</paragraph> 62*cdf0e10cSrcweir</listitem> 63*cdf0e10cSrcweir<listitem> 64*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3148672" xml-lang="en-US" l10n="CHG" oldref="6">On the <emph>Form Navigation</emph> toolbar, click the <emph>Form-Based Filters</emph> icon 65*cdf0e10cSrcweir<image id="img_id3149807" src="res/commandimagelist/sc_formfilter.png" width="0.222inch" height="0.222inch"><alt id="alt_id3149807" xml-lang="en-US">Icon</alt> 66*cdf0e10cSrcweir </image>. The current document is displayed with its form controls as an empty edit mask. The <emph>Form Filter </emph>toolbar appears.</paragraph> 67*cdf0e10cSrcweir</listitem> 68*cdf0e10cSrcweir<listitem> 69*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3149666" xml-lang="en-US" l10n="CHG" oldref="7">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> 70*cdf0e10cSrcweir</listitem> 71*cdf0e10cSrcweir</list> 72*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3149481" xml-lang="en-US" l10n="U" oldref="8">More information about wildcards and operators can be found in <link href="text/shared/explorer/database/02010100.xhp" name="Query Design">Query Design</link>. </paragraph> 73*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/.uno:FormFilterExecute" id="bm_id9819688" localize="false"/> 74*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/.uno:FormFilterExecute" id="bm_id3148617" localize="false"/><paragraph role="paragraph" id="par_id3152462" xml-lang="en-US" l10n="CHG" oldref="9"><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> 75*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/.uno:FormFilterExit" id="bm_id2865336" localize="false"/> 76*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/.uno:FormFilterExit" id="bm_id3149959" localize="false"/><paragraph role="paragraph" id="par_id3145273" xml-lang="en-US" l10n="CHG" oldref="10"><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> 77*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3150114" xml-lang="en-US" l10n="CHG" oldref="11">Click the <link href="text/shared/02/12120000.xhp" name="Apply Filter"><emph>Apply Filter</emph></link> icon 78*cdf0e10cSrcweir<image id="img_id3144764" src="res/commandimagelist/sc_datafilterstandardfilter.png" width="0.222inch" height="0.222inch"><alt id="alt_id3144764" xml-lang="en-US">Icon</alt> 79*cdf0e10cSrcweir </image> on the <emph>Form Navigation</emph> toolbar to change to the filtered view.</paragraph> 80*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3146898" xml-lang="en-US" l10n="U" oldref="12">The filter that has been set can be removed by clicking <link href="text/shared/02/12040000.xhp" name="Remove Filter/Sort"><emph>Remove Filter/Sort</emph></link> icon 81*cdf0e10cSrcweir<image id="img_id3151318" src="res/commandimagelist/sc_removefiltersort.png" width="0.222inch" height="0.222inch"><alt id="alt_id3151318" xml-lang="en-US">Icon</alt> 82*cdf0e10cSrcweir </image>.</paragraph> 83*cdf0e10cSrcweir<embed href="text/shared/00/00000004.xhp#related"/> 84*cdf0e10cSrcweir<embed href="text/shared/guide/filternavigator.xhp#filternavigator"/> 85*cdf0e10cSrcweir<embed href="text/shared/guide/data_search.xhp#data_search"/> 86*cdf0e10cSrcweir</body> 87*cdf0e10cSrcweir</helpdocument> 88