<?xml version="1.0" encoding="UTF-8"  ?>
<!-- Created with iReport - A designer for JasperReports -->
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport
		 name="PRR186_EXCEL"
		 columnCount="1"
		 printOrder="Vertical"
		 orientation="Portrait"
		 pageWidth="594"
		 pageHeight="842"
		 columnWidth="594"
		 columnSpacing="0"
		 leftMargin="0"
		 rightMargin="0"
		 topMargin="0"
		 bottomMargin="0"
		 whenNoDataType="NoPages"
		 isTitleNewPage="false"
		 isSummaryNewPage="false">
	<property name="ireport.scriptlethandling" value="0" />
	<property name="ireport.encoding" value="UTF-8" />
	<import value="java.util.*" />
	<import value="net.sf.jasperreports.engine.*" />
	<import value="net.sf.jasperreports.engine.data.*" />
	<import value="com.csc.library.utilities.CscCalendar" />

	<parameter name="DATETHAI" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[component]]></parameterDescription>
	</parameter>
	<parameter name="DATEENG" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[component]]></parameterDescription>
	</parameter>
	<parameter name="LANG" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[component]]></parameterDescription>
	</parameter>
	<parameter name="NO" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["No."]]></defaultValueExpression>
	</parameter>
	<parameter name="EMPLOYEEID" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["EmployeeID"]]></defaultValueExpression>
	</parameter>
	<parameter name="FULLNAME" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["Name-Surname"]]></defaultValueExpression>
	</parameter>
	<parameter name="POSITION" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["Position"]]></defaultValueExpression>
	</parameter>
	<parameter name="WORK-START" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["Hire Date"]]></defaultValueExpression>
	</parameter>
	<parameter name="GENDER" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["Gender"]]></defaultValueExpression>
	</parameter>
	<parameter name="BIRTHDATE" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["Birthdate"]]></defaultValueExpression>
	</parameter>
	<parameter name="NOWAGES-YYYYMMDD" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["NOWAGE"]]></defaultValueExpression>
	</parameter>
	<parameter name="LASTBU" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[component]]></parameterDescription>
	</parameter>
	<parameter name="ACTORNAME" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[component]]></parameterDescription>
	</parameter>
	<parameter name="COMPANY" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[component]]></parameterDescription>
		<defaultValueExpression ><![CDATA["csc"]]></defaultValueExpression>
	</parameter>
	<parameter name="REPORTHEADER" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[component]]></parameterDescription>
		<defaultValueExpression ><![CDATA["รายงานวันเกิด"]]></defaultValueExpression>
	</parameter>
	<parameter name="TOTAL" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["Sub-Total"]]></defaultValueExpression>
	</parameter>
	<parameter name="TOTALALL" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["Grand Total"]]></defaultValueExpression>
	</parameter>
	<parameter name="DISPLAYYEAR" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[component]]></parameterDescription>
	</parameter>
	<parameter name="RUN_NO" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["RPI3022"]]></defaultValueExpression>
	</parameter>
	<parameter name="AGES" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["Ages"]]></defaultValueExpression>
	</parameter>
	<parameter name="YEARS" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["Years"]]></defaultValueExpression>
	</parameter>
	<parameter name="MONTH" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["Month"]]></defaultValueExpression>
	</parameter>
	<parameter name="DAYS" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["Days"]]></defaultValueExpression>
	</parameter>
	<parameter name="GROUPBY" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[component]]></parameterDescription>
	</parameter>

	<field name="memployee__employeeid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__employeeid]]></fieldDescription>
	</field>
	<field name="memployee__companyid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__companyid]]></fieldDescription>
	</field>
	<field name="memployee__fname" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__fname]]></fieldDescription>
	</field>
	<field name="memployee__lname" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__lname]]></fieldDescription>
	</field>
	<field name="memployee__efname" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__efname]]></fieldDescription>
	</field>
	<field name="memployee__elname" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__elname]]></fieldDescription>
	</field>
	<field name="memployee__emp_position" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__emp_position]]></fieldDescription>
	</field>
	<field name="memployee__startdate" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__startdate]]></fieldDescription>
	</field>
	<field name="memployee__sex" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__sex]]></fieldDescription>
	</field>
	<field name="memployee__bu1" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__bu1]]></fieldDescription>
	</field>
	<field name="memployee__bu2" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__bu2]]></fieldDescription>
	</field>
	<field name="memployee__bu3" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__bu3]]></fieldDescription>
	</field>
	<field name="memployee__bu4" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__bu4]]></fieldDescription>
	</field>
	<field name="memployee__bu5" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__bu5]]></fieldDescription>
	</field>
	<field name="memployee__branch" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__branch]]></fieldDescription>
	</field>
	<field name="memployee__birthday" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__birthday]]></fieldDescription>
	</field>
	<field name="mposition__positionid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mposition__positionid]]></fieldDescription>
	</field>
	<field name="mposition__companyid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mposition__companyid]]></fieldDescription>
	</field>
	<field name="mposition__tdesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mposition__tdesc]]></fieldDescription>
	</field>
	<field name="mposition__edesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mposition__edesc]]></fieldDescription>
	</field>
	<field name="mbu1__bu1id" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu1__bu1id]]></fieldDescription>
	</field>
	<field name="mbu1__tdesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu1__tdesc]]></fieldDescription>
	</field>
	<field name="mbu1__edesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu1__edesc]]></fieldDescription>
	</field>
	<field name="mbu1__companyid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu1__companyid]]></fieldDescription>
	</field>
	<field name="mbu2__bu2id" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu2__bu2id]]></fieldDescription>
	</field>
	<field name="mbu2__tdesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu2__tdesc]]></fieldDescription>
	</field>
	<field name="mbu2__edesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu2__edesc]]></fieldDescription>
	</field>
	<field name="mbu2__companyid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu2__companyid]]></fieldDescription>
	</field>
	<field name="mbu3__bu3id" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu3__bu3id]]></fieldDescription>
	</field>
	<field name="mbu3__tdesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu3__tdesc]]></fieldDescription>
	</field>
	<field name="mbu3__edesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu3__edesc]]></fieldDescription>
	</field>
	<field name="mbu3__companyid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu3__companyid]]></fieldDescription>
	</field>
	<field name="mbu4__bu4id" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu4__bu4id]]></fieldDescription>
	</field>
	<field name="mbu4__tdesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu4__tdesc]]></fieldDescription>
	</field>
	<field name="mbu4__edesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu4__edesc]]></fieldDescription>
	</field>
	<field name="mbu4__companyid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu4__companyid]]></fieldDescription>
	</field>
	<field name="mbu5__bu5id" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu5__bu5id]]></fieldDescription>
	</field>
	<field name="mbu5__tdesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu5__tdesc]]></fieldDescription>
	</field>
	<field name="mbu5__edesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu5__edesc]]></fieldDescription>
	</field>
	<field name="mbu5__companyid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu5__companyid]]></fieldDescription>
	</field>
	<field name="mbranch__branchid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbranch__branchid]]></fieldDescription>
	</field>
	<field name="mbranch__tdesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbranch__tdesc]]></fieldDescription>
	</field>
	<field name="mbranch__edesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbranch__edesc]]></fieldDescription>
	</field>
	<field name="mbranch__companyid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbranch__companyid]]></fieldDescription>
	</field>
	<field name="memployee__fullname" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__fullname]]></fieldDescription>
	</field>
	<field name="memployee__empages" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__empages]]></fieldDescription>
	</field>
	<field name="memployee__empages_dot" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__empages_dot]]></fieldDescription>
	</field>

	<variable name="COUNTBU1" class="java.lang.Integer" resetType="Report" calculation="Count">
		<variableExpression><![CDATA[$F{memployee__employeeid}]]></variableExpression>
	</variable>
	<variable name="COUNTBU2" class="java.lang.Integer" resetType="Report" calculation="Count">
		<variableExpression><![CDATA[$F{memployee__employeeid}]]></variableExpression>
	</variable>
	<variable name="COUNTBU3" class="java.lang.Integer" resetType="Report" calculation="Count">
		<variableExpression><![CDATA[$F{memployee__employeeid}]]></variableExpression>
	</variable>
	<variable name="COUNTBU4" class="java.lang.Integer" resetType="Report" calculation="Count">
		<variableExpression><![CDATA[$F{memployee__employeeid}]]></variableExpression>
	</variable>
	<variable name="COUNTBU5" class="java.lang.Integer" resetType="Report" calculation="Count">
		<variableExpression><![CDATA[$F{memployee__employeeid}]]></variableExpression>
	</variable>
	<variable name="EMP_COUNT" class="java.lang.Integer" resetType="Group" resetGroup="GROUP" calculation="Count">
		<variableExpression><![CDATA[$F{memployee__employeeid}]]></variableExpression>
	</variable>

		<group  name="GROUP" >
			<groupExpression><![CDATA[$P{GROUPBY}.equalsIgnoreCase("memployee.branch")?$F{memployee__branch}:
$P{GROUPBY}.equalsIgnoreCase("memployee.bu1")?$F{memployee__bu1}:
$P{GROUPBY}.equalsIgnoreCase("memployee.bu2")?$F{memployee__bu2}:
$P{GROUPBY}.equalsIgnoreCase("memployee.bu3")?$F{memployee__bu3}:
$P{GROUPBY}.equalsIgnoreCase("memployee.bu4")?$F{memployee__bu4}:""
]]></groupExpression>
			<groupHeader>
			<band height="20"  isSplitAllowed="true" >
				<printWhenExpression><![CDATA[new Boolean(!$P{GROUPBY}.equals("0")&&!$P{GROUPBY}.equals(""))]]></printWhenExpression>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="0"
						width="594"
						height="20"
						key="textField-73"/>
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")?

$P{GROUPBY}.equalsIgnoreCase("memployee.branch")?$F{mbranch__tdesc}:
$P{GROUPBY}.equalsIgnoreCase("memployee.bu1")?$F{mbu1__tdesc}:
$P{GROUPBY}.equalsIgnoreCase("memployee.bu2")?$F{mbu1__tdesc}+", "+$F{mbu2__tdesc}:
$P{GROUPBY}.equalsIgnoreCase("memployee.bu3")?$F{mbu1__tdesc}+", "+$F{mbu2__tdesc}+", "+$F{mbu3__tdesc}:
$P{GROUPBY}.equalsIgnoreCase("memployee.bu4")?$F{mbu1__tdesc}+", "+$F{mbu2__tdesc}+", "+$F{mbu3__tdesc}+", "+$F{mbu4__tdesc}:""

:

$P{GROUPBY}.equalsIgnoreCase("memployee.branch")?$F{mbranch__edesc}:
$P{GROUPBY}.equalsIgnoreCase("memployee.bu1")?$F{mbu1__edesc}:
$P{GROUPBY}.equalsIgnoreCase("memployee.bu2")?$F{mbu1__edesc}+", "+$F{mbu2__edesc}:
$P{GROUPBY}.equalsIgnoreCase("memployee.bu3")?$F{mbu1__edesc}+", "+$F{mbu2__edesc}+", "+$F{mbu3__edesc}:
$P{GROUPBY}.equalsIgnoreCase("memployee.bu4")?$F{mbu1__edesc}+", "+$F{mbu2__edesc}+", "+$F{mbu3__edesc}+", "+$F{mbu4__edesc}:""]]></textFieldExpression>
				</textField>
			</band>
			</groupHeader>
			<groupFooter>
			<band height="20"  isSplitAllowed="true" >
				<printWhenExpression><![CDATA[new Boolean(!$P{GROUPBY}.equals("0")&&!$P{GROUPBY}.equals(""))]]></printWhenExpression>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="0"
						width="456"
						height="20"
						key="textField-55"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/>
					<textElement verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{TOTAL}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="456"
						y="0"
						width="138"
						height="20"
						key="textField-56"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="Thin" rightBorderColor="#000000" rightPadding="7" bottomBorder="Thin" bottomBorderColor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{GROUP_COUNT}]]></textFieldExpression>
				</textField>
			</band>
			</groupFooter>
		</group>
		<background>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</background>
		<title>
			<band height="0"  isSplitAllowed="false" >
			</band>
		</title>
		<pageHeader>
			<band height="100"  isSplitAllowed="true" >
				<printWhenExpression><![CDATA[new Boolean($V{PAGE_NUMBER}.intValue()==1)]]></printWhenExpression>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						mode="Transparent"
						x="0"
						y="0"
						width="594"
						height="28"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="textField-62"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="24" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{COMPANY}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						mode="Transparent"
						x="526"
						y="46"
						width="68"
						height="18"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="textField-63"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{RUN_NO}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						mode="Transparent"
						x="70"
						y="46"
						width="386"
						height="18"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="textField-64"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")?
$P{DATETHAI}:$P{DATEENG}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						mode="Transparent"
						x="70"
						y="64"
						width="524"
						height="18"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="textField-65"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")?
$P{ACTORNAME}:$P{ACTORNAME}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						mode="Transparent"
						x="0"
						y="46"
						width="70"
						height="18"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="textField-66"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")?
"วันที่พิมพ์ : ":"Print date : "]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						mode="Transparent"
						x="0"
						y="64"
						width="70"
						height="18"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="textField-67"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")?
"พิมพ์โดย : ":"Print by : "]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						mode="Transparent"
						x="456"
						y="46"
						width="70"
						height="18"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="textField-68"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Top" lineSpacing="Single">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")?
"อ้างอิง # ":"Ref # "]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						mode="Transparent"
						x="70"
						y="28"
						width="524"
						height="18"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="textField-70"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{REPORTHEADER}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						mode="Transparent"
						x="0"
						y="28"
						width="70"
						height="18"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="textField-71"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")?
"รายงาน : ":"Report Name : "]]></textFieldExpression>
				</textField>
			</band>
		</pageHeader>
		<columnHeader>
			<band height="20"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="0"
						width="22"
						height="20"
						key="textField-1"/>
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="12" isBold="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{NO}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="22"
						y="0"
						width="48"
						height="20"
						key="textField-2"/>
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="12" isBold="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{EMPLOYEEID}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="70"
						y="0"
						width="150"
						height="20"
						key="textField-3"/>
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="12" isBold="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{FULLNAME}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="220"
						y="0"
						width="110"
						height="20"
						key="textField-4"/>
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="12" isBold="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{POSITION}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="330"
						y="0"
						width="70"
						height="20"
						key="textField-5"/>
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="12" isBold="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{WORK-START}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="400"
						y="0"
						width="56"
						height="20"
						key="textField-6"/>
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="12" isBold="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{GENDER}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="526"
						y="0"
						width="68"
						height="20"
						key="textField-8"/>
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="12" isBold="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")?
"Ages (YYMMDD)":"อายุ (ปปดดวว)"]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="456"
						y="0"
						width="70"
						height="20"
						key="textField-9"/>
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="12" isBold="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{BIRTHDATE}]]></textFieldExpression>
				</textField>
			</band>
		</columnHeader>
		<detail>
			<band height="28"  isSplitAllowed="true" >
				<elementGroup><!--  Start: 1 !-->
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="0"
						width="22"
						height="28"
						key="textField-12"/>
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{EMP_COUNT}]]></textFieldExpression>
				</textField>
				</elementGroup><!-- End 1 !-->
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="22"
						y="0"
						width="48"
						height="28"
						key="textField-14"/>
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{memployee__employeeid}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="70"
						y="0"
						width="150"
						height="28"
						key="textField-17"/>
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{memployee__fullname}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="220"
						y="0"
						width="110"
						height="28"
						key="textField-18"/>
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="2" rightBorder="Thin" rightBorderColor="#000000" rightPadding="2" bottomBorder="Thin" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="11" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{mposition__tdesc}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="526"
						y="0"
						width="68"
						height="28"
						key="textField-22"/>
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="Thin" rightBorderColor="#000000" rightPadding="7" bottomBorder="Thin" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[($P{DISPLAYYEAR}.equals("1"))?$F{memployee__empages_dot}:"xx"]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="330"
						y="0"
						width="70"
						height="28"
						key="textField-23"/>
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="2" rightBorder="Thin" rightBorderColor="#000000" rightPadding="2" bottomBorder="Thin" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[new CscCalendar($F{memployee__startdate}).getDDMMYYYY()]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="400"
						y="0"
						width="56"
						height="28"
						key="textField-24"/>
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="2" rightBorder="Thin" rightBorderColor="#000000" rightPadding="2" bottomBorder="Thin" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[new com.csc.library.report.ReportUDF().getSystemCode("SEX",$P{LANG},$F{memployee__sex})]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="456"
						y="0"
						width="70"
						height="28"
						key="textField-25"/>
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="Thin" rightBorderColor="#000000" rightPadding="7" bottomBorder="Thin" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[($P{DISPLAYYEAR}.equals("1"))? 
new CscCalendar($F{memployee__birthday}).getDDMMYYYY() : new CscCalendar($F{memployee__birthday}).getDDMMYYYY().substring(0,6)+"xxxx"]]></textFieldExpression>
				</textField>
			</band>
		</detail>
		<columnFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnFooter>
		<pageFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</pageFooter>
		<summary>
			<band height="20"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="0"
						width="456"
						height="20"
						key="textField-57"/>
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/>
					<textElement verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{TOTALALL}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="456"
						y="0"
						width="138"
						height="20"
						key="textField-58"/>
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="Thin" rightBorderColor="#000000" rightPadding="7" bottomBorder="Thin" bottomBorderColor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{REPORT_COUNT}]]></textFieldExpression>
				</textField>
			</band>
		</summary>
</jasperReport>