<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/tt/adv/ttadv3506m000" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Form Fields (ttadv3506m000)</Title>
	</Header>
	<HelpTopic xml:lang="en"><AimSection><Paragraph class="Default">
                                 Use this session to maintain <Link href="/baanerp/tt/glossary/glossary#000000000000015" role="glossary">form fields</Link>.</Paragraph>
			<Paragraph class="Default">A form field can either be a table field or a non-table field.</Paragraph>
		</AimSection>
		<ExampleSection><SectionTitle>
                                 Example
                              </SectionTitle>
			<Paragraph class="Default"><Emphasis>Table field example</Emphasis> tiitm001.item</Paragraph>
			<Paragraph class="Default">tiitm001 is the table and item a field in that table. <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> automatically fills the form field domain based on the table field data.</Paragraph>
			<Paragraph class="Default"><Emphasis>Non-table field example</Emphasis> field.desc</Paragraph>
			<Paragraph class="Default">Both the field and the domain to which it belongs must be defined in the program script as follows:</Paragraph>
			<Formula space-and-orientation="indented-estimated"><Paragraph class="Default"> extern domain ttcdes
			 field.desc </Paragraph>
			</Formula>
			<Paragraph class="Default">Note that you must include the keyword 'extern' because it is a non-table field.</Paragraph>
		</ExampleSection>
		<Note><SectionTitle>
                                 Note
                              </SectionTitle>
			<Paragraph class="Default">If you have started this session by zooming, you can only find and select a record.</Paragraph>
		</Note>
	</HelpTopic>
	<Fields><FieldHelp ID="ttadv301.clan"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Language</Title>
			</Header>
			<FuncDesc>The language in which the <Link href="/baanerp/tt/glossary/glossary#form.tt" role="glossary">form</Link> and the <Link href="/baanerp/tt/glossary/glossary#000000000000015" role="glossary">form fields</Link> are stored.</FuncDesc>
			<SimpleSection><Paragraph class="Default">The language determines which field descriptions apply at run time.</Paragraph>
				<Paragraph class="Default">For example, if your current language is 2, the field descriptions from language 2 are shown at run time. Your current language is specified in the <Link href="/baanerp/tt/ams/ttams1100s000" role="session">User Data (ttams1100s000)</Link> session.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="ttadv301.cpac"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Package VRC</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/tt/glossary/glossary#000000000000008" role="glossary">package</Link> code of the <Link href="/baanerp/tt/glossary/glossary#000000000000013" role="glossary">package VRC</Link>.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttadv301.vers"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Package VRC</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/tt/glossary/glossary#000000000000009" role="glossary">version</Link> code of the <Link href="/baanerp/tt/glossary/glossary#000000000000013" role="glossary">package VRC</Link>.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttadv301.rele"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Package VRC</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/tt/glossary/glossary#000000000000010" role="glossary">release</Link> code of the <Link href="/baanerp/tt/glossary/glossary#000000000000013" role="glossary">package VRC</Link>.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttadv301.cust"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Package VRC</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/tt/glossary/glossary#000000000000011" role="glossary">customer</Link> code of the <Link href="/baanerp/tt/glossary/glossary#000000000000013" role="glossary">package VRC</Link>.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttadv301.cfrm"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Form</Title>
			</Header>
			<FuncDesc>A screen that appears when a session is started. A form interacts with the database, and provides the user interface that is used to manipulate the data on the form.</FuncDesc>
			<SimpleSection><List><ListIntro>A form is uniquely identified by the combination of:</ListIntro>
					<ListItem>The <Link href="/baanerp/tt/glossary/glossary#000000000000008" role="glossary">package</Link> code.</ListItem>
					<ListItem>The <Link href="/baanerp/tt/glossary/glossary#100004" role="glossary">module</Link> code.</ListItem>
					<ListItem>The form code.</ListItem>
					<ListItem>The language code.</ListItem>
				</List>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="ttadv301.omod"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Sequence No.</Title>
			</Header>
			<FuncDesc>Indicates the input and display order of the form fields. You can change the order of the fields by pressing CTRL+O in the form editor.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttadv301.fldn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Field Name</Title>
			</Header>
			<FuncDesc>The name (code) of the form field.</FuncDesc>
			<SimpleSection><Paragraph class="Default">A form field can either be a table field or a non-table field.</Paragraph>
				<Paragraph class="Default">An example of a table field is 'tiitm001.item', where tiitm001 is the table and 'item' a field in that table. The form field domain is automatically filled in the current session based on the table field data.</Paragraph>
				<Paragraph class="Default">It is also possible to define a non-table field, assuming that you have defined it in the program script that is linked to the session for which the form is used.</Paragraph>
				<Paragraph class="Default">This program variable must be defined with keyword 'extern' in the program script. The data type of the variable must be equal to the data type defined in the form.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="fld.pacd"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Domain</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/tt/glossary/glossary#000000000000008" role="glossary">package</Link> code of the <Link href="/baanerp/tt/glossary/glossary#domain.tt" role="glossary">domain</Link>.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="fld.cdom"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Domain</Title>
			</Header>
			<FuncDesc>The code of the <Link href="/baanerp/tt/glossary/glossary#domain.tt" role="glossary">domain</Link>.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="fld.type"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Data Type</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/tt/glossary/glossary#domain.tt" role="glossary">domain</Link> type.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttadv301.elem"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">El.</Title>
			</Header>
			<FuncDesc>When the form field is part of an <Link href="/baanerp/tt/glossary/glossary#000011" role="glossary">array</Link>, this field shows the element number.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttadv301.flen"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Length</Title>
			</Header>
			<FuncDesc>The length (number of positions) of the field in the form.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttadv301.zoom"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Zoom</Title>
			</Header>
			<FuncDesc>Indicates whether a session or a menu can be activated from this field.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttadv301.zprg"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Program</Title>
			</Header>
			<FuncDesc>The code of the session or menu that you can activate from this field.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttadv301.zopm"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">* Obsolete *</Title>
			</Header>
			<FuncDesc>The sequence number of the zoom menu.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttadv301.zret"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Return Field</Title>
			</Header>
			<FuncDesc>The name of the field in the <Link href="/baanerp/tt/glossary/glossary#000007" role="glossary">zoom session</Link> from which the value will be returned to the field in the session you zoom from.</FuncDesc>
		</FieldHelp>
	</Fields>
</Session>
