<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tt/onlinemanual/100033" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">To define label codes</Title>
		<Keyword ContextSensitive="No"><Level1>Label code</Level1>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph class="Default">You can link a label to a table field by using the table field code for the label code. It is recommended that you use label codes that link the labels to database table fields as often as possible.</Paragraph>
		<GeneralSection><SectionTitle>Automatic alignment</SectionTitle>
			<Paragraph class="Default">If you link the label to a table field to which a domain definition is linked, the label description is automatically aligned in the same way as defined for the domain. This only applies to label descriptions displayed in multi-occurrence sessions.</Paragraph>
			<Paragraph class="Default">If you change the alignment of the domain, you do not need to change all the multi-occurrence forms. If you dump the forms to run time again, the label description has the alignment that you defined for the domain. This is especially useful for fields with flexible alignment.</Paragraph>
			<Paragraph class="Default">If you specify the adjustment in the label fields of a form or report, you can overrule the domain adjustment.</Paragraph>
			<Paragraph class="Default"> 
                                 Example tcibd001.item is the Item Code field of table tcibd001</Paragraph>
			<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><TBODY><TR><TD rowspan="1" colspan="1">Table field code :</TD>
						<TD rowspan="1" colspan="1">tcibd001.item</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Associated domain :</TD>
						<TD rowspan="1" colspan="1">tcibd.item</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Label Code :</TD>
						<TD rowspan="1" colspan="1">tcibd001.item</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Label description :</TD>
						<TD rowspan="1" colspan="1">Item Code</TD>
					</TR>
				</TBODY>
			</TABLE>
		</GeneralSection>
	</GeneralSection>
	<RelatedTopics><SectionTitle>
                              Related topics
                           </SectionTitle>
		<RelTopic><Link href="/baanerp/tt/onlinemanual/100022" role="manual">To use labels</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
