<?php



$tdataNewApplic2017notrans = array();
$tdataNewApplic2017notrans[".searchableFields"] = array();
$tdataNewApplic2017notrans[".ShortName"] = "NewApplic2017notrans";
$tdataNewApplic2017notrans[".OwnerID"] = "";
$tdataNewApplic2017notrans[".OriginalTable"] = "applicform";


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

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

//	field labels
$fieldLabelsNewApplic2017notrans = array();
$fieldToolTipsNewApplic2017notrans = array();
$pageTitlesNewApplic2017notrans = array();
$placeHoldersNewApplic2017notrans = array();

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


	$tdataNewApplic2017notrans[".NCSearch"] = true;



$tdataNewApplic2017notrans[".shortTableName"] = "NewApplic2017notrans";
$tdataNewApplic2017notrans[".nSecOptions"] = 0;

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

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

	



$tdataNewApplic2017notrans[".showAddInPopup"] = true;

$tdataNewApplic2017notrans[".showEditInPopup"] = true;

$tdataNewApplic2017notrans[".showViewInPopup"] = true;

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


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

	$tdataNewApplic2017notrans[".audit"] = false;

	$tdataNewApplic2017notrans[".locking"] = false;


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

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

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

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

$tdataNewApplic2017notrans[".updateSelected"] = true;


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




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

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

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

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



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

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

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

$tdataNewApplic2017notrans[".isUseAjaxSuggest"] = true;

$tdataNewApplic2017notrans[".rowHighlite"] = true;



						

$tdataNewApplic2017notrans[".ajaxCodeSnippetAdded"] = false;

$tdataNewApplic2017notrans[".buttonsAdded"] = false;

$tdataNewApplic2017notrans[".addPageEvents"] = false;

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




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

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



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

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

$tdataNewApplic2017notrans[".nPrinterSplitRecords"] = 40;

$tdataNewApplic2017notrans[".geocodingEnabled"] = false;




$tdataNewApplic2017notrans[".isDisplayLoading"] = true;

$tdataNewApplic2017notrans[".isResizeColumns"] = true;

$tdataNewApplic2017notrans[".searchIsRequiredForFilters"] = true;




$tdataNewApplic2017notrans[".pageSize"] = 20;

$tdataNewApplic2017notrans[".warnLeavingPages"] = true;



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

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


$tdataNewApplic2017notrans[".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";
$tdataNewApplic2017notrans[".sqlFrom"] = "FROM applicform";
$tdataNewApplic2017notrans[".sqlWhereExpr"] = "(transcripts is null) and (documents is null) and (acceptletter is null)   and (TertiaryInstitutionAdmitted is null) 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))";
$tdataNewApplic2017notrans[".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;
$tdataNewApplic2017notrans[".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;
$tdataNewApplic2017notrans[".arrGroupsPerPage"] = $arrGPP;


$tableKeysNewApplic2017notrans = array();
$tableKeysNewApplic2017notrans[] = "MPGID";
$tdataNewApplic2017notrans[".Keys"] = $tableKeysNewApplic2017notrans;


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




//	Surname
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "Surname";
	$fdata["GoodName"] = "Surname";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["Surname"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "Surname";
//	FirstName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "FirstName";
	$fdata["GoodName"] = "FirstName";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["FirstName"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "FirstName";
//	MPGID
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "MPGID";
	$fdata["GoodName"] = "MPGID";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["MPGID"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "MPGID";
//	MobileNoAppl
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "MobileNoAppl";
	$fdata["GoodName"] = "MobileNoAppl";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["MobileNoAppl"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "MobileNoAppl";
//	Photo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "Photo";
	$fdata["GoodName"] = "Photo";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["Photo"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "Photo";
//	Documents
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "Documents";
	$fdata["GoodName"] = "Documents";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["Documents"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "Documents";
//	Gender
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "Gender";
	$fdata["GoodName"] = "Gender";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["Gender"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "Gender";
//	DateofBirth
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "DateofBirth";
	$fdata["GoodName"] = "DateofBirth";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["DateofBirth"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "DateofBirth";
//	PlaceofBirth
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "PlaceofBirth";
	$fdata["GoodName"] = "PlaceofBirth";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["PlaceofBirth"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "PlaceofBirth";
//	FatherDistrict
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "FatherDistrict";
	$fdata["GoodName"] = "FatherDistrict";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["FatherDistrict"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "FatherDistrict";
//	MOTHERNAME
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 11;
	$fdata["strName"] = "MOTHERNAME";
	$fdata["GoodName"] = "MOTHERNAME";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["MOTHERNAME"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "MOTHERNAME";
//	MOTHERSURNAME
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 12;
	$fdata["strName"] = "MOTHERSURNAME";
	$fdata["GoodName"] = "MOTHERSURNAME";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["MOTHERSURNAME"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "MOTHERSURNAME";
//	MotherDistrict
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 13;
	$fdata["strName"] = "MotherDistrict";
	$fdata["GoodName"] = "MotherDistrict";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["MotherDistrict"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "MotherDistrict";
//	FATHERSNAME
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 14;
	$fdata["strName"] = "FATHERSNAME";
	$fdata["GoodName"] = "FATHERSNAME";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["FATHERSNAME"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "FATHERSNAME";
//	FATHERSURNAME
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 15;
	$fdata["strName"] = "FATHERSURNAME";
	$fdata["GoodName"] = "FATHERSURNAME";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["FATHERSURNAME"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "FATHERSURNAME";
//	TertiaryInstitutionAdmitted
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 16;
	$fdata["strName"] = "TertiaryInstitutionAdmitted";
	$fdata["GoodName"] = "TertiaryInstitutionAdmitted";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["TertiaryInstitutionAdmitted"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "TertiaryInstitutionAdmitted";
//	WitnessName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 17;
	$fdata["strName"] = "WitnessName";
	$fdata["GoodName"] = "WitnessName";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["WitnessName"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "WitnessName";
//	WitnessAddress
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 18;
	$fdata["strName"] = "WitnessAddress";
	$fdata["GoodName"] = "WitnessAddress";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["WitnessAddress"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "WitnessAddress";
//	WitnessOccupation
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 19;
	$fdata["strName"] = "WitnessOccupation";
	$fdata["GoodName"] = "WitnessOccupation";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["WitnessOccupation"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "WitnessOccupation";
//	NewApplicant
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 20;
	$fdata["strName"] = "NewApplicant";
	$fdata["GoodName"] = "NewApplicant";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["NewApplicant"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "NewApplicant";
//	Reapply
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 21;
	$fdata["strName"] = "Reapply";
	$fdata["GoodName"] = "Reapply";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["Reapply"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "Reapply";
//	EmailAddrssAppl
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 22;
	$fdata["strName"] = "EmailAddrssAppl";
	$fdata["GoodName"] = "EmailAddrssAppl";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["EmailAddrssAppl"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "EmailAddrssAppl";
//	Judge1Comment
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 23;
	$fdata["strName"] = "Judge1Comment";
	$fdata["GoodName"] = "Judge1Comment";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["Judge1Comment"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "Judge1Comment";
//	LastInstitutuonAttended
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 24;
	$fdata["strName"] = "LastInstitutuonAttended";
	$fdata["GoodName"] = "LastInstitutuonAttended";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["LastInstitutuonAttended"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "LastInstitutuonAttended";
//	HighestGradeCompleted
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 25;
	$fdata["strName"] = "HighestGradeCompleted";
	$fdata["GoodName"] = "HighestGradeCompleted";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["HighestGradeCompleted"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "HighestGradeCompleted";
//	ProgramName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 26;
	$fdata["strName"] = "ProgramName";
	$fdata["GoodName"] = "ProgramName";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["ProgramName"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "ProgramName";
//	1styear
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 27;
	$fdata["strName"] = "1styear";
	$fdata["GoodName"] = "1styear";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["1styear"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "1styear";
//	grade12cert
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 28;
	$fdata["strName"] = "grade12cert";
	$fdata["GoodName"] = "grade12cert";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["grade12cert"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "grade12cert";
//	gradetencert
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 29;
	$fdata["strName"] = "gradetencert";
	$fdata["GoodName"] = "gradetencert";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["gradetencert"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "gradetencert";
//	acceptletter
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 30;
	$fdata["strName"] = "acceptletter";
	$fdata["GoodName"] = "acceptletter";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


	$tdataNewApplic2017notrans["acceptletter"] = $fdata;
		$tdataNewApplic2017notrans[".searchableFields"][] = "acceptletter";
//	assessed
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 31;
	$fdata["strName"] = "assessed";
	$fdata["GoodName"] = "assessed";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("NewApplic2017notrans","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


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


$tables_data["NewApplic2017notrans"]=&$tdataNewApplic2017notrans;
$field_labels["NewApplic2017notrans"] = &$fieldLabelsNewApplic2017notrans;
$fieldToolTips["NewApplic2017notrans"] = &$fieldToolTipsNewApplic2017notrans;
$placeHolders["NewApplic2017notrans"] = &$placeHoldersNewApplic2017notrans;
$page_titles["NewApplic2017notrans"] = &$pageTitlesNewApplic2017notrans;

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

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



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


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










function createSqlQuery_NewApplic2017notrans()
{
$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"] = "(transcripts is null) and (documents is null) and (acceptletter is null)   and (TertiaryInstitutionAdmitted is null) 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"] = "(transcripts is null) and (documents is null) and (acceptletter is null)   and (TertiaryInstitutionAdmitted is null) 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" => "(transcripts is null) and (documents is null) and (acceptletter is null)   and (TertiaryInstitutionAdmitted is null) 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"] = "transcripts is null";
$proto7["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "transcripts",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplic2017notrans"
));

$proto7["m_column"]=$obj;
$proto7["m_contained"] = array();
$proto7["m_strCase"] = "is null";
$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"] = "documents is null";
$proto9["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "Documents",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplic2017notrans"
));

$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"] = "acceptletter is null";
$proto11["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "acceptletter",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplic2017notrans"
));

$proto11["m_column"]=$obj;
$proto11["m_contained"] = array();
$proto11["m_strCase"] = "is null";
$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"] = "TertiaryInstitutionAdmitted is null";
$proto13["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "TertiaryInstitutionAdmitted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApplic2017notrans"
));

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

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

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

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

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

			$proto5["m_contained"][]=$obj;
						$proto19=array();
$proto19["m_sql"] = "(`1styear` = 2017 = True) OR (Year2nd = 2017 = True) or (Year5th= 2017 = True) or (Fee4thYear= 2017 = True) or (Year3rd= 2017 = True)";
$proto19["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)"
));

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

$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);

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

$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);

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

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

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

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

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

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

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

			$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;
$proto31=array();
$proto31["m_sql"] = "";
$proto31["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

$proto95["m_table"] = $obj;
$proto95["m_sql"] = "applicform";
$proto95["m_alias"] = "";
$proto95["m_srcTableName"] = "NewApplic2017notrans";
$proto97=array();
$proto97["m_sql"] = "";
$proto97["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

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

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

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

	return $obj;
}
$queryData_NewApplic2017notrans = createSqlQuery_NewApplic2017notrans();


	
		;

																															

$tdataNewApplic2017notrans[".sqlquery"] = $queryData_NewApplic2017notrans;

$tableEvents["NewApplic2017notrans"] = new eventsBase;
$tdataNewApplic2017notrans[".hasEvents"] = false;

?>