<?xml version='1.0' encoding='UTF-8' ?>
<EXPXML name="TMB.xml" fileout="C:/ExportOutput/TMB.txt" filetype="TXT" processtype="file">
	<INIT>
		double emp_amt=0;
		double com_amt=0;
		double amt=0;
		Double d=null;
		int reccount= 0;
	</INIT>
	<DATA>
		<COL type="data">++reccount</COL>															<!-- A:ลำดับที่ -->
		<COL type="string">||</COL>														
		<COL type="data">
		(calendar.setCscCalendar(dbInq.getString("Mempl_pvf","registerdate")).getEngYYYY()+"-"+calendar.setCscCalendar(dbInq.getString("Mempl_pvf","registerdate")).getMM()).equals(calendar.setCscCalendar(dbInq.getString("Memployee","paymentdate")).getEngYYYY()+"-"+calendar.setCscCalendar(dbInq.getString("Memployee","paymentdate")).getMM())?"N":
		(calendar.setCscCalendar(dbInq.getString("Mempl_pvf","expiredate")).getEngYYYY()+"-"+calendar.setCscCalendar(dbInq.getString("Mempl_pvf","expiredate")).getMM()).equals(calendar.setCscCalendar(dbInq.getString("Memployee","paymentdate")).getEngYYYY()+"-"+calendar.setCscCalendar(dbInq.getString("Memployee","paymentdate")).getMM())?"W":""
		</COL>			<!-- B:ประเภทการเปลี่ยนแปลง -->
		<COL type="string">||</COL>														
		<COL type="data">dbInq.getString("Memployee","bu4")</COL>			<!-- C:รหัสหน่วยงาน BU4 -->
		<COL type="string">||</COL>														
		<COL type="data">dbInq.getString("employeeid")</COL>			<!-- D:รหัสสมาชิก : 15 -->
		<COL type="string">||</COL>														
		<COL type="data" >dbInq.getString("Mprefix","tdesc")</COL>	<!--E: คำนำหน้าชื่อ -->
		<COL type="string">||</COL>														
		<COL type="data">dbInq.getString("Memployee","fname")</COL> <!--F: ชื่อ -->
		<COL type="string">||</COL>														
		<COL type="data">dbInq.getString("Memployee","lname")</COL> <!-- G:นามสกุล -->
		<COL type="string">||</COL>														
		<COL type="data" dateformat="DDMMYYYY">calendar.setCscCalendar(dbInq.getString("Memployee","birthday")).getDDMMYYYY()</COL> <!--H: วันเกิด -->
		<COL type="string">||</COL>														
		<COL type="string">M</COL> <!-- I:ประเภทสมาชิก -->
		<COL type="string">||</COL>														
		<COL type="data">dbInq.getString("Memployee","id_people")</COL> <!--J: เลขที่บัตรประชาชน -->
		<COL type="string">||</COL>														
		<COL type="data" dateformat="DDMMYYYY">calendar.setCscCalendar(dbInq.getString("Memployee","startdate")).getDDMMYYYY()</COL> <!--K: วันที่เข้างาน -->
		<COL type="string">||</COL>														
		<COL type="data" dateformat="DDMMYYYY">calendar.setCscCalendar(dbInq.getString("Mempl_pvf","registerdate")).getDDMMYYYY()</COL>  <!--L: วันที่เข้าเป็นสมาชิก -->
		<COL type="string">||</COL>														
		<COL type="data" dateformat="DDMMYYYY">calendar.setCscCalendar(dbInq.getString("gendate")).getDDMMYYYY()</COL> <!-- M:วันที่ข้อมูล : 8 -->
		<COL type="string">||</COL>														
		<COL type="data">dbInq.getString("emplamount")</COL><!--N: เงินสะสม : 11 -->
		<COL type="string">||</COL>														
		<COL type="data">dbInq.getString("compamount")</COL><!--O: เงินสมทบ : 11 -->
		<COL type="string">newline</COL>	
	</DATA>
</EXPXML>