<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tt/EnterpriseStudio/onlinemanual/to_specify_indices_for_a_session" xml:lang="en" TopicType="Overview">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">To specify indices for a session</Title>
		<Keyword ContextSensitive="No"><Level1>
                                    Infor ERP LN Development Tools
                                 </Level1>
			<Level2>index</Level2>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph class="Default">Indices allow users to use the defined indices for a table within the session. From a user interface perspective, indices help users sort and categorize groups of records within a table. Users change the index using the <GUIRef href="" role="manual">Sort by</GUIRef> option in a session's <GUIRef href="" role="manual">View</GUIRef> menu.</Paragraph>
		<ExampleSection><SectionTitle>
                                    Example- Indices for the Item Table</SectionTitle>
			<Paragraph class="Default">The Item table has 2 indices: Item and Item Group. When these indices are active for the session, the user is able to sort by the indices.</Paragraph>
			<Figure space-and-orientation="indented-estimated"><HTML:IMG height="266" width="442" SRC="../images/nt_screen_to_specify_indices_for_a_session1.gif" path="/enterpriseserver/tools/tt/enterprisestudio/onlinemanual" btb-count="1" btb-count2="1" btb-image-name="nt_screen_to_specify_indices_for_a_session1.gif" btb-source-path="C:\SVN\docnl\Technology\EnterpriseServer~8.5\EnterpriseServer" btb-image-path="/enterpriseserver/tools/tt/enterprisestudio/images/nt_screen_to_specify_indices_for_a_session1.gif" ID="IDAE20AC" alt="[...]" xmlns:HTML="http://www.w3.org/TR/REC-html40"/><FigCaption>Index Change</FigCaption>
			</Figure>
		</ExampleSection>
		<Paragraph class="Default">The indices of the table can be active for a session. An index that has more than one field can be defined to show the first fields as a view field. A view field allows users to select only those rows that contain the view field value within their index value.</Paragraph>
		<ExampleSection><SectionTitle>
                                    Example- View Field</SectionTitle>
			<Paragraph class="Default">The Item group index for the Item table has 2 fields: Item Group and Item. When the user changes the index to the Item Group index, the Item Group field shows as the view field. The fact that the form changes its display is called Dynamic Index Switching.</Paragraph>
			<Figure space-and-orientation="indented-estimated"><HTML:IMG height="286" width="557" SRC="../images/nt_screen_to_specify_indices_for_a_session2.gif" path="/enterpriseserver/tools/tt/enterprisestudio/onlinemanual" btb-count="1" btb-count2="1" btb-image-name="nt_screen_to_specify_indices_for_a_session2.gif" btb-source-path="C:\SVN\docnl\Technology\EnterpriseServer~8.5\EnterpriseServer" btb-image-path="/enterpriseserver/tools/tt/enterprisestudio/images/nt_screen_to_specify_indices_for_a_session2.gif" ID="IDAN20AC" alt="[...]" xmlns:HTML="http://www.w3.org/TR/REC-html40"/><FigCaption>Index Change Result</FigCaption>
			</Figure>
		</ExampleSection>
		<Paragraph class="Default">For more information, refer to <Emphasis>To implement dynamic index switching</Emphasis> in the Infor Web Help.</Paragraph>
		<GeneralSection><SectionTitle>To specify the indices for a session</SectionTitle>
			<ProcedureList><ListIntro>To specify the indices for a session:</ListIntro>
				<ListItem>In the Dynamic Form Editor, click the <GUIRef href="" role="manual">Indices</GUIRef> command on the <GUIRef href="" role="manual">Tools</GUIRef> menu. Alternatively, click <GUIRef href="" role="command">Indices...</GUIRef> on the <GUIRef href="" role="menu">Specific</GUIRef> menu in the <GUIRef href="" role="session">Sessions (ttadv2500m000)</GUIRef> session. The <GUIRef href="" role="session">Available Indices by Session (ttadv2101s000)</GUIRef> session starts.</ListItem>
				<ListItem>Select the indices that you wish to have available. For each index, specify the order that the index will show in the <GUIRef href="" role="manual">Sort by</GUIRef> window, and the number of fields in the view field.</ListItem>
				<ListItem>Click <GUIRef href="" role="manual">OK</GUIRef>.</ListItem>
			</ProcedureList>
		</GeneralSection>
	</GeneralSection>
	<RelatedTopics><SectionTitle>
                                 Related topics
                              </SectionTitle>
		<RelTopic><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/to_create_sessions" role="manual">To create sessions</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/to_create_forms" role="manual">To create forms</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/to_edit_forms" role="manual">To edit forms</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
