<?php



$tdataNewApplicationsList2017 = array();
$tdataNewApplicationsList2017[".searchableFields"] = array();
$tdataNewApplicationsList2017[".ShortName"] = "NewApplicationsList2017";
$tdataNewApplicationsList2017[".OwnerID"] = "";
$tdataNewApplicationsList2017[".OriginalTable"] = "applicform";


$defaultPages = my_json_decode( "{\"export\":\"export\",\"list\":\"list\",\"print\":\"print\",\"search\":\"search\",\"view\":\"view\"}" );

$tdataNewApplicationsList2017[".pagesByType"] = my_json_decode( "{\"export\":[\"export\"],\"list\":[\"list\"],\"print\":[\"print\"],\"search\":[\"search\"],\"view\":[\"view\"]}" );
$tdataNewApplicationsList2017[".pages"] = types2pages( my_json_decode( "{\"export\":[\"export\"],\"list\":[\"list\"],\"print\":[\"print\"],\"search\":[\"search\"],\"view\":[\"view\"]}" ) );
$tdataNewApplicationsList2017[".defaultPages"] = $defaultPages;

//	field labels
$fieldLabelsNewApplicationsList2017 = array();
$fieldToolTipsNewApplicationsList2017 = array();
$pageTitlesNewApplicationsList2017 = array();
$placeHoldersNewApplicationsList2017 = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsNewApplicationsList2017["English"] = array();
	$fieldToolTipsNewApplicationsList2017["English"] = array();
	$placeHoldersNewApplicationsList2017["English"] = array();
	$pageTitlesNewApplicationsList2017["English"] = array();
	$fieldLabelsNewApplicationsList2017["English"]["Surname"] = "Surname:";
	$fieldToolTipsNewApplicationsList2017["English"]["Surname"] = "";
	$placeHoldersNewApplicationsList2017["English"]["Surname"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["FirstName"] = "Full Name:";
	$fieldToolTipsNewApplicationsList2017["English"]["FirstName"] = "";
	$placeHoldersNewApplicationsList2017["English"]["FirstName"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["Photo"] = "Photo";
	$fieldToolTipsNewApplicationsList2017["English"]["Photo"] = "";
	$placeHoldersNewApplicationsList2017["English"]["Photo"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["Gender"] = "Gender";
	$fieldToolTipsNewApplicationsList2017["English"]["Gender"] = "";
	$placeHoldersNewApplicationsList2017["English"]["Gender"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["PlaceofBirth"] = "Placeof Birth";
	$fieldToolTipsNewApplicationsList2017["English"]["PlaceofBirth"] = "";
	$placeHoldersNewApplicationsList2017["English"]["PlaceofBirth"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["FatherDistrict"] = "District";
	$fieldToolTipsNewApplicationsList2017["English"]["FatherDistrict"] = "";
	$placeHoldersNewApplicationsList2017["English"]["FatherDistrict"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["MotherDistrict"] = "Mothers District";
	$fieldToolTipsNewApplicationsList2017["English"]["MotherDistrict"] = "";
	$placeHoldersNewApplicationsList2017["English"]["MotherDistrict"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["LastInstitutuonAttended"] = "Last Institutuon Attended";
	$fieldToolTipsNewApplicationsList2017["English"]["LastInstitutuonAttended"] = "";
	$placeHoldersNewApplicationsList2017["English"]["LastInstitutuonAttended"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["TertiaryInstitutionAdmitted"] = "Tertiary Institution Admitted";
	$fieldToolTipsNewApplicationsList2017["English"]["TertiaryInstitutionAdmitted"] = "";
	$placeHoldersNewApplicationsList2017["English"]["TertiaryInstitutionAdmitted"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["ProgramName"] = "Program Name";
	$fieldToolTipsNewApplicationsList2017["English"]["ProgramName"] = "";
	$placeHoldersNewApplicationsList2017["English"]["ProgramName"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["NewApplicant"] = "New Applicant";
	$fieldToolTipsNewApplicationsList2017["English"]["NewApplicant"] = "";
	$placeHoldersNewApplicationsList2017["English"]["NewApplicant"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["Reapply"] = "Reapply";
	$fieldToolTipsNewApplicationsList2017["English"]["Reapply"] = "";
	$placeHoldersNewApplicationsList2017["English"]["Reapply"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["HighestGradeCompleted"] = "Highest Grade Completed";
	$fieldToolTipsNewApplicationsList2017["English"]["HighestGradeCompleted"] = "";
	$placeHoldersNewApplicationsList2017["English"]["HighestGradeCompleted"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["EmailAddrssAppl"] = "Email Addrss Appl";
	$fieldToolTipsNewApplicationsList2017["English"]["EmailAddrssAppl"] = "";
	$placeHoldersNewApplicationsList2017["English"]["EmailAddrssAppl"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["MobileNoAppl"] = "Mobile No Appl";
	$fieldToolTipsNewApplicationsList2017["English"]["MobileNoAppl"] = "";
	$placeHoldersNewApplicationsList2017["English"]["MobileNoAppl"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["DateofBirth"] = "Dateof Birth";
	$fieldToolTipsNewApplicationsList2017["English"]["DateofBirth"] = "";
	$placeHoldersNewApplicationsList2017["English"]["DateofBirth"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["MOTHERSURNAME"] = "Mother's Surname";
	$fieldToolTipsNewApplicationsList2017["English"]["MOTHERSURNAME"] = "";
	$placeHoldersNewApplicationsList2017["English"]["MOTHERSURNAME"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["WitnessName"] = "Witness Name";
	$fieldToolTipsNewApplicationsList2017["English"]["WitnessName"] = "";
	$placeHoldersNewApplicationsList2017["English"]["WitnessName"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["Judge1Comment"] = "Judge1Comment";
	$fieldToolTipsNewApplicationsList2017["English"]["Judge1Comment"] = "";
	$placeHoldersNewApplicationsList2017["English"]["Judge1Comment"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["Documents"] = "Documents";
	$fieldToolTipsNewApplicationsList2017["English"]["Documents"] = "";
	$placeHoldersNewApplicationsList2017["English"]["Documents"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["WitnessAddress"] = "Witness Address";
	$fieldToolTipsNewApplicationsList2017["English"]["WitnessAddress"] = "";
	$placeHoldersNewApplicationsList2017["English"]["WitnessAddress"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["MOTHERNAME"] = "Mother's Name";
	$fieldToolTipsNewApplicationsList2017["English"]["MOTHERNAME"] = "";
	$placeHoldersNewApplicationsList2017["English"]["MOTHERNAME"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["FATHERSNAME"] = "Father's Name";
	$fieldToolTipsNewApplicationsList2017["English"]["FATHERSNAME"] = "";
	$placeHoldersNewApplicationsList2017["English"]["FATHERSNAME"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["WitnessOccupation"] = "Witness Occupation";
	$fieldToolTipsNewApplicationsList2017["English"]["WitnessOccupation"] = "";
	$placeHoldersNewApplicationsList2017["English"]["WitnessOccupation"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["MPGID"] = "MPGID";
	$fieldToolTipsNewApplicationsList2017["English"]["MPGID"] = "";
	$placeHoldersNewApplicationsList2017["English"]["MPGID"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["FATHERSURNAME"] = "Father's Surname";
	$fieldToolTipsNewApplicationsList2017["English"]["FATHERSURNAME"] = "";
	$placeHoldersNewApplicationsList2017["English"]["FATHERSURNAME"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["1styear"] = "1styear";
	$fieldToolTipsNewApplicationsList2017["English"]["1styear"] = "";
	$placeHoldersNewApplicationsList2017["English"]["1styear"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["grade12cert"] = "Grade12cert";
	$fieldToolTipsNewApplicationsList2017["English"]["grade12cert"] = "";
	$placeHoldersNewApplicationsList2017["English"]["grade12cert"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["gradetencert"] = "Gradetencert";
	$fieldToolTipsNewApplicationsList2017["English"]["gradetencert"] = "";
	$placeHoldersNewApplicationsList2017["English"]["gradetencert"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["acceptletter"] = "Acceptletter";
	$fieldToolTipsNewApplicationsList2017["English"]["acceptletter"] = "";
	$placeHoldersNewApplicationsList2017["English"]["acceptletter"] = "";
	$fieldLabelsNewApplicationsList2017["English"]["assessed"] = "Assessed";
	$fieldToolTipsNewApplicationsList2017["English"]["assessed"] = "";
	$placeHoldersNewApplicationsList2017["English"]["assessed"] = "";
	if (count($fieldToolTipsNewApplicationsList2017["English"]))
		$tdataNewApplicationsList2017[".isUseToolTips"] = true;
}


	$tdataNewApplicationsList2017[".NCSearch"] = true;



$tdataNewApplicationsList2017[".shortTableName"] = "NewApplicationsList2017";
$tdataNewApplicationsList2017[".nSecOptions"] = 0;

$tdataNewApplicationsList2017[".mainTableOwnerID"] = "";
$tdataNewApplicationsList2017[".entityType"] = 1;

$tdataNewApplicationsList2017[".strOriginalTableName"] = "applicform";

	



$tdataNewApplicationsList2017[".showAddInPopup"] = true;

$tdataNewApplicationsList2017[".showEditInPopup"] = true;

$tdataNewApplicationsList2017[".showViewInPopup"] = true;

//page's base css files names
$popupPagesLayoutNames = array();
			;
$popupPagesLayoutNames["add"] = "add";
			;
$popupPagesLayoutNames["edit"] = "add";
			;
$popupPagesLayoutNames["view"] = "add";
$tdataNewApplicationsList2017[".popupPagesLayoutNames"] = $popupPagesLayoutNames;


	$tdataNewApplicationsList2017[".listAjax"] = true;
//	temporary
$tdataNewApplicationsList2017[".listAjax"] = false;

	$tdataNewApplicationsList2017[".audit"] = false;

	$tdataNewApplicationsList2017[".locking"] = false;


$pages = $tdataNewApplicationsList2017[".defaultPages"];

if( $pages[PAGE_EDIT] ) {
	$tdataNewApplicationsList2017[".edit"] = true;
	$tdataNewApplicationsList2017[".afterEditAction"] = 2;
	$tdataNewApplicationsList2017[".closePopupAfterEdit"] = 1;
	$tdataNewApplicationsList2017[".afterEditActionDetTable"] = "Detail tables not found!";
}

if( $pages[PAGE_ADD] ) {
$tdataNewApplicationsList2017[".add"] = true;
$tdataNewApplicationsList2017[".afterAddAction"] = 1;
$tdataNewApplicationsList2017[".closePopupAfterAdd"] = 1;
$tdataNewApplicationsList2017[".afterAddActionDetTable"] = "";
}

if( $pages[PAGE_LIST] ) {
	$tdataNewApplicationsList2017[".list"] = true;
}

$tdataNewApplicationsList2017[".updateSelected"] = true;


$tdataNewApplicationsList2017[".strSortControlSettingsJSON"] = "";




if( $pages[PAGE_VIEW] ) {
$tdataNewApplicationsList2017[".view"] = true;
}

if( $pages[PAGE_IMPORT] ) {
$tdataNewApplicationsList2017[".import"] = true;
}

if( $pages[PAGE_EXPORT] ) {
$tdataNewApplicationsList2017[".exportTo"] = true;
}

if( $pages[PAGE_PRINT] ) {
$tdataNewApplicationsList2017[".printFriendly"] = true;
}



$tdataNewApplicationsList2017[".showSimpleSearchOptions"] = true; // temp fix #13449

// Allow Show/Hide Fields in GRID
$tdataNewApplicationsList2017[".allowShowHideFields"] = true; // temp fix #13449
//

// Allow Fields Reordering in GRID
$tdataNewApplicationsList2017[".allowFieldsReordering"] = true; // temp fix #13449
//

$tdataNewApplicationsList2017[".isUseAjaxSuggest"] = true;

$tdataNewApplicationsList2017[".rowHighlite"] = true;



						

$tdataNewApplicationsList2017[".ajaxCodeSnippetAdded"] = false;

$tdataNewApplicationsList2017[".buttonsAdded"] = false;

$tdataNewApplicationsList2017[".addPageEvents"] = false;

// use timepicker for search panel
$tdataNewApplicationsList2017[".isUseTimeForSearch"] = false;




$tdataNewApplicationsList2017[".allSearchFields"] = array();
$tdataNewApplicationsList2017[".filterFields"] = array();
$tdataNewApplicationsList2017[".requiredSearchFields"] = array();

$tdataNewApplicationsList2017[".googleLikeFields"] = array();
$tdataNewApplicationsList2017[".googleLikeFields"][] = "Surname";
$tdataNewApplicationsList2017[".googleLikeFields"][] = "FirstName";
$tdataNewApplicationsList2017[".googleLikeFields"][] = "MPGID";
$tdataNewApplicationsList2017[".googleLikeFields"][] = "FatherDistrict";
$tdataNewApplicationsList2017[".googleLikeFields"][] = "TertiaryInstitutionAdmitted";
$tdataNewApplicationsList2017[".googleLikeFields"][] = "ProgramName";
$tdataNewApplicationsList2017[".googleLikeFields"][] = "1styear";
$tdataNewApplicationsList2017[".googleLikeFields"][] = "assessed";



$tdataNewApplicationsList2017[".tableType"] = "list";

$tdataNewApplicationsList2017[".printerPageOrientation"] = 0;
$tdataNewApplicationsList2017[".nPrinterPageScale"] = 100;

$tdataNewApplicationsList2017[".nPrinterSplitRecords"] = 40;

$tdataNewApplicationsList2017[".geocodingEnabled"] = false;




$tdataNewApplicationsList2017[".isDisplayLoading"] = true;

$tdataNewApplicationsList2017[".isResizeColumns"] = true;

$tdataNewApplicationsList2017[".searchIsRequiredForFilters"] = true;




$tdataNewApplicationsList2017[".pageSize"] = 20;

$tdataNewApplicationsList2017[".warnLeavingPages"] = true;



$tstrOrderBy = "ORDER BY TertiaryInstitutionAdmitted";
if(strlen($tstrOrderBy) && strtolower(substr($tstrOrderBy,0,8))!="order by")
	$tstrOrderBy = "order by ".$tstrOrderBy;
$tdataNewApplicationsList2017[".strOrderBy"] = $tstrOrderBy;

$tdataNewApplicationsList2017[".orderindexes"] = array();
	$tdataNewApplicationsList2017[".orderindexes"][] = array(16, (1 ? "ASC" : "DESC"), "TertiaryInstitutionAdmitted");


$tdataNewApplicationsList2017[".sqlHead"] = "SELECT Surname,  FirstName,  MPGID,  MobileNoAppl,  Photo,  Documents,  Gender,  DateofBirth,  PlaceofBirth,  FatherDistrict,  MOTHERNAME,  MOTHERSURNAME,  MotherDistrict,  FATHERSNAME,  FATHERSURNAME,  TertiaryInstitutionAdmitted,  WitnessName,  WitnessAddress,  WitnessOccupation,  NewApplicant,  Reapply,  EmailAddrssAppl,  Judge1Comment,  LastInstitutuonAttended,  HighestGradeCompleted,  ProgramName,  `1styear`,  grade12cert,  gradetencert,  acceptletter,  assessed";
$tdataNewApplicationsList2017[".sqlFrom"] = "FROM applicform";
$tdataNewApplicationsList2017[".sqlWhereExpr"] = "(TertiaryInstitutionAdmitted <> '   ') AND ( assessed IS NULL) AND (NewApplicant is TRUE) AND ((`1styear` = 2017 = True) OR (Year2nd = 2017 = True) or (Year5th= 2017 = True) or (Fee4thYear= 2017 = True) or (Year3rd= 2017 = True))";
$tdataNewApplicationsList2017[".sqlTail"] = "";










//fill array of records per page for list and report without group fields
$arrRPP = array();
$arrRPP[] = 10;
$arrRPP[] = 20;
$arrRPP[] = 30;
$arrRPP[] = 50;
$arrRPP[] = 100;
$arrRPP[] = 500;
$arrRPP[] = -1;
$tdataNewApplicationsList2017[".arrRecsPerPage"] = $arrRPP;

//fill array of groups per page for report with group fields
$arrGPP = array();
$arrGPP[] = 1;
$arrGPP[] = 3;
$arrGPP[] = 5;
$arrGPP[] = 10;
$arrGPP[] = 50;
$arrGPP[] = 100;
$arrGPP[] = -1;
$tdataNewApplicationsList2017[".arrGroupsPerPage"] = $arrGPP;


$tableKeysNewApplicationsList2017 = array();
$tableKeysNewApplicationsList2017[] = "MPGID";
$tdataNewApplicationsList2017[".Keys"] = $tableKeysNewApplicationsList2017;


$tdataNewApplicationsList2017[".hideMobileList"] = array();




//	Surname
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "Surname";
	$fdata["GoodName"] = "Surname";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","Surname");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "Surname";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Surname";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 110;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["Surname"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "Surname";
//	FirstName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "FirstName";
	$fdata["GoodName"] = "FirstName";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","FirstName");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "FirstName";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "FirstName";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 90;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["FirstName"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "FirstName";
//	MPGID
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "MPGID";
	$fdata["GoodName"] = "MPGID";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","MPGID");
	$fdata["FieldType"] = 3;

	
		$fdata["AutoInc"] = true;

	
			

		$fdata["strField"] = "MPGID";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "MPGID";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
							
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["MPGID"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "MPGID";
//	MobileNoAppl
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "MobileNoAppl";
	$fdata["GoodName"] = "MobileNoAppl";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","MobileNoAppl");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "MobileNoAppl";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "MobileNoAppl";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["MobileNoAppl"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "MobileNoAppl";
//	Photo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "Photo";
	$fdata["GoodName"] = "Photo";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","Photo");
	$fdata["FieldType"] = 201;

	
	
	
			

		$fdata["strField"] = "Photo";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Photo";

		$fdata["DeleteAssociatedFile"] = true;

	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "File-based Image");

	
	
				$vdata["ShowThumbnail"] = true;
	$vdata["ThumbWidth"] = 72;
	$vdata["ThumbHeight"] = 72;
	$vdata["ImageWidth"] = 0;
	$vdata["ImageHeight"] = 0;

			$vdata["multipleImgMode"] = 1;
	$vdata["maxImages"] = 0;

			$vdata["showGallery"] = true;
	$vdata["galleryMode"] = 2;
	$vdata["captionMode"] = 2;
	$vdata["captionField"] = "";

	$vdata["imageBorder"] = 1;
	$vdata["imageFullWidth"] = 1;


	
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
	$vdata = array("ViewFormat" => "Document Download");

	
	
	
				$vdata["ShowThumbnail"] = true;
					$vdata["ShowIcon"] = true;
		
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["list"] = $vdata;
	$vdata = array("ViewFormat" => "Document Download");

	
	
	
				$vdata["ShowThumbnail"] = true;
					$vdata["ShowIcon"] = true;
		
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["print"] = $vdata;
	$vdata = array("ViewFormat" => "Document Download");

	
	
	
				$vdata["ShowThumbnail"] = true;
					$vdata["ShowIcon"] = true;
		
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["export"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Document upload");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
							$edata["acceptFileTypes"] = "gif";
			$edata["acceptFileTypesHtml"] = ".gif";
						$edata["acceptFileTypes"] .= "|jpe";
			$edata["acceptFileTypesHtml"] .= ",.jpe";
						$edata["acceptFileTypes"] .= "|jpeg";
			$edata["acceptFileTypesHtml"] .= ",.jpeg";
						$edata["acceptFileTypes"] .= "|jpg";
			$edata["acceptFileTypesHtml"] .= ",.jpg";
						$edata["acceptFileTypes"] .= "|pdf";
			$edata["acceptFileTypesHtml"] .= ",.pdf";
						$edata["acceptFileTypes"] .= "|png";
			$edata["acceptFileTypesHtml"] .= ",.png";
		$edata["acceptFileTypes"] = "(".$edata["acceptFileTypes"].")$";

		$edata["maxNumberOfFiles"] = 9;

		$edata["maxFileSize"] = 2500;

		$edata["maxTotalFilesSize"] = 10000;

	
	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

		$edata["CreateThumbnail"] = true;
	$edata["StrThumbnail"] = "th";
			$edata["ThumbnailSize"] = 150;

				$edata["ResizeImage"] = true;
				$edata["NewSize"] = 150;

	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
	$edata = array("EditFormat" => "Document upload");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
							$edata["acceptFileTypes"] = "doc";
			$edata["acceptFileTypesHtml"] = ".doc";
						$edata["acceptFileTypes"] .= "|docx";
			$edata["acceptFileTypesHtml"] .= ",.docx";
						$edata["acceptFileTypes"] .= "|gif";
			$edata["acceptFileTypesHtml"] .= ",.gif";
						$edata["acceptFileTypes"] .= "|jpe";
			$edata["acceptFileTypesHtml"] .= ",.jpe";
						$edata["acceptFileTypes"] .= "|jpeg";
			$edata["acceptFileTypesHtml"] .= ",.jpeg";
						$edata["acceptFileTypes"] .= "|jpg";
			$edata["acceptFileTypesHtml"] .= ",.jpg";
						$edata["acceptFileTypes"] .= "|pdf";
			$edata["acceptFileTypesHtml"] .= ",.pdf";
						$edata["acceptFileTypes"] .= "|png";
			$edata["acceptFileTypesHtml"] .= ",.png";
						$edata["acceptFileTypes"] .= "|rtf";
			$edata["acceptFileTypesHtml"] .= ",.rtf";
						$edata["acceptFileTypes"] .= "|txt";
			$edata["acceptFileTypesHtml"] .= ",.txt";
		$edata["acceptFileTypes"] = "(".$edata["acceptFileTypes"].")$";

		$edata["maxNumberOfFiles"] = 9;

		$edata["maxFileSize"] = 700;

		$edata["maxTotalFilesSize"] = 5000;

	
	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

		$edata["CreateThumbnail"] = true;
	$edata["StrThumbnail"] = "th";
			$edata["ThumbnailSize"] = 150;

				$edata["ResizeImage"] = true;
				$edata["NewSize"] = 600;

	
	
	
	$fdata["EditFormats"]["add"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = true;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
		$fdata["filterTotalFields"] = "NewApplicant";
		$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["Photo"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "Photo";
//	Documents
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "Documents";
	$fdata["GoodName"] = "Documents";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","Documents");
	$fdata["FieldType"] = 201;

	
	
	
			

		$fdata["strField"] = "Documents";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Documents";

		$fdata["DeleteAssociatedFile"] = true;

	
		$fdata["UploadCodeExpression"] = true;

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "File-based Image");

	
	
				$vdata["ShowThumbnail"] = true;
	$vdata["ThumbWidth"] = 150;
	$vdata["ThumbHeight"] = 150;
	$vdata["ImageWidth"] = 457;
	$vdata["ImageHeight"] = 0;

			$vdata["multipleImgMode"] = 1;
	$vdata["maxImages"] = 0;

			$vdata["showGallery"] = true;
	$vdata["galleryMode"] = 2;
	$vdata["captionMode"] = 2;
	$vdata["captionField"] = "";

	$vdata["imageBorder"] = 1;
	$vdata["imageFullWidth"] = 1;


	
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Document upload");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
							$edata["acceptFileTypes"] = "doc";
			$edata["acceptFileTypesHtml"] = ".doc";
						$edata["acceptFileTypes"] .= "|docx";
			$edata["acceptFileTypesHtml"] .= ",.docx";
						$edata["acceptFileTypes"] .= "|pdf";
			$edata["acceptFileTypesHtml"] .= ",.pdf";
						$edata["acceptFileTypes"] .= "|rtf";
			$edata["acceptFileTypesHtml"] .= ",.rtf";
						$edata["acceptFileTypes"] .= "|txt";
			$edata["acceptFileTypesHtml"] .= ",.txt";
		$edata["acceptFileTypes"] = "(".$edata["acceptFileTypes"].")$";

		$edata["maxNumberOfFiles"] = 9;

		$edata["maxFileSize"] = 850;

		$edata["maxTotalFilesSize"] = 8000;

	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

		$edata["CreateThumbnail"] = true;
	$edata["StrThumbnail"] = "th";
			$edata["ThumbnailSize"] = 150;

				$edata["ResizeImage"] = true;
				$edata["NewSize"] = 300;

	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["Documents"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "Documents";
//	Gender
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "Gender";
	$fdata["GoodName"] = "Gender";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","Gender");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "Gender";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Gender";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["Gender"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "Gender";
//	DateofBirth
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "DateofBirth";
	$fdata["GoodName"] = "DateofBirth";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","DateofBirth");
	$fdata["FieldType"] = 135;

	
	
	
			

		$fdata["strField"] = "DateofBirth";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "DateofBirth";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Short Date");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Date");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
		$edata["DateEditType"] = 5;
	$edata["InitialYearFactor"] = 47;
	$edata["LastYearFactor"] = 0;

	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["DateofBirth"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "DateofBirth";
//	PlaceofBirth
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "PlaceofBirth";
	$fdata["GoodName"] = "PlaceofBirth";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","PlaceofBirth");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "PlaceofBirth";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "PlaceofBirth";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["PlaceofBirth"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "PlaceofBirth";
//	FatherDistrict
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "FatherDistrict";
	$fdata["GoodName"] = "FatherDistrict";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","FatherDistrict");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "FatherDistrict";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "FatherDistrict";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["FatherDistrict"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "FatherDistrict";
//	MOTHERNAME
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 11;
	$fdata["strName"] = "MOTHERNAME";
	$fdata["GoodName"] = "MOTHERNAME";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","MOTHERNAME");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "MOTHERNAME";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "MOTHERNAME";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["MOTHERNAME"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "MOTHERNAME";
//	MOTHERSURNAME
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 12;
	$fdata["strName"] = "MOTHERSURNAME";
	$fdata["GoodName"] = "MOTHERSURNAME";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","MOTHERSURNAME");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "MOTHERSURNAME";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "MOTHERSURNAME";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["MOTHERSURNAME"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "MOTHERSURNAME";
//	MotherDistrict
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 13;
	$fdata["strName"] = "MotherDistrict";
	$fdata["GoodName"] = "MotherDistrict";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","MotherDistrict");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "MotherDistrict";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "MotherDistrict";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["MotherDistrict"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "MotherDistrict";
//	FATHERSNAME
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 14;
	$fdata["strName"] = "FATHERSNAME";
	$fdata["GoodName"] = "FATHERSNAME";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","FATHERSNAME");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "FATHERSNAME";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "FATHERSNAME";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["FATHERSNAME"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "FATHERSNAME";
//	FATHERSURNAME
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 15;
	$fdata["strName"] = "FATHERSURNAME";
	$fdata["GoodName"] = "FATHERSURNAME";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","FATHERSURNAME");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "FATHERSURNAME";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "FATHERSURNAME";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["FATHERSURNAME"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "FATHERSURNAME";
//	TertiaryInstitutionAdmitted
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 16;
	$fdata["strName"] = "TertiaryInstitutionAdmitted";
	$fdata["GoodName"] = "TertiaryInstitutionAdmitted";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","TertiaryInstitutionAdmitted");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "TertiaryInstitutionAdmitted";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "TertiaryInstitutionAdmitted";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 1;
	$edata["LookupTable"] = "universitydtls1";
	$edata["LookupConnId"] = "";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$edata["LinkField"] = "InstitutionName";
	$edata["LinkFieldType"] = 200;
	$edata["DisplayField"] = "InstitutionName";

	

	
	$edata["LookupOrderBy"] = "";

	
	
	
		$edata["SimpleAdd"] = true;


	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["TertiaryInstitutionAdmitted"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "TertiaryInstitutionAdmitted";
//	WitnessName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 17;
	$fdata["strName"] = "WitnessName";
	$fdata["GoodName"] = "WitnessName";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","WitnessName");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "WitnessName";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "WitnessName";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["WitnessName"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "WitnessName";
//	WitnessAddress
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 18;
	$fdata["strName"] = "WitnessAddress";
	$fdata["GoodName"] = "WitnessAddress";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","WitnessAddress");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "WitnessAddress";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "WitnessAddress";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["WitnessAddress"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "WitnessAddress";
//	WitnessOccupation
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 19;
	$fdata["strName"] = "WitnessOccupation";
	$fdata["GoodName"] = "WitnessOccupation";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","WitnessOccupation");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "WitnessOccupation";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "WitnessOccupation";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["WitnessOccupation"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "WitnessOccupation";
//	NewApplicant
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 20;
	$fdata["strName"] = "NewApplicant";
	$fdata["GoodName"] = "NewApplicant";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","NewApplicant");
	$fdata["FieldType"] = 3;

	
	
	
			

		$fdata["strField"] = "NewApplicant";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "NewApplicant";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Checkbox");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
	$vdata = array("ViewFormat" => "Checkbox");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["list"] = $vdata;
	$vdata = array("ViewFormat" => "Checkbox");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["print"] = $vdata;
	$vdata = array("ViewFormat" => "Checkbox");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["export"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Checkbox");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
							
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
	$edata = array("EditFormat" => "Readonly");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
							
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["add"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = true;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["NewApplicant"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "NewApplicant";
//	Reapply
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 21;
	$fdata["strName"] = "Reapply";
	$fdata["GoodName"] = "Reapply";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","Reapply");
	$fdata["FieldType"] = 3;

	
	
	
			

		$fdata["strField"] = "Reapply";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Reapply";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Checkbox");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Checkbox");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
							
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["Reapply"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "Reapply";
//	EmailAddrssAppl
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 22;
	$fdata["strName"] = "EmailAddrssAppl";
	$fdata["GoodName"] = "EmailAddrssAppl";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","EmailAddrssAppl");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "EmailAddrssAppl";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "EmailAddrssAppl";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 219;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["EmailAddrssAppl"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "EmailAddrssAppl";
//	Judge1Comment
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 23;
	$fdata["strName"] = "Judge1Comment";
	$fdata["GoodName"] = "Judge1Comment";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","Judge1Comment");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "Judge1Comment";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Judge1Comment";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Checkbox");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text area");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
				$edata["nRows"] = 100;
			$edata["nCols"] = 200;

	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["Judge1Comment"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "Judge1Comment";
//	LastInstitutuonAttended
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 24;
	$fdata["strName"] = "LastInstitutuonAttended";
	$fdata["GoodName"] = "LastInstitutuonAttended";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","LastInstitutuonAttended");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "LastInstitutuonAttended";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "LastInstitutuonAttended";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["LastInstitutuonAttended"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "LastInstitutuonAttended";
//	HighestGradeCompleted
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 25;
	$fdata["strName"] = "HighestGradeCompleted";
	$fdata["GoodName"] = "HighestGradeCompleted";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","HighestGradeCompleted");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "HighestGradeCompleted";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "HighestGradeCompleted";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["HighestGradeCompleted"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "HighestGradeCompleted";
//	ProgramName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 26;
	$fdata["strName"] = "ProgramName";
	$fdata["GoodName"] = "ProgramName";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","ProgramName");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "ProgramName";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "ProgramName";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["ProgramName"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "ProgramName";
//	1styear
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 27;
	$fdata["strName"] = "1styear";
	$fdata["GoodName"] = "1styear";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","1styear");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "1styear";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "`1styear`";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["1styear"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "1styear";
//	grade12cert
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 28;
	$fdata["strName"] = "grade12cert";
	$fdata["GoodName"] = "grade12cert";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","grade12cert");
	$fdata["FieldType"] = 201;

	
	
	
			

		$fdata["strField"] = "grade12cert";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "grade12cert";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text area");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
				$edata["nRows"] = 100;
			$edata["nCols"] = 200;

	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["grade12cert"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "grade12cert";
//	gradetencert
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 29;
	$fdata["strName"] = "gradetencert";
	$fdata["GoodName"] = "gradetencert";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","gradetencert");
	$fdata["FieldType"] = 201;

	
	
	
			

		$fdata["strField"] = "gradetencert";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "gradetencert";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text area");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
				$edata["nRows"] = 100;
			$edata["nCols"] = 200;

	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["gradetencert"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "gradetencert";
//	acceptletter
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 30;
	$fdata["strName"] = "acceptletter";
	$fdata["GoodName"] = "acceptletter";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","acceptletter");
	$fdata["FieldType"] = 201;

	
	
	
			

		$fdata["strField"] = "acceptletter";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "acceptletter";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text area");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
				$edata["nRows"] = 100;
			$edata["nCols"] = 200;

	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["acceptletter"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "acceptletter";
//	assessed
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 31;
	$fdata["strName"] = "assessed";
	$fdata["GoodName"] = "assessed";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplicationsList2017","assessed");
	$fdata["FieldType"] = 3;

	
	
	
			

		$fdata["strField"] = "assessed";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "assessed";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "number";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
							
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataNewApplicationsList2017["assessed"] = $fdata;
		$tdataNewApplicationsList2017[".searchableFields"][] = "assessed";


$tables_data["NewApplicationsList2017"]=&$tdataNewApplicationsList2017;
$field_labels["NewApplicationsList2017"] = &$fieldLabelsNewApplicationsList2017;
$fieldToolTips["NewApplicationsList2017"] = &$fieldToolTipsNewApplicationsList2017;
$placeHolders["NewApplicationsList2017"] = &$placeHoldersNewApplicationsList2017;
$page_titles["NewApplicationsList2017"] = &$pageTitlesNewApplicationsList2017;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["NewApplicationsList2017"] = array();

// tables which are master tables for current table (detail)
$masterTablesData["NewApplicationsList2017"] = array();



// -----------------end  prepare master-details data arrays ------------------------------//


require_once(getabspath("classes/sql.php"));










function createSqlQuery_NewApplicationsList2017()
{
$proto3=array();
$proto3["m_strHead"] = "SELECT";
$proto3["m_strFieldList"] = "Surname,  FirstName,  MPGID,  MobileNoAppl,  Photo,  Documents,  Gender,  DateofBirth,  PlaceofBirth,  FatherDistrict,  MOTHERNAME,  MOTHERSURNAME,  MotherDistrict,  FATHERSNAME,  FATHERSURNAME,  TertiaryInstitutionAdmitted,  WitnessName,  WitnessAddress,  WitnessOccupation,  NewApplicant,  Reapply,  EmailAddrssAppl,  Judge1Comment,  LastInstitutuonAttended,  HighestGradeCompleted,  ProgramName,  `1styear`,  grade12cert,  gradetencert,  acceptletter,  assessed";
$proto3["m_strFrom"] = "FROM applicform";
$proto3["m_strWhere"] = "(TertiaryInstitutionAdmitted <> '   ') AND ( assessed IS NULL) AND (NewApplicant is TRUE) AND ((`1styear` = 2017 = True) OR (Year2nd = 2017 = True) or (Year5th= 2017 = True) or (Fee4thYear= 2017 = True) or (Year3rd= 2017 = True))";
$proto3["m_strOrderBy"] = "ORDER BY TertiaryInstitutionAdmitted";
	
		;
			$proto3["cipherer"] = null;
$proto5=array();
$proto5["m_sql"] = "(TertiaryInstitutionAdmitted <> '   ') AND ( assessed IS NULL) AND (NewApplicant is TRUE) AND ((`1styear` = 2017 = True) OR (Year2nd = 2017 = True) or (Year5th= 2017 = True) or (Fee4thYear= 2017 = True) or (Year3rd= 2017 = True))";
$proto5["m_uniontype"] = "SQLL_AND";
	$obj = new SQLNonParsed(array(
	"m_sql" => "(TertiaryInstitutionAdmitted <> '   ') AND ( assessed IS NULL) AND (NewApplicant is TRUE) AND ((`1styear` = 2017 = True) OR (Year2nd = 2017 = True) or (Year5th= 2017 = True) or (Fee4thYear= 2017 = True) or (Year3rd= 2017 = True))"
));

$proto5["m_column"]=$obj;
$proto5["m_contained"] = array();
						$proto7=array();
$proto7["m_sql"] = "TertiaryInstitutionAdmitted <> '   '";
$proto7["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "TertiaryInstitutionAdmitted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto7["m_column"]=$obj;
$proto7["m_contained"] = array();
$proto7["m_strCase"] = "<> '   '";
$proto7["m_havingmode"] = false;
$proto7["m_inBrackets"] = true;
$proto7["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto7);

			$proto5["m_contained"][]=$obj;
						$proto9=array();
$proto9["m_sql"] = " assessed IS NULL";
$proto9["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "assessed",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto9["m_column"]=$obj;
$proto9["m_contained"] = array();
$proto9["m_strCase"] = "IS NULL";
$proto9["m_havingmode"] = false;
$proto9["m_inBrackets"] = true;
$proto9["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto9);

			$proto5["m_contained"][]=$obj;
						$proto11=array();
$proto11["m_sql"] = "NewApplicant is TRUE";
$proto11["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "NewApplicant",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto11["m_column"]=$obj;
$proto11["m_contained"] = array();
$proto11["m_strCase"] = "is TRUE";
$proto11["m_havingmode"] = false;
$proto11["m_inBrackets"] = true;
$proto11["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto11);

			$proto5["m_contained"][]=$obj;
						$proto13=array();
$proto13["m_sql"] = "(`1styear` = 2017 = True) OR (Year2nd = 2017 = True) or (Year5th= 2017 = True) or (Fee4thYear= 2017 = True) or (Year3rd= 2017 = True)";
$proto13["m_uniontype"] = "SQLL_OR";
	$obj = new SQLNonParsed(array(
	"m_sql" => "(`1styear` = 2017 = True) OR (Year2nd = 2017 = True) or (Year5th= 2017 = True) or (Fee4thYear= 2017 = True) or (Year3rd= 2017 = True)"
));

$proto13["m_column"]=$obj;
$proto13["m_contained"] = array();
						$proto15=array();
$proto15["m_sql"] = "`1styear` = 2017 = True";
$proto15["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "1styear",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto15["m_column"]=$obj;
$proto15["m_contained"] = array();
$proto15["m_strCase"] = "= 2017 = True";
$proto15["m_havingmode"] = false;
$proto15["m_inBrackets"] = true;
$proto15["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto15);

			$proto13["m_contained"][]=$obj;
						$proto17=array();
$proto17["m_sql"] = "Year2nd = 2017 = True";
$proto17["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "Year2nd",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto17["m_column"]=$obj;
$proto17["m_contained"] = array();
$proto17["m_strCase"] = "= 2017 = True";
$proto17["m_havingmode"] = false;
$proto17["m_inBrackets"] = true;
$proto17["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto17);

			$proto13["m_contained"][]=$obj;
						$proto19=array();
$proto19["m_sql"] = "Year5th= 2017 = True";
$proto19["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "Year5th",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto19["m_column"]=$obj;
$proto19["m_contained"] = array();
$proto19["m_strCase"] = "= 2017 = True";
$proto19["m_havingmode"] = false;
$proto19["m_inBrackets"] = true;
$proto19["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto19);

			$proto13["m_contained"][]=$obj;
						$proto21=array();
$proto21["m_sql"] = "Fee4thYear= 2017 = True";
$proto21["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "Fee4thYear",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto21["m_column"]=$obj;
$proto21["m_contained"] = array();
$proto21["m_strCase"] = "= 2017 = True";
$proto21["m_havingmode"] = false;
$proto21["m_inBrackets"] = true;
$proto21["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto21);

			$proto13["m_contained"][]=$obj;
						$proto23=array();
$proto23["m_sql"] = "Year3rd= 2017 = True";
$proto23["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "Year3rd",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto23["m_column"]=$obj;
$proto23["m_contained"] = array();
$proto23["m_strCase"] = "= 2017 = True";
$proto23["m_havingmode"] = false;
$proto23["m_inBrackets"] = true;
$proto23["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto23);

			$proto13["m_contained"][]=$obj;
$proto13["m_strCase"] = "";
$proto13["m_havingmode"] = false;
$proto13["m_inBrackets"] = true;
$proto13["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto13);

			$proto5["m_contained"][]=$obj;
$proto5["m_strCase"] = "";
$proto5["m_havingmode"] = false;
$proto5["m_inBrackets"] = false;
$proto5["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto5);

$proto3["m_where"] = $obj;
$proto25=array();
$proto25["m_sql"] = "";
$proto25["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto25["m_column"]=$obj;
$proto25["m_contained"] = array();
$proto25["m_strCase"] = "";
$proto25["m_havingmode"] = false;
$proto25["m_inBrackets"] = false;
$proto25["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto25);

$proto3["m_having"] = $obj;
$proto3["m_fieldlist"] = array();
						$proto27=array();
			$obj = new SQLField(array(
	"m_strName" => "Surname",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto27["m_sql"] = "Surname";
$proto27["m_srcTableName"] = "NewApplicationsList2017";
$proto27["m_expr"]=$obj;
$proto27["m_alias"] = "";
$obj = new SQLFieldListItem($proto27);

$proto3["m_fieldlist"][]=$obj;
						$proto29=array();
			$obj = new SQLField(array(
	"m_strName" => "FirstName",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto29["m_sql"] = "FirstName";
$proto29["m_srcTableName"] = "NewApplicationsList2017";
$proto29["m_expr"]=$obj;
$proto29["m_alias"] = "";
$obj = new SQLFieldListItem($proto29);

$proto3["m_fieldlist"][]=$obj;
						$proto31=array();
			$obj = new SQLField(array(
	"m_strName" => "MPGID",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto31["m_sql"] = "MPGID";
$proto31["m_srcTableName"] = "NewApplicationsList2017";
$proto31["m_expr"]=$obj;
$proto31["m_alias"] = "";
$obj = new SQLFieldListItem($proto31);

$proto3["m_fieldlist"][]=$obj;
						$proto33=array();
			$obj = new SQLField(array(
	"m_strName" => "MobileNoAppl",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto33["m_sql"] = "MobileNoAppl";
$proto33["m_srcTableName"] = "NewApplicationsList2017";
$proto33["m_expr"]=$obj;
$proto33["m_alias"] = "";
$obj = new SQLFieldListItem($proto33);

$proto3["m_fieldlist"][]=$obj;
						$proto35=array();
			$obj = new SQLField(array(
	"m_strName" => "Photo",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto35["m_sql"] = "Photo";
$proto35["m_srcTableName"] = "NewApplicationsList2017";
$proto35["m_expr"]=$obj;
$proto35["m_alias"] = "";
$obj = new SQLFieldListItem($proto35);

$proto3["m_fieldlist"][]=$obj;
						$proto37=array();
			$obj = new SQLField(array(
	"m_strName" => "Documents",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto37["m_sql"] = "Documents";
$proto37["m_srcTableName"] = "NewApplicationsList2017";
$proto37["m_expr"]=$obj;
$proto37["m_alias"] = "";
$obj = new SQLFieldListItem($proto37);

$proto3["m_fieldlist"][]=$obj;
						$proto39=array();
			$obj = new SQLField(array(
	"m_strName" => "Gender",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto39["m_sql"] = "Gender";
$proto39["m_srcTableName"] = "NewApplicationsList2017";
$proto39["m_expr"]=$obj;
$proto39["m_alias"] = "";
$obj = new SQLFieldListItem($proto39);

$proto3["m_fieldlist"][]=$obj;
						$proto41=array();
			$obj = new SQLField(array(
	"m_strName" => "DateofBirth",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto41["m_sql"] = "DateofBirth";
$proto41["m_srcTableName"] = "NewApplicationsList2017";
$proto41["m_expr"]=$obj;
$proto41["m_alias"] = "";
$obj = new SQLFieldListItem($proto41);

$proto3["m_fieldlist"][]=$obj;
						$proto43=array();
			$obj = new SQLField(array(
	"m_strName" => "PlaceofBirth",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto43["m_sql"] = "PlaceofBirth";
$proto43["m_srcTableName"] = "NewApplicationsList2017";
$proto43["m_expr"]=$obj;
$proto43["m_alias"] = "";
$obj = new SQLFieldListItem($proto43);

$proto3["m_fieldlist"][]=$obj;
						$proto45=array();
			$obj = new SQLField(array(
	"m_strName" => "FatherDistrict",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto45["m_sql"] = "FatherDistrict";
$proto45["m_srcTableName"] = "NewApplicationsList2017";
$proto45["m_expr"]=$obj;
$proto45["m_alias"] = "";
$obj = new SQLFieldListItem($proto45);

$proto3["m_fieldlist"][]=$obj;
						$proto47=array();
			$obj = new SQLField(array(
	"m_strName" => "MOTHERNAME",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto47["m_sql"] = "MOTHERNAME";
$proto47["m_srcTableName"] = "NewApplicationsList2017";
$proto47["m_expr"]=$obj;
$proto47["m_alias"] = "";
$obj = new SQLFieldListItem($proto47);

$proto3["m_fieldlist"][]=$obj;
						$proto49=array();
			$obj = new SQLField(array(
	"m_strName" => "MOTHERSURNAME",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto49["m_sql"] = "MOTHERSURNAME";
$proto49["m_srcTableName"] = "NewApplicationsList2017";
$proto49["m_expr"]=$obj;
$proto49["m_alias"] = "";
$obj = new SQLFieldListItem($proto49);

$proto3["m_fieldlist"][]=$obj;
						$proto51=array();
			$obj = new SQLField(array(
	"m_strName" => "MotherDistrict",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto51["m_sql"] = "MotherDistrict";
$proto51["m_srcTableName"] = "NewApplicationsList2017";
$proto51["m_expr"]=$obj;
$proto51["m_alias"] = "";
$obj = new SQLFieldListItem($proto51);

$proto3["m_fieldlist"][]=$obj;
						$proto53=array();
			$obj = new SQLField(array(
	"m_strName" => "FATHERSNAME",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto53["m_sql"] = "FATHERSNAME";
$proto53["m_srcTableName"] = "NewApplicationsList2017";
$proto53["m_expr"]=$obj;
$proto53["m_alias"] = "";
$obj = new SQLFieldListItem($proto53);

$proto3["m_fieldlist"][]=$obj;
						$proto55=array();
			$obj = new SQLField(array(
	"m_strName" => "FATHERSURNAME",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto55["m_sql"] = "FATHERSURNAME";
$proto55["m_srcTableName"] = "NewApplicationsList2017";
$proto55["m_expr"]=$obj;
$proto55["m_alias"] = "";
$obj = new SQLFieldListItem($proto55);

$proto3["m_fieldlist"][]=$obj;
						$proto57=array();
			$obj = new SQLField(array(
	"m_strName" => "TertiaryInstitutionAdmitted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto57["m_sql"] = "TertiaryInstitutionAdmitted";
$proto57["m_srcTableName"] = "NewApplicationsList2017";
$proto57["m_expr"]=$obj;
$proto57["m_alias"] = "";
$obj = new SQLFieldListItem($proto57);

$proto3["m_fieldlist"][]=$obj;
						$proto59=array();
			$obj = new SQLField(array(
	"m_strName" => "WitnessName",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto59["m_sql"] = "WitnessName";
$proto59["m_srcTableName"] = "NewApplicationsList2017";
$proto59["m_expr"]=$obj;
$proto59["m_alias"] = "";
$obj = new SQLFieldListItem($proto59);

$proto3["m_fieldlist"][]=$obj;
						$proto61=array();
			$obj = new SQLField(array(
	"m_strName" => "WitnessAddress",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto61["m_sql"] = "WitnessAddress";
$proto61["m_srcTableName"] = "NewApplicationsList2017";
$proto61["m_expr"]=$obj;
$proto61["m_alias"] = "";
$obj = new SQLFieldListItem($proto61);

$proto3["m_fieldlist"][]=$obj;
						$proto63=array();
			$obj = new SQLField(array(
	"m_strName" => "WitnessOccupation",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto63["m_sql"] = "WitnessOccupation";
$proto63["m_srcTableName"] = "NewApplicationsList2017";
$proto63["m_expr"]=$obj;
$proto63["m_alias"] = "";
$obj = new SQLFieldListItem($proto63);

$proto3["m_fieldlist"][]=$obj;
						$proto65=array();
			$obj = new SQLField(array(
	"m_strName" => "NewApplicant",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto65["m_sql"] = "NewApplicant";
$proto65["m_srcTableName"] = "NewApplicationsList2017";
$proto65["m_expr"]=$obj;
$proto65["m_alias"] = "";
$obj = new SQLFieldListItem($proto65);

$proto3["m_fieldlist"][]=$obj;
						$proto67=array();
			$obj = new SQLField(array(
	"m_strName" => "Reapply",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto67["m_sql"] = "Reapply";
$proto67["m_srcTableName"] = "NewApplicationsList2017";
$proto67["m_expr"]=$obj;
$proto67["m_alias"] = "";
$obj = new SQLFieldListItem($proto67);

$proto3["m_fieldlist"][]=$obj;
						$proto69=array();
			$obj = new SQLField(array(
	"m_strName" => "EmailAddrssAppl",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto69["m_sql"] = "EmailAddrssAppl";
$proto69["m_srcTableName"] = "NewApplicationsList2017";
$proto69["m_expr"]=$obj;
$proto69["m_alias"] = "";
$obj = new SQLFieldListItem($proto69);

$proto3["m_fieldlist"][]=$obj;
						$proto71=array();
			$obj = new SQLField(array(
	"m_strName" => "Judge1Comment",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto71["m_sql"] = "Judge1Comment";
$proto71["m_srcTableName"] = "NewApplicationsList2017";
$proto71["m_expr"]=$obj;
$proto71["m_alias"] = "";
$obj = new SQLFieldListItem($proto71);

$proto3["m_fieldlist"][]=$obj;
						$proto73=array();
			$obj = new SQLField(array(
	"m_strName" => "LastInstitutuonAttended",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto73["m_sql"] = "LastInstitutuonAttended";
$proto73["m_srcTableName"] = "NewApplicationsList2017";
$proto73["m_expr"]=$obj;
$proto73["m_alias"] = "";
$obj = new SQLFieldListItem($proto73);

$proto3["m_fieldlist"][]=$obj;
						$proto75=array();
			$obj = new SQLField(array(
	"m_strName" => "HighestGradeCompleted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto75["m_sql"] = "HighestGradeCompleted";
$proto75["m_srcTableName"] = "NewApplicationsList2017";
$proto75["m_expr"]=$obj;
$proto75["m_alias"] = "";
$obj = new SQLFieldListItem($proto75);

$proto3["m_fieldlist"][]=$obj;
						$proto77=array();
			$obj = new SQLField(array(
	"m_strName" => "ProgramName",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto77["m_sql"] = "ProgramName";
$proto77["m_srcTableName"] = "NewApplicationsList2017";
$proto77["m_expr"]=$obj;
$proto77["m_alias"] = "";
$obj = new SQLFieldListItem($proto77);

$proto3["m_fieldlist"][]=$obj;
						$proto79=array();
			$obj = new SQLField(array(
	"m_strName" => "1styear",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto79["m_sql"] = "`1styear`";
$proto79["m_srcTableName"] = "NewApplicationsList2017";
$proto79["m_expr"]=$obj;
$proto79["m_alias"] = "";
$obj = new SQLFieldListItem($proto79);

$proto3["m_fieldlist"][]=$obj;
						$proto81=array();
			$obj = new SQLField(array(
	"m_strName" => "grade12cert",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto81["m_sql"] = "grade12cert";
$proto81["m_srcTableName"] = "NewApplicationsList2017";
$proto81["m_expr"]=$obj;
$proto81["m_alias"] = "";
$obj = new SQLFieldListItem($proto81);

$proto3["m_fieldlist"][]=$obj;
						$proto83=array();
			$obj = new SQLField(array(
	"m_strName" => "gradetencert",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto83["m_sql"] = "gradetencert";
$proto83["m_srcTableName"] = "NewApplicationsList2017";
$proto83["m_expr"]=$obj;
$proto83["m_alias"] = "";
$obj = new SQLFieldListItem($proto83);

$proto3["m_fieldlist"][]=$obj;
						$proto85=array();
			$obj = new SQLField(array(
	"m_strName" => "acceptletter",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto85["m_sql"] = "acceptletter";
$proto85["m_srcTableName"] = "NewApplicationsList2017";
$proto85["m_expr"]=$obj;
$proto85["m_alias"] = "";
$obj = new SQLFieldListItem($proto85);

$proto3["m_fieldlist"][]=$obj;
						$proto87=array();
			$obj = new SQLField(array(
	"m_strName" => "assessed",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto87["m_sql"] = "assessed";
$proto87["m_srcTableName"] = "NewApplicationsList2017";
$proto87["m_expr"]=$obj;
$proto87["m_alias"] = "";
$obj = new SQLFieldListItem($proto87);

$proto3["m_fieldlist"][]=$obj;
$proto3["m_fromlist"] = array();
												$proto89=array();
$proto89["m_link"] = "SQLL_MAIN";
			$proto90=array();
$proto90["m_strName"] = "applicform";
$proto90["m_srcTableName"] = "NewApplicationsList2017";
$proto90["m_columns"] = array();
$proto90["m_columns"][] = "MPGID";
$proto90["m_columns"][] = "StudentSchoolID";
$proto90["m_columns"][] = "Surname";
$proto90["m_columns"][] = "FirstName";
$proto90["m_columns"][] = "Photo";
$proto90["m_columns"][] = "Gender";
$proto90["m_columns"][] = "DateofBirth";
$proto90["m_columns"][] = "PlaceofBirth";
$proto90["m_columns"][] = "DistrictOfBirth";
$proto90["m_columns"][] = "ProvinceOfBirth";
$proto90["m_columns"][] = "FatherVillage";
$proto90["m_columns"][] = "FatherLLG";
$proto90["m_columns"][] = "FatherDistrict";
$proto90["m_columns"][] = "FATHERJOB";
$proto90["m_columns"][] = "FATHERSNAME";
$proto90["m_columns"][] = "FATHERSURNAME";
$proto90["m_columns"][] = "FATHERPROV";
$proto90["m_columns"][] = "MOTHERJOB";
$proto90["m_columns"][] = "MOTHERNAME";
$proto90["m_columns"][] = "MOTHERSURNAME";
$proto90["m_columns"][] = "MOTHERNATIONAL";
$proto90["m_columns"][] = "FATHERNATIONAL";
$proto90["m_columns"][] = "FATHERCLAN";
$proto90["m_columns"][] = "MOTHERCLAN";
$proto90["m_columns"][] = "MOTHERRELIGION";
$proto90["m_columns"][] = "FATHERRELIGION";
$proto90["m_columns"][] = "FATHERBIRTHPLACE";
$proto90["m_columns"][] = "MOTHERBIRTHPLACE";
$proto90["m_columns"][] = "MotherVillage";
$proto90["m_columns"][] = "MotherLLG";
$proto90["m_columns"][] = "MotherDistrict";
$proto90["m_columns"][] = "MOTHERPROV";
$proto90["m_columns"][] = "LastInstitutuonAttended";
$proto90["m_columns"][] = "HighestGradeCompleted";
$proto90["m_columns"][] = "YearHighestGradeCompleted";
$proto90["m_columns"][] = "TertiaryInstitutionAdmitted";
$proto90["m_columns"][] = "ProgramName";
$proto90["m_columns"][] = "ProgramCode";
$proto90["m_columns"][] = "WitnessName";
$proto90["m_columns"][] = "WitnessOccupation";
$proto90["m_columns"][] = "WitnessAddress";
$proto90["m_columns"][] = "1styear";
$proto90["m_columns"][] = "1styearTesas";
$proto90["m_columns"][] = "1styearFee";
$proto90["m_columns"][] = "Paid1stYearFee";
$proto90["m_columns"][] = "Repeat1stYear";
$proto90["m_columns"][] = "Repeat1stTESAS";
$proto90["m_columns"][] = "Repeatd1stYearFee";
$proto90["m_columns"][] = "Paid1stYrRepeatFee";
$proto90["m_columns"][] = "Passd1stYear";
$proto90["m_columns"][] = "sem1year1";
$proto90["m_columns"][] = "Year2nd";
$proto90["m_columns"][] = "TESAS2ndYear";
$proto90["m_columns"][] = "Fee2ndYear";
$proto90["m_columns"][] = "Paid2ndYearFee";
$proto90["m_columns"][] = "Repeated2ndYear";
$proto90["m_columns"][] = "Repeat2ndYrTESAS";
$proto90["m_columns"][] = "Repeat2ndYearFee";
$proto90["m_columns"][] = "Paid2ndYrRepeatFee";
$proto90["m_columns"][] = "Passd2ndYear";
$proto90["m_columns"][] = "sem1year2";
$proto90["m_columns"][] = "Year3rd";
$proto90["m_columns"][] = "TESAS3rdYear";
$proto90["m_columns"][] = "Fee3rdYear";
$proto90["m_columns"][] = "Paid3rdYrFee";
$proto90["m_columns"][] = "Repeatd3rdYear";
$proto90["m_columns"][] = "Repeat3rdYrTESAS";
$proto90["m_columns"][] = "Repeatd3rdYrFee";
$proto90["m_columns"][] = "Paid3rdYrRepeatFee";
$proto90["m_columns"][] = "Passd3rdYear";
$proto90["m_columns"][] = "sem1year3";
$proto90["m_columns"][] = "Year4th";
$proto90["m_columns"][] = "TESAS4thYear";
$proto90["m_columns"][] = "Fee4thYear";
$proto90["m_columns"][] = "Paid4thYearFee";
$proto90["m_columns"][] = "Repeated4thYear";
$proto90["m_columns"][] = "Repeath4thYrTESAS";
$proto90["m_columns"][] = "Repeat4thYrFee";
$proto90["m_columns"][] = "Paid4thYrRepeatFee";
$proto90["m_columns"][] = "Passd4thYear";
$proto90["m_columns"][] = "sem1year4";
$proto90["m_columns"][] = "Year5th";
$proto90["m_columns"][] = "TESAS5thYear";
$proto90["m_columns"][] = "Fee5thYear";
$proto90["m_columns"][] = "Paid5thYearFee";
$proto90["m_columns"][] = "Repeat5thYear";
$proto90["m_columns"][] = "Repeat5thYrTESAS";
$proto90["m_columns"][] = "Repeat5thYrFEE";
$proto90["m_columns"][] = "Paid5thYrRepeatFee";
$proto90["m_columns"][] = "Passdd5thYr";
$proto90["m_columns"][] = "sem1year5";
$proto90["m_columns"][] = "Graduated";
$proto90["m_columns"][] = "YearGraduated";
$proto90["m_columns"][] = "PostingtoSchool";
$proto90["m_columns"][] = "PostingsLLG";
$proto90["m_columns"][] = "ScholarshipType";
$proto90["m_columns"][] = "Comments";
$proto90["m_columns"][] = "NewApplicant";
$proto90["m_columns"][] = "Judge1Comment";
$proto90["m_columns"][] = "Reapply";
$proto90["m_columns"][] = "EmailAddrssAppl";
$proto90["m_columns"][] = "MobileNoAppl";
$proto90["m_columns"][] = "GPA";
$proto90["m_columns"][] = "approved1";
$proto90["m_columns"][] = "approved2";
$proto90["m_columns"][] = "approved3";
$proto90["m_columns"][] = "Judge2Comment";
$proto90["m_columns"][] = "Judge3Comment";
$proto90["m_columns"][] = "JudgeComment";
$proto90["m_columns"][] = "Lat";
$proto90["m_columns"][] = "Lng";
$proto90["m_columns"][] = "Documents";
$proto90["m_columns"][] = "judge1id";
$proto90["m_columns"][] = "judee2id";
$proto90["m_columns"][] = "judge3id";
$proto90["m_columns"][] = "username";
$proto90["m_columns"][] = "transcripts";
$proto90["m_columns"][] = "acceptletter";
$proto90["m_columns"][] = "gradetencert";
$proto90["m_columns"][] = "grade12cert";
$proto90["m_columns"][] = "natid";
$proto90["m_columns"][] = "sem2year1";
$proto90["m_columns"][] = "sem2year2";
$proto90["m_columns"][] = "sem2year3";
$proto90["m_columns"][] = "sem2year4";
$proto90["m_columns"][] = "sem2year5";
$proto90["m_columns"][] = "y1housingtype";
$proto90["m_columns"][] = "y2housingtype";
$proto90["m_columns"][] = "y3housingtype";
$proto90["m_columns"][] = "y4housingtype";
$proto90["m_columns"][] = "y5housingtype";
$proto90["m_columns"][] = "comment1";
$proto90["m_columns"][] = "comment2";
$proto90["m_columns"][] = "comment3";
$proto90["m_columns"][] = "comment4";
$proto90["m_columns"][] = "comment5";
$proto90["m_columns"][] = "assessed";
$proto90["m_columns"][] = "assessed1";
$proto90["m_columns"][] = "assessed2";
$proto90["m_columns"][] = "assessed3";
$proto90["m_columns"][] = "assessed4";
$proto90["m_columns"][] = "assessed5";
$proto90["m_columns"][] = "parentsnowliving";
$proto90["m_columns"][] = "active";
$proto90["m_columns"][] = "reset_token";
$proto90["m_columns"][] = "reset_date";
$obj = new SQLTable($proto90);

$proto89["m_table"] = $obj;
$proto89["m_sql"] = "applicform";
$proto89["m_alias"] = "";
$proto89["m_srcTableName"] = "NewApplicationsList2017";
$proto91=array();
$proto91["m_sql"] = "";
$proto91["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto91["m_column"]=$obj;
$proto91["m_contained"] = array();
$proto91["m_strCase"] = "";
$proto91["m_havingmode"] = false;
$proto91["m_inBrackets"] = false;
$proto91["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto91);

$proto89["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto89);

$proto3["m_fromlist"][]=$obj;
$proto3["m_groupby"] = array();
$proto3["m_orderby"] = array();
												$proto93=array();
						$obj = new SQLField(array(
	"m_strName" => "TertiaryInstitutionAdmitted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplicationsList2017"
));

$proto93["m_column"]=$obj;
$proto93["m_bAsc"] = 1;
$proto93["m_nColumn"] = 0;
$obj = new SQLOrderByItem($proto93);

$proto3["m_orderby"][]=$obj;					
$proto3["m_srcTableName"]="NewApplicationsList2017";		
$obj = new SQLQuery($proto3);

	return $obj;
}
$queryData_NewApplicationsList2017 = createSqlQuery_NewApplicationsList2017();


	
		;

																															

$tdataNewApplicationsList2017[".sqlquery"] = $queryData_NewApplicationsList2017;

$tableEvents["NewApplicationsList2017"] = new eventsBase;
$tdataNewApplicationsList2017[".hasEvents"] = false;

?>