<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">

<html>

<!--(==============================================================)-->
<!--(Document created with RoboEditor. )============================-->
<!--(==============================================================)-->

<head>

<title>Performing a Complex Search</title>

<!--(Meta)==========================================================-->

<meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">
<meta name=generator-major-version content=0.1>
<meta name=generator-minor-version content=1>
<meta name=filetype content=kadov>
<meta name=filetype-version content=1>
<meta name=page-count content=1>
<meta name=layout-height content=1653>
<meta name=layout-width content=614>
<meta name=date content="09 19, 2002 4:10:54 PM">


<!--(Links)=========================================================-->

<link rel="StyleSheet" href="JXhelp.css">



<!--(Style Sheet)===================================================-->

<style>
<!--

body {
}

-->
</style>

<!--(Generated ActiveX Object Tags)=================================-->
<!--(WARNING: DO NOT EDIT OR DELETE THIS SECTION!)==================-->
<!--begin!kadov{{===================================================-->
<!--}}end!kadov=====================================================-->
<!--(==============================================================)-->

</head>

<!--(Body)==========================================================-->


<body>

<!--(Generated Script Links)========================================-->
<!--(Generated Code)================================================-->
<!--(WARNING: DO NOT EDIT OR DELETE THIS SECTION!)==================-->
<!--begin!kadov{{===================================================-->
<!--}}end!kadov=====================================================-->
<!--(==============================================================)-->


<h1 style="color: #008080;">Performing a Complex Search</h1>

<p>A complex search enables you to search the full 
<OBJECT classid="java:com.sun.java.help.impl.JHSecondaryViewer"  id="0" >
 <param name="content" value="Performing_a_Complex_Search_text0_popup_topic.htm">
 <param name="viewerActivator" value="javax.help.LinkLabel">
 <param name="viewerSize" value="400,270">
 <param name="viewerStyle" value="javax.help.Popup">
 <param name="text" value="Directory Information Tree">
</OBJECT> (DIT), or use the currently selected entry as the 
 search base 
<OBJECT classid="java:com.sun.java.help.impl.JHSecondaryViewer"  id="1" >
 <param name="content" value="Performing_a_Complex_Search_text1_popup_topic.htm">
 <param name="viewerActivator" value="javax.help.LinkLabel">
 <param name="viewerSize" value="400,270">
 <param name="viewerStyle" value="javax.help.Popup">
 <param name="text" value="Distinguished Name">
</OBJECT> (DN). It also allows you to create search filters that comply 
 with 
<OBJECT classid="java:com.sun.java.help.impl.JHSecondaryViewer"  id="2" >
 <param name="content" value="Performing_a_Complex_Search_text2_popup_topic.htm">
 <param name="viewerActivator" value="javax.help.LinkLabel">
 <param name="viewerSize" value="400,270">
 <param name="viewerStyle" value="javax.help.Popup">
 <param name="text" value="Lightweight Directory Access Protocol">
</OBJECT> (LDAP), and <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->join 
 them together, as per RFC 2254. For more information about Request For 
 Comments (RFC) documents, see <a href="http://www.rfc-editor.org/rfc/">http://www.rfc-editor.org/rfc/</a>. 
 </p>

<p>&nbsp;</p>

<p>To perform a complex search:</p>

<p>&nbsp;</p>

<ol style="list-style: decimal;"
	type=1>
	
	<li class="kadov-p"><p>Do <span style="font-weight: bold;"><B>one </B></span>of 
 the following:</p></li>
</ol>

<p>&nbsp;</p>

<ol style="list-style: disc;"
	type=disc>
	
	<ul style="list-style: disc;"
		type=disc>
		
		<li class="kadov-p"><p>From the Search Menu, choose Search</p></li>
		
		<li class="kadov-p"><p>Right-click an entry in the DIT, and then 
 select Search from the drop-down list</p></li>
		
		<li class="kadov-p"><p>Press Ctrl + F</p></li>
	</ul>
</ol>

<p>&nbsp;</p>

<ol start=2
	style="list-style: decimal;"
	type=1>
	
	<li class="kadov-p"><p style="margin-bottom: 14pt;">Enter the DN of the 
 subtree you want to search in the Start Searching From text box.</p></li>
	
	<li class="kadov-p"><p style="margin-bottom: 14pt;">(Optional) Select 
 the Resolve Aliases While Searching check box if you want to return alias 
 entries for subordinate entries of the base object.</p></li>
	
	<li class="kadov-p"><p>(Optional) Select the Resolve Aliases When Finding 
 Base Object check box if you want to return alias entries while locating 
 the base object of the search.</p></li>
</ol>

<p>&nbsp;</p>

<p style="margin-left: 40px;"><span style="font-weight: bold;"><B>Note</B></span>: 
 If you choose to resolve aliases while searching (Step 3) and when finding 
 the base object (Step 4), all aliases are resolved; however, if you do 
 not choose either option, no aliases are resolved.</p>

<p style="margin-left: 40px;">&nbsp;</p>

<ol start=5
	style="list-style: decimal;"
	type=1>
	
	<li class="kadov-p"><p>(Optional) From the Select Search Level list, 
 select <span style="font-weight: bold;"><B>one </B></span>of the following:</p></li>
</ol>

<p>&nbsp;</p>

<ol style="list-style: disc;"
	type=disc>
	
	<ul style="list-style: disc;"
		type=disc>
		
		<li class="kadov-p"><p>Search Full Subtree if you want to search 
 the whole of the DIT from the current entry down</p></li>
		
		<li class="kadov-p"><p>Search Next Level if you want to search one 
 level down from the current entry</p></li>
		
		<li class="kadov-p"><p>Search Base Object if you want to search the 
 selected entry only</p></li>
	</ul>
</ol>

<p>&nbsp;</p>

<ol start=6
	style="list-style: decimal;"
	type=1>
	
	<li class="kadov-p"><p>(Optional) From the Information to Retrieve list, 
 select a Return Attribute list to tell the search to return a list of 
 nominated attribute values.</p></li>
</ol>

<p>&nbsp;</p>

<p style="margin-left: 40px;"><span style="font-weight: bold;"><B>Note:</B></span> 
 To create a Return Attribute list, choose 
<OBJECT classid="java:com.sun.java.help.impl.JHSecondaryViewer"  id="5061" >
 <param name="content" value="Using_the_Return_Attributes_Dialog_popup_topic.htm">
 <param name="viewerActivator" value="javax.help.LinkLabel">
 <param name="viewerSize" value="400,270">
 <param name="viewerStyle" value="javax.help.Popup">
 <param name="text" value="Return Attribute Lists">
</OBJECT>
<!--begin!kadov{{--><!--}}end!kadov--> 
 from the Search menu.</p>

<p style="margin-left: 40px;">&nbsp;</p>

<ol start=7
	style="list-style: decimal;"
	type=1>
	
	<li class="kadov-p"><p>From the Build Filter tab, select an attribute 
 from the drop-down list.</p></li>
</ol>

<p>&nbsp;</p>

<ol start=8
	style="list-style: decimal;"
	type=1>
	
	<li class="kadov-p"><p>Select a function from the drop-down list.</p></li>
</ol>

<p>&nbsp;</p>

<ol start=9
	style="list-style: decimal;"
	type=1>
	
	<li class="kadov-p"><p>Enter the search criteria in the empty text box.</p></li>
</ol>

<p>&nbsp;</p>

<ol start=10
	style="list-style: decimal;"
	type=1>
	
	<li class="kadov-p"><p>Click the More button, select an operator from 
 the drop-down list, and repeat steps 6 through 8 until you have completed 
 the filter.<span style="margin-top: 14pt; margin-bottom: 14pt;"> </span></p></li>
</ol>

<p>&nbsp;</p>

<p style="margin-left: 40px;"><span style="font-weight: bold;"><B>Notes</B></span>: 
 </p>

<ol style="list-style: disc;"
	type=disc>
	
	<ul style="list-style: disc;"
		type=disc>
		
		<li class="kadov-p"><p>To view the current filter in LDAP format, 
 click the View button.</p></li>
		
		<li class="kadov-p"><p>To delete the last line of the filter, click 
 the Less button.</p></li>
	</ul>
</ol>

<p>&nbsp;</p>

<ol start=11
	style="list-style: decimal;"
	type=1>
	
	<li class="kadov-p"><p>(Optional) To 
<OBJECT classid="java:com.sun.java.help.impl.JHSecondaryViewer"  id="3" >
 <param name="content" value="Performing_a_Complex_Search_text3_popup_topic.htm">
 <param name="viewerActivator" value="javax.help.LinkLabel">
 <param name="viewerSize" value="400,270">
 <param name="viewerStyle" value="javax.help.Popup">
 <param name="text" value="negate">
</OBJECT> 
 the entire filter, select the Not check box.</p></li>
</ol>

<p>&nbsp;</p>

<ol start=12
	style="list-style: decimal;"
	type=1>
	
	<li class="kadov-p"><p>(Optional) To save the filter, enter a name in 
 the Filter Name text box, and then click the Save button.</p></li>
</ol>

<p>&nbsp;</p>

<p style="margin-left: 40px;"><span style="font-weight: bold;"><B>Note</B></span>: 
 You must save the filter if you want to join it to another filter. When 
 you have saved the filter you can load it from the Search dialog by clicking 
 the Load button.</p>

<p style="margin-left: 40px;">&nbsp;</p>

<p style="margin-left: 40px;">If you want, you can <a href="Joining_Filters.htm">join 
 this filter</a> to another pre-defined filter to create a more complex 
 search.</p>

<p style="margin-left: 40px;">&nbsp;</p>

<ol start=13
	style="list-style: decimal;"
	type=1>
	
	<li class="kadov-p"><p>Click the Search button to execute the search.</p></li>
</ol>

<p>&nbsp;</p>

<p style="margin-left: 0px;"><span style="font-weight: bold;"><B>Note</B></span>: 
 To repeat a saved search, you can select it from the Search Menu.</p>

<p style="margin-left: 0px;">&nbsp;</p>

<p style="margin-left: 0px; background-color: #c0c0c0;"><span style="font-weight: bold;"><B>Tip: 
 </B></span>If you receive an error indicating that a search limit is exceeded, 
 you get a partial result. To set the search limits, choose Advanced Options 
 from the Options menu and click the 
<OBJECT classid="java:com.sun.java.help.impl.JHSecondaryViewer"  id="13851" >
 <param name="content" value="Setting_Search_Limits_popup_topic.htm">
 <param name="viewerActivator" value="javax.help.LinkLabel">
 <param name="viewerSize" value="400,270">
 <param name="viewerStyle" value="javax.help.Popup">
 <param name="text" value="Search Limits tab">
</OBJECT>
<!--begin!kadov{{--><!--}}end!kadov-->.</p>

<h4><span style="color: #008080;"><FONT COLOR=teal >Related Topics</FONT></span> </h4>

<p><a href="Deleting_a_Filter.htm">Deleting a Filter</a></p>

<p><a href="Joining_Filters.htm">Joining Filters</a></p>

<p><a href="Performing_a_Quick_Search.htm">Performing a Quick Search</a></p>

<p><a href="Setting_Search_Limits.htm">Setting Search Limits</a></p>

<a HREF="Using_the_Return_Attributes_Dialog.htm">Using the Return Attributes 
 Dialog</a> 

<!--begin!kadov{{--><br><!--}}end!kadov--><!--kadov_tag{{<implicit_p>}}--><a HREF="Using_the_Search_Results_Window.htm">Using the Search Results Window</a> 
 

<!--begin!kadov{{--><br><!--}}end!kadov--><!--kadov_tag{{<implicit_p>}}--><!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->


<!--(HR)============================================================-->
<hr style="/*begin!kadov{{*/ float: aligncenter; /*}}end!kadov*/ ">


<p><font style="font-size: xx-small;"
		size=1>© 2002 Computer Associates International, Inc. (CA) <br>
All trademarks, trade names, service marks, and logos referenced herein 
 belong to their respective companies. </font></p>

</body>

</html>
