<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tt/onlinemanual/100034" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">To define label length and label height</Title>
		<Keyword ContextSensitive="No"><Level1>Label</Level1>
			<Level2>length</Level2>
		</Keyword>
		<Keyword ContextSensitive="No"><Level1>Label</Level1>
			<Level2>height</Level2>
		</Keyword>
		<Keyword ContextSensitive="No"><Level1>Label</Level1>
			<Level2>multiple descriptions</Level2>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph class="Default">The length of a label is the display width of the description. At a ASCII or ISO8859-x, the character count equals the display width fortunately. But as for multi-byte languages like Japanese, Chinese, they are different. The height of a label is the number of lines of the description. If the label height is greater than one, you must insert a % sign in the description to indicate the line break. Type %% to include the % character in the label description.</Paragraph>
		<GeneralSection><SectionTitle>Specifying different descriptions for one label</SectionTitle>
			<Paragraph class="Default">You can define different descriptions with different lengths or heights for the same label code. If more that one label definition is present, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> uses the longest label that fits the available space for the label description on the form, report, or menu.</Paragraph>
		</GeneralSection>
		<GeneralSection ID="34A"><SectionTitle>Example of different label descriptions</SectionTitle>
			<Paragraph class="Default">To present the text: Credit Insurance Company in different ways, three descriptions are defined for the tcmcs009.ccic label:</Paragraph>
			<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><TBODY><TR><TD rowspan="1" colspan="1">Label code =</TD>
						<TD rowspan="1" colspan="1">tcmcs009.ccic</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Height =</TD>
						<TD rowspan="1" colspan="1">1</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Length =</TD>
						<TD rowspan="1" colspan="1">24</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Description =</TD>
						<TD rowspan="1" colspan="1">Credit Insurance Company</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Result:</TD>
						<TD rowspan="1" colspan="1">Credit Insurance Company</TD>
					</TR>
				</TBODY>
			</TABLE>
			<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><TBODY><TR><TD rowspan="1" colspan="1">Label code =</TD>
						<TD rowspan="1" colspan="1">tcmcs009.ccic</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Height =</TD>
						<TD rowspan="1" colspan="1">3</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Length =</TD>
						<TD rowspan="1" colspan="1">9</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Description =</TD>
						<TD rowspan="1" colspan="1">Credit %Insurance %Company</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Result:</TD>
						<TD rowspan="1" colspan="1">Credit</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1"></TD>
						<TD rowspan="1" colspan="1">Insurance</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1"></TD>
						<TD rowspan="1" colspan="1">Company</TD>
					</TR>
				</TBODY>
			</TABLE>
			<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><TBODY><TR><TD rowspan="1" colspan="1">Label code =</TD>
						<TD rowspan="1" colspan="1">tcmcs009.ccic</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Height =</TD>
						<TD rowspan="1" colspan="1">2</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Length =</TD>
						<TD rowspan="1" colspan="1">10</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Description =</TD>
						<TD rowspan="1" colspan="1">Cred. Ins. %Comp.</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Result:</TD>
						<TD rowspan="1" colspan="1">Cred. Ins.</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1"></TD>
						<TD rowspan="1" colspan="1">Comp.</TD>
					</TR>
				</TBODY>
			</TABLE>
		</GeneralSection>
		<GeneralSection><SectionTitle>Strip labels</SectionTitle>
			<Paragraph class="Default">If you change a label description to a text with a shorter length, you do not need to update the length field. You can use the <GUIRef href="/baanerp/tt/adv/ttadv1250m000" role="session">Strip Labels (ttadv1250m000)</GUIRef> session to reset the label lengths to the actual description lengths for a range of labels.</Paragraph>
		</GeneralSection>
	</GeneralSection>
	<RelatedTopics><SectionTitle>
                              Related topics
                           </SectionTitle>
		<RelTopic><Link href="/baanerp/tt/onlinemanual/100022" role="manual">To use labels</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
