<?php



$tdataApprovdContinuingAll2017byDistrict = array();
$tdataApprovdContinuingAll2017byDistrict[".searchableFields"] = array();
$tdataApprovdContinuingAll2017byDistrict[".ShortName"] = "ApprovdContinuingAll2017byDistrict";
$tdataApprovdContinuingAll2017byDistrict[".OwnerID"] = "";
$tdataApprovdContinuingAll2017byDistrict[".OriginalTable"] = "applicform";


$defaultPages = my_json_decode( "{\"report\":\"report\",\"rprint\":\"rprint\",\"search\":\"search\"}" );

$tdataApprovdContinuingAll2017byDistrict[".pagesByType"] = my_json_decode( "{\"report\":[\"report\"],\"rprint\":[\"rprint\"],\"search\":[\"search\"]}" );
$tdataApprovdContinuingAll2017byDistrict[".pages"] = types2pages( my_json_decode( "{\"report\":[\"report\"],\"rprint\":[\"rprint\"],\"search\":[\"search\"]}" ) );
$tdataApprovdContinuingAll2017byDistrict[".defaultPages"] = $defaultPages;

//	field labels
$fieldLabelsApprovdContinuingAll2017byDistrict = array();
$fieldToolTipsApprovdContinuingAll2017byDistrict = array();
$pageTitlesApprovdContinuingAll2017byDistrict = array();
$placeHoldersApprovdContinuingAll2017byDistrict = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsApprovdContinuingAll2017byDistrict["English"] = array();
	$fieldToolTipsApprovdContinuingAll2017byDistrict["English"] = array();
	$placeHoldersApprovdContinuingAll2017byDistrict["English"] = array();
	$pageTitlesApprovdContinuingAll2017byDistrict["English"] = array();
	$fieldLabelsApprovdContinuingAll2017byDistrict["English"]["Surname"] = "Surname";
	$fieldToolTipsApprovdContinuingAll2017byDistrict["English"]["Surname"] = "";
	$placeHoldersApprovdContinuingAll2017byDistrict["English"]["Surname"] = "";
	$fieldLabelsApprovdContinuingAll2017byDistrict["English"]["FirstName"] = "First Name";
	$fieldToolTipsApprovdContinuingAll2017byDistrict["English"]["FirstName"] = "";
	$placeHoldersApprovdContinuingAll2017byDistrict["English"]["FirstName"] = "";
	$fieldLabelsApprovdContinuingAll2017byDistrict["English"]["TertiaryInstitutionAdmitted"] = "Tertiary Institution Admitted";
	$fieldToolTipsApprovdContinuingAll2017byDistrict["English"]["TertiaryInstitutionAdmitted"] = "";
	$placeHoldersApprovdContinuingAll2017byDistrict["English"]["TertiaryInstitutionAdmitted"] = "";
	$fieldLabelsApprovdContinuingAll2017byDistrict["English"]["ScholarshipType"] = "Scholarship Type";
	$fieldToolTipsApprovdContinuingAll2017byDistrict["English"]["ScholarshipType"] = "";
	$placeHoldersApprovdContinuingAll2017byDistrict["English"]["ScholarshipType"] = "";
	$fieldLabelsApprovdContinuingAll2017byDistrict["English"]["Reapply"] = "Reapply";
	$fieldToolTipsApprovdContinuingAll2017byDistrict["English"]["Reapply"] = "";
	$placeHoldersApprovdContinuingAll2017byDistrict["English"]["Reapply"] = "";
	$fieldLabelsApprovdContinuingAll2017byDistrict["English"]["ProgramName"] = "Program Name";
	$fieldToolTipsApprovdContinuingAll2017byDistrict["English"]["ProgramName"] = "";
	$placeHoldersApprovdContinuingAll2017byDistrict["English"]["ProgramName"] = "";
	$fieldLabelsApprovdContinuingAll2017byDistrict["English"]["1styear"] = "1styear";
	$fieldToolTipsApprovdContinuingAll2017byDistrict["English"]["1styear"] = "";
	$placeHoldersApprovdContinuingAll2017byDistrict["English"]["1styear"] = "";
	$fieldLabelsApprovdContinuingAll2017byDistrict["English"]["Year2nd"] = "Year2nd";
	$fieldToolTipsApprovdContinuingAll2017byDistrict["English"]["Year2nd"] = "";
	$placeHoldersApprovdContinuingAll2017byDistrict["English"]["Year2nd"] = "";
	$fieldLabelsApprovdContinuingAll2017byDistrict["English"]["Year3rd"] = "Year3rd";
	$fieldToolTipsApprovdContinuingAll2017byDistrict["English"]["Year3rd"] = "";
	$placeHoldersApprovdContinuingAll2017byDistrict["English"]["Year3rd"] = "";
	$fieldLabelsApprovdContinuingAll2017byDistrict["English"]["Year4th"] = "Year4th";
	$fieldToolTipsApprovdContinuingAll2017byDistrict["English"]["Year4th"] = "";
	$placeHoldersApprovdContinuingAll2017byDistrict["English"]["Year4th"] = "";
	$fieldLabelsApprovdContinuingAll2017byDistrict["English"]["Year5th"] = "Year5th";
	$fieldToolTipsApprovdContinuingAll2017byDistrict["English"]["Year5th"] = "";
	$placeHoldersApprovdContinuingAll2017byDistrict["English"]["Year5th"] = "";
	$fieldLabelsApprovdContinuingAll2017byDistrict["English"]["assessed"] = "Assessed";
	$fieldToolTipsApprovdContinuingAll2017byDistrict["English"]["assessed"] = "";
	$placeHoldersApprovdContinuingAll2017byDistrict["English"]["assessed"] = "";
	$fieldLabelsApprovdContinuingAll2017byDistrict["English"]["FatherDistrict"] = "District";
	$fieldToolTipsApprovdContinuingAll2017byDistrict["English"]["FatherDistrict"] = "";
	$placeHoldersApprovdContinuingAll2017byDistrict["English"]["FatherDistrict"] = "";
	$fieldLabelsApprovdContinuingAll2017byDistrict["English"]["MotherDistrict"] = "Mother District";
	$fieldToolTipsApprovdContinuingAll2017byDistrict["English"]["MotherDistrict"] = "";
	$placeHoldersApprovdContinuingAll2017byDistrict["English"]["MotherDistrict"] = "";
	if (count($fieldToolTipsApprovdContinuingAll2017byDistrict["English"]))
		$tdataApprovdContinuingAll2017byDistrict[".isUseToolTips"] = true;
}


	$tdataApprovdContinuingAll2017byDistrict[".NCSearch"] = true;



$tdataApprovdContinuingAll2017byDistrict[".shortTableName"] = "ApprovdContinuingAll2017byDistrict";
$tdataApprovdContinuingAll2017byDistrict[".nSecOptions"] = 0;

$tdataApprovdContinuingAll2017byDistrict[".mainTableOwnerID"] = "";
$tdataApprovdContinuingAll2017byDistrict[".entityType"] = 2;

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

	



$tdataApprovdContinuingAll2017byDistrict[".showAddInPopup"] = false;

$tdataApprovdContinuingAll2017byDistrict[".showEditInPopup"] = false;

$tdataApprovdContinuingAll2017byDistrict[".showViewInPopup"] = false;

//page's base css files names
$popupPagesLayoutNames = array();
$tdataApprovdContinuingAll2017byDistrict[".popupPagesLayoutNames"] = $popupPagesLayoutNames;


$tdataApprovdContinuingAll2017byDistrict[".listAjax"] = false;
//	temporary
$tdataApprovdContinuingAll2017byDistrict[".listAjax"] = false;

	$tdataApprovdContinuingAll2017byDistrict[".audit"] = false;

	$tdataApprovdContinuingAll2017byDistrict[".locking"] = false;


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

if( $pages[PAGE_EDIT] ) {
	$tdataApprovdContinuingAll2017byDistrict[".edit"] = true;
	$tdataApprovdContinuingAll2017byDistrict[".afterEditAction"] = 1;
	$tdataApprovdContinuingAll2017byDistrict[".closePopupAfterEdit"] = 1;
	$tdataApprovdContinuingAll2017byDistrict[".afterEditActionDetTable"] = "";
}

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

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

$tdataApprovdContinuingAll2017byDistrict[".updateSelected"] = true;


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




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

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

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

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



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

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

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

$tdataApprovdContinuingAll2017byDistrict[".isUseAjaxSuggest"] = true;




						

$tdataApprovdContinuingAll2017byDistrict[".ajaxCodeSnippetAdded"] = false;

$tdataApprovdContinuingAll2017byDistrict[".buttonsAdded"] = false;

$tdataApprovdContinuingAll2017byDistrict[".addPageEvents"] = false;

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




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

$tdataApprovdContinuingAll2017byDistrict[".googleLikeFields"] = array();
$tdataApprovdContinuingAll2017byDistrict[".googleLikeFields"][] = "Surname";
$tdataApprovdContinuingAll2017byDistrict[".googleLikeFields"][] = "FirstName";
$tdataApprovdContinuingAll2017byDistrict[".googleLikeFields"][] = "TertiaryInstitutionAdmitted";
$tdataApprovdContinuingAll2017byDistrict[".googleLikeFields"][] = "ProgramName";
$tdataApprovdContinuingAll2017byDistrict[".googleLikeFields"][] = "FatherDistrict";
$tdataApprovdContinuingAll2017byDistrict[".googleLikeFields"][] = "MotherDistrict";



$tdataApprovdContinuingAll2017byDistrict[".tableType"] = "report";

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

$tdataApprovdContinuingAll2017byDistrict[".nPrinterSplitRecords"] = 40;

$tdataApprovdContinuingAll2017byDistrict[".geocodingEnabled"] = false;

//report settings
$tdataApprovdContinuingAll2017byDistrict[".printReportLayout"] = 3;

$tdataApprovdContinuingAll2017byDistrict[".reportPrintPartitionType"] = 1;
$tdataApprovdContinuingAll2017byDistrict[".reportPrintGroupsPerPage"] = 3;
$tdataApprovdContinuingAll2017byDistrict[".lowGroup"] = 1;



$tdataApprovdContinuingAll2017byDistrict[".reportGroupFields"] = true;
$tdataApprovdContinuingAll2017byDistrict[".pageSize"] = 5;
$tdataApprovdContinuingAll2017byDistrict[".showGroupSummaryCount"] = true;
$reportGroupFieldsList = array();
$reportGroupFields = array();
	$reportGroupFieldsList []= "FatherDistrict";

	$rgroupField = array();
	$rgroupField['strGroupField'] = "FatherDistrict";
	$rgroupField['groupInterval'] = 0;
	$rgroupField['groupOrder'] = 1;
	$rgroupField['showGroupSummary'] = "1";
	$rgroupField['crossTabAxis'] = "0";
	$reportGroupFields[] = $rgroupField;
$tdataApprovdContinuingAll2017byDistrict[".reportGroupFieldsData"] = $reportGroupFields;
$tdataApprovdContinuingAll2017byDistrict[".reportGroupFieldsList"] = $reportGroupFieldsList;




$tdataApprovdContinuingAll2017byDistrict[".reportPageSummary"] = true;

$tdataApprovdContinuingAll2017byDistrict[".reportGlobalSummary"] = true;

$tdataApprovdContinuingAll2017byDistrict[".repShowDet"] = true;

$tdataApprovdContinuingAll2017byDistrict[".reportLayout"] = 3;

//end of report settings



$tdataApprovdContinuingAll2017byDistrict[".isDisplayLoading"] = true;







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

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

	$tdataApprovdContinuingAll2017byDistrict[".orderindexes"][] = array(13, (1 ? "ASC" : "DESC"), "FatherDistrict");

	$tdataApprovdContinuingAll2017byDistrict[".orderindexes"][] = array(14, (1 ? "ASC" : "DESC"), "MotherDistrict");


$tdataApprovdContinuingAll2017byDistrict[".sqlHead"] = "SELECT Surname,  FirstName,  `1styear`,  Year2nd,  Year3rd,  Year4th,  Year5th,  Reapply,  TertiaryInstitutionAdmitted,  ScholarshipType,  ProgramName,  assessed,  FatherDistrict,  MotherDistrict";
$tdataApprovdContinuingAll2017byDistrict[".sqlFrom"] = "FROM applicform";
$tdataApprovdContinuingAll2017byDistrict[".sqlWhereExpr"] = "(((`1styear` > 2013) or (Year2nd > 2013) or (Year3rd > 2017) or (Year4th > 2013) or (Year5th > 2013)) is true) AND   (assessed is true) AND (TertiaryInstitutionAdmitted is not null) AND (((approved1 IS TRUE) AND (approved2 IS TRUE) AND (approved3 IS TRUE)) is true) AND  (((FatherDistrict='Bulolo') or (MotherDistrict='Bulolo')) is true) OR   (((FatherDistrict='Huon') or (MotherDistrict='Huon')) is true) OR   (((FatherDistrict='Markham') or (MotherDistrict='Markham')) is true) OR   (((FatherDistrict='Menyama') or (MotherDistrict='Menyama')) is true) OR   (((FatherDistrict='Finshafen') or (MotherDistrict='Finshafen')) is true) OR   (((FatherDistrict='Lae') or (MotherDistrict='Lae')) is true) OR   (((FatherDistrict='Nawaeb') or (MotherDistrict='Nawae')) is true) AND   (((FatherDistrict <> 'Non-Morobean') or (MotherDistrict <> 'Non-Morobean')) is true)";
$tdataApprovdContinuingAll2017byDistrict[".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;
$tdataApprovdContinuingAll2017byDistrict[".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;
$tdataApprovdContinuingAll2017byDistrict[".arrGroupsPerPage"] = $arrGPP;

$tdataApprovdContinuingAll2017byDistrict[".highlightSearchResults"] = true;

$tableKeysApprovdContinuingAll2017byDistrict = array();
$tdataApprovdContinuingAll2017byDistrict[".Keys"] = $tableKeysApprovdContinuingAll2017byDistrict;


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




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

		// report field settings
					// end of report field settings

	
	
			

		$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"]["report"] = $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"]["search"] = $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


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

		// report field settings
					// end of report field settings

	
	
			

		$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"]["report"] = $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"]["search"] = $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


	$tdataApprovdContinuingAll2017byDistrict["FirstName"] = $fdata;
		$tdataApprovdContinuingAll2017byDistrict[".searchableFields"][] = "FirstName";
//	1styear
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "1styear";
	$fdata["GoodName"] = "1styear";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("ApprovdContinuingAll2017byDistrict","1styear");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

		$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"]["report"] = $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"]["search"] = $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


	$tdataApprovdContinuingAll2017byDistrict["1styear"] = $fdata;
		$tdataApprovdContinuingAll2017byDistrict[".searchableFields"][] = "1styear";
//	Year2nd
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "Year2nd";
	$fdata["GoodName"] = "Year2nd";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("ApprovdContinuingAll2017byDistrict","Year2nd");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["report"] = $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"]["search"] = $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


	$tdataApprovdContinuingAll2017byDistrict["Year2nd"] = $fdata;
		$tdataApprovdContinuingAll2017byDistrict[".searchableFields"][] = "Year2nd";
//	Year3rd
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "Year3rd";
	$fdata["GoodName"] = "Year3rd";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("ApprovdContinuingAll2017byDistrict","Year3rd");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["report"] = $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"]["search"] = $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


	$tdataApprovdContinuingAll2017byDistrict["Year3rd"] = $fdata;
		$tdataApprovdContinuingAll2017byDistrict[".searchableFields"][] = "Year3rd";
//	Year4th
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "Year4th";
	$fdata["GoodName"] = "Year4th";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("ApprovdContinuingAll2017byDistrict","Year4th");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["report"] = $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"]["search"] = $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


	$tdataApprovdContinuingAll2017byDistrict["Year4th"] = $fdata;
		$tdataApprovdContinuingAll2017byDistrict[".searchableFields"][] = "Year4th";
//	Year5th
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "Year5th";
	$fdata["GoodName"] = "Year5th";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("ApprovdContinuingAll2017byDistrict","Year5th");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["report"] = $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"]["search"] = $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


	$tdataApprovdContinuingAll2017byDistrict["Year5th"] = $fdata;
		$tdataApprovdContinuingAll2017byDistrict[".searchableFields"][] = "Year5th";
//	Reapply
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "Reapply";
	$fdata["GoodName"] = "Reapply";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("ApprovdContinuingAll2017byDistrict","Reapply");
	$fdata["FieldType"] = 3;

		// report field settings
					// end of report field settings

	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["report"] = $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"]["search"] = $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


	$tdataApprovdContinuingAll2017byDistrict["Reapply"] = $fdata;
		$tdataApprovdContinuingAll2017byDistrict[".searchableFields"][] = "Reapply";
//	TertiaryInstitutionAdmitted
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "TertiaryInstitutionAdmitted";
	$fdata["GoodName"] = "TertiaryInstitutionAdmitted";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("ApprovdContinuingAll2017byDistrict","TertiaryInstitutionAdmitted");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

		$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"]["report"] = $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"]["search"] = $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


	$tdataApprovdContinuingAll2017byDistrict["TertiaryInstitutionAdmitted"] = $fdata;
		$tdataApprovdContinuingAll2017byDistrict[".searchableFields"][] = "TertiaryInstitutionAdmitted";
//	ScholarshipType
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "ScholarshipType";
	$fdata["GoodName"] = "ScholarshipType";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("ApprovdContinuingAll2017byDistrict","ScholarshipType");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["report"] = $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"]["search"] = $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


	$tdataApprovdContinuingAll2017byDistrict["ScholarshipType"] = $fdata;
		$tdataApprovdContinuingAll2017byDistrict[".searchableFields"][] = "ScholarshipType";
//	ProgramName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 11;
	$fdata["strName"] = "ProgramName";
	$fdata["GoodName"] = "ProgramName";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("ApprovdContinuingAll2017byDistrict","ProgramName");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

		$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"]["report"] = $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"]["search"] = $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


	$tdataApprovdContinuingAll2017byDistrict["ProgramName"] = $fdata;
		$tdataApprovdContinuingAll2017byDistrict[".searchableFields"][] = "ProgramName";
//	assessed
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 12;
	$fdata["strName"] = "assessed";
	$fdata["GoodName"] = "assessed";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("ApprovdContinuingAll2017byDistrict","assessed");
	$fdata["FieldType"] = 3;

		// report field settings
					// end of report field settings

	
	
			

		$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"]["report"] = $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"]["search"] = $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


	$tdataApprovdContinuingAll2017byDistrict["assessed"] = $fdata;
		$tdataApprovdContinuingAll2017byDistrict[".searchableFields"][] = "assessed";
//	FatherDistrict
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 13;
	$fdata["strName"] = "FatherDistrict";
	$fdata["GoodName"] = "FatherDistrict";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("ApprovdContinuingAll2017byDistrict","FatherDistrict");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

		$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"]["report"] = $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"]["search"] = $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


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

		// report field settings
					// end of report field settings

	
	
			

		$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"]["report"] = $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"]["search"] = $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


	$tdataApprovdContinuingAll2017byDistrict["MotherDistrict"] = $fdata;
		$tdataApprovdContinuingAll2017byDistrict[".searchableFields"][] = "MotherDistrict";


$tables_data["ApprovdContinuingAll2017byDistrict"]=&$tdataApprovdContinuingAll2017byDistrict;
$field_labels["ApprovdContinuingAll2017byDistrict"] = &$fieldLabelsApprovdContinuingAll2017byDistrict;
$fieldToolTips["ApprovdContinuingAll2017byDistrict"] = &$fieldToolTipsApprovdContinuingAll2017byDistrict;
$placeHolders["ApprovdContinuingAll2017byDistrict"] = &$placeHoldersApprovdContinuingAll2017byDistrict;
$page_titles["ApprovdContinuingAll2017byDistrict"] = &$pageTitlesApprovdContinuingAll2017byDistrict;

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

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



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


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










function createSqlQuery_ApprovdContinuingAll2017byDistrict()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "Surname,  FirstName,  `1styear`,  Year2nd,  Year3rd,  Year4th,  Year5th,  Reapply,  TertiaryInstitutionAdmitted,  ScholarshipType,  ProgramName,  assessed,  FatherDistrict,  MotherDistrict";
$proto0["m_strFrom"] = "FROM applicform";
$proto0["m_strWhere"] = "(((`1styear` > 2013) or (Year2nd > 2013) or (Year3rd > 2017) or (Year4th > 2013) or (Year5th > 2013)) is true) AND   (assessed is true) AND (TertiaryInstitutionAdmitted is not null) AND (((approved1 IS TRUE) AND (approved2 IS TRUE) AND (approved3 IS TRUE)) is true) AND  (((FatherDistrict='Bulolo') or (MotherDistrict='Bulolo')) is true) OR   (((FatherDistrict='Huon') or (MotherDistrict='Huon')) is true) OR   (((FatherDistrict='Markham') or (MotherDistrict='Markham')) is true) OR   (((FatherDistrict='Menyama') or (MotherDistrict='Menyama')) is true) OR   (((FatherDistrict='Finshafen') or (MotherDistrict='Finshafen')) is true) OR   (((FatherDistrict='Lae') or (MotherDistrict='Lae')) is true) OR   (((FatherDistrict='Nawaeb') or (MotherDistrict='Nawae')) is true) AND   (((FatherDistrict <> 'Non-Morobean') or (MotherDistrict <> 'Non-Morobean')) is true)";
$proto0["m_strOrderBy"] = "ORDER BY TertiaryInstitutionAdmitted, FatherDistrict, MotherDistrict";
	
		;
			$proto0["cipherer"] = null;
$proto2=array();
$proto2["m_sql"] = "(((`1styear` > 2013) or (Year2nd > 2013) or (Year3rd > 2017) or (Year4th > 2013) or (Year5th > 2013)) is true) AND   (assessed is true) AND (TertiaryInstitutionAdmitted is not null) AND (((approved1 IS TRUE) AND (approved2 IS TRUE) AND (approved3 IS TRUE)) is true) AND  (((FatherDistrict='Bulolo') or (MotherDistrict='Bulolo')) is true) OR   (((FatherDistrict='Huon') or (MotherDistrict='Huon')) is true) OR   (((FatherDistrict='Markham') or (MotherDistrict='Markham')) is true) OR   (((FatherDistrict='Menyama') or (MotherDistrict='Menyama')) is true) OR   (((FatherDistrict='Finshafen') or (MotherDistrict='Finshafen')) is true) OR   (((FatherDistrict='Lae') or (MotherDistrict='Lae')) is true) OR   (((FatherDistrict='Nawaeb') or (MotherDistrict='Nawae')) is true) AND   (((FatherDistrict <> 'Non-Morobean') or (MotherDistrict <> 'Non-Morobean')) is true)";
$proto2["m_uniontype"] = "SQLL_OR";
	$obj = new SQLNonParsed(array(
	"m_sql" => "(((`1styear` > 2013) or (Year2nd > 2013) or (Year3rd > 2017) or (Year4th > 2013) or (Year5th > 2013)) is true) AND   (assessed is true) AND (TertiaryInstitutionAdmitted is not null) AND (((approved1 IS TRUE) AND (approved2 IS TRUE) AND (approved3 IS TRUE)) is true) AND  (((FatherDistrict='Bulolo') or (MotherDistrict='Bulolo')) is true) OR   (((FatherDistrict='Huon') or (MotherDistrict='Huon')) is true) OR   (((FatherDistrict='Markham') or (MotherDistrict='Markham')) is true) OR   (((FatherDistrict='Menyama') or (MotherDistrict='Menyama')) is true) OR   (((FatherDistrict='Finshafen') or (MotherDistrict='Finshafen')) is true) OR   (((FatherDistrict='Lae') or (MotherDistrict='Lae')) is true) OR   (((FatherDistrict='Nawaeb') or (MotherDistrict='Nawae')) is true) AND   (((FatherDistrict <> 'Non-Morobean') or (MotherDistrict <> 'Non-Morobean')) is true)"
));

$proto2["m_column"]=$obj;
$proto2["m_contained"] = array();
						$proto4=array();
$proto4["m_sql"] = "(((`1styear` > 2013) or (Year2nd > 2013) or (Year3rd > 2017) or (Year4th > 2013) or (Year5th > 2013)) is true) AND   (assessed is true) AND (TertiaryInstitutionAdmitted is not null) AND (((approved1 IS TRUE) AND (approved2 IS TRUE) AND (approved3 IS TRUE)) is true) AND  (((FatherDistrict='Bulolo') or (MotherDistrict='Bulolo')) is true)";
$proto4["m_uniontype"] = "SQLL_AND";
	$obj = new SQLNonParsed(array(
	"m_sql" => "(((`1styear` > 2013) or (Year2nd > 2013) or (Year3rd > 2017) or (Year4th > 2013) or (Year5th > 2013)) is true) AND   (assessed is true) AND (TertiaryInstitutionAdmitted is not null) AND (((approved1 IS TRUE) AND (approved2 IS TRUE) AND (approved3 IS TRUE)) is true) AND  (((FatherDistrict='Bulolo') or (MotherDistrict='Bulolo')) is true)"
));

$proto4["m_column"]=$obj;
$proto4["m_contained"] = array();
						$proto6=array();
$proto6["m_sql"] = "((`1styear` > 2013) or (Year2nd > 2013) or (Year3rd > 2017) or (Year4th > 2013) or (Year5th > 2013)) is true";
$proto6["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLNonParsed(array(
	"m_sql" => "((`1styear` > 2013) or (Year2nd > 2013) or (Year3rd > 2017) or (Year4th > 2013) or (Year5th > 2013))"
));

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

			$proto4["m_contained"][]=$obj;
						$proto8=array();
$proto8["m_sql"] = "assessed is true";
$proto8["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "assessed",
	"m_strTable" => "applicform",
	"m_srcTableName" => "ApprovdContinuingAll2017byDistrict"
));

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

			$proto4["m_contained"][]=$obj;
						$proto10=array();
$proto10["m_sql"] = "TertiaryInstitutionAdmitted is not null";
$proto10["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "TertiaryInstitutionAdmitted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "ApprovdContinuingAll2017byDistrict"
));

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

			$proto4["m_contained"][]=$obj;
						$proto12=array();
$proto12["m_sql"] = "((approved1 IS TRUE) AND (approved2 IS TRUE) AND (approved3 IS TRUE)) is true";
$proto12["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLNonParsed(array(
	"m_sql" => "((approved1 IS TRUE) AND (approved2 IS TRUE) AND (approved3 IS TRUE))"
));

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

			$proto4["m_contained"][]=$obj;
						$proto14=array();
$proto14["m_sql"] = "((FatherDistrict='Bulolo') or (MotherDistrict='Bulolo')) is true";
$proto14["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLNonParsed(array(
	"m_sql" => "((FatherDistrict='Bulolo') or (MotherDistrict='Bulolo'))"
));

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

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

			$proto2["m_contained"][]=$obj;
						$proto16=array();
$proto16["m_sql"] = "((FatherDistrict='Huon') or (MotherDistrict='Huon')) is true";
$proto16["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLNonParsed(array(
	"m_sql" => "((FatherDistrict='Huon') or (MotherDistrict='Huon'))"
));

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

			$proto2["m_contained"][]=$obj;
						$proto18=array();
$proto18["m_sql"] = "((FatherDistrict='Markham') or (MotherDistrict='Markham')) is true";
$proto18["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLNonParsed(array(
	"m_sql" => "((FatherDistrict='Markham') or (MotherDistrict='Markham'))"
));

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

			$proto2["m_contained"][]=$obj;
						$proto20=array();
$proto20["m_sql"] = "((FatherDistrict='Menyama') or (MotherDistrict='Menyama')) is true";
$proto20["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLNonParsed(array(
	"m_sql" => "((FatherDistrict='Menyama') or (MotherDistrict='Menyama'))"
));

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

			$proto2["m_contained"][]=$obj;
						$proto22=array();
$proto22["m_sql"] = "((FatherDistrict='Finshafen') or (MotherDistrict='Finshafen')) is true";
$proto22["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLNonParsed(array(
	"m_sql" => "((FatherDistrict='Finshafen') or (MotherDistrict='Finshafen'))"
));

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

			$proto2["m_contained"][]=$obj;
						$proto24=array();
$proto24["m_sql"] = "((FatherDistrict='Lae') or (MotherDistrict='Lae')) is true";
$proto24["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLNonParsed(array(
	"m_sql" => "((FatherDistrict='Lae') or (MotherDistrict='Lae'))"
));

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

			$proto2["m_contained"][]=$obj;
						$proto26=array();
$proto26["m_sql"] = "(((FatherDistrict='Nawaeb') or (MotherDistrict='Nawae')) is true) AND   (((FatherDistrict <> 'Non-Morobean') or (MotherDistrict <> 'Non-Morobean')) is true)";
$proto26["m_uniontype"] = "SQLL_AND";
	$obj = new SQLNonParsed(array(
	"m_sql" => "(((FatherDistrict='Nawaeb') or (MotherDistrict='Nawae')) is true) AND   (((FatherDistrict <> 'Non-Morobean') or (MotherDistrict <> 'Non-Morobean')) is true)"
));

$proto26["m_column"]=$obj;
$proto26["m_contained"] = array();
						$proto28=array();
$proto28["m_sql"] = "((FatherDistrict='Nawaeb') or (MotherDistrict='Nawae')) is true";
$proto28["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLNonParsed(array(
	"m_sql" => "((FatherDistrict='Nawaeb') or (MotherDistrict='Nawae'))"
));

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

			$proto26["m_contained"][]=$obj;
						$proto30=array();
$proto30["m_sql"] = "((FatherDistrict <> 'Non-Morobean') or (MotherDistrict <> 'Non-Morobean')) is true";
$proto30["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLNonParsed(array(
	"m_sql" => "((FatherDistrict <> 'Non-Morobean') or (MotherDistrict <> 'Non-Morobean'))"
));

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

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

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

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

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

$proto0["m_having"] = $obj;
$proto0["m_fieldlist"] = array();
						$proto34=array();
			$obj = new SQLField(array(
	"m_strName" => "Surname",
	"m_strTable" => "applicform",
	"m_srcTableName" => "ApprovdContinuingAll2017byDistrict"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto36=array();
			$obj = new SQLField(array(
	"m_strName" => "FirstName",
	"m_strTable" => "applicform",
	"m_srcTableName" => "ApprovdContinuingAll2017byDistrict"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto38=array();
			$obj = new SQLField(array(
	"m_strName" => "1styear",
	"m_strTable" => "applicform",
	"m_srcTableName" => "ApprovdContinuingAll2017byDistrict"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto40=array();
			$obj = new SQLField(array(
	"m_strName" => "Year2nd",
	"m_strTable" => "applicform",
	"m_srcTableName" => "ApprovdContinuingAll2017byDistrict"
));

$proto40["m_sql"] = "Year2nd";
$proto40["m_srcTableName"] = "ApprovdContinuingAll2017byDistrict";
$proto40["m_expr"]=$obj;
$proto40["m_alias"] = "";
$obj = new SQLFieldListItem($proto40);

$proto0["m_fieldlist"][]=$obj;
						$proto42=array();
			$obj = new SQLField(array(
	"m_strName" => "Year3rd",
	"m_strTable" => "applicform",
	"m_srcTableName" => "ApprovdContinuingAll2017byDistrict"
));

$proto42["m_sql"] = "Year3rd";
$proto42["m_srcTableName"] = "ApprovdContinuingAll2017byDistrict";
$proto42["m_expr"]=$obj;
$proto42["m_alias"] = "";
$obj = new SQLFieldListItem($proto42);

$proto0["m_fieldlist"][]=$obj;
						$proto44=array();
			$obj = new SQLField(array(
	"m_strName" => "Year4th",
	"m_strTable" => "applicform",
	"m_srcTableName" => "ApprovdContinuingAll2017byDistrict"
));

$proto44["m_sql"] = "Year4th";
$proto44["m_srcTableName"] = "ApprovdContinuingAll2017byDistrict";
$proto44["m_expr"]=$obj;
$proto44["m_alias"] = "";
$obj = new SQLFieldListItem($proto44);

$proto0["m_fieldlist"][]=$obj;
						$proto46=array();
			$obj = new SQLField(array(
	"m_strName" => "Year5th",
	"m_strTable" => "applicform",
	"m_srcTableName" => "ApprovdContinuingAll2017byDistrict"
));

$proto46["m_sql"] = "Year5th";
$proto46["m_srcTableName"] = "ApprovdContinuingAll2017byDistrict";
$proto46["m_expr"]=$obj;
$proto46["m_alias"] = "";
$obj = new SQLFieldListItem($proto46);

$proto0["m_fieldlist"][]=$obj;
						$proto48=array();
			$obj = new SQLField(array(
	"m_strName" => "Reapply",
	"m_strTable" => "applicform",
	"m_srcTableName" => "ApprovdContinuingAll2017byDistrict"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto50=array();
			$obj = new SQLField(array(
	"m_strName" => "TertiaryInstitutionAdmitted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "ApprovdContinuingAll2017byDistrict"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto52=array();
			$obj = new SQLField(array(
	"m_strName" => "ScholarshipType",
	"m_strTable" => "applicform",
	"m_srcTableName" => "ApprovdContinuingAll2017byDistrict"
));

$proto52["m_sql"] = "ScholarshipType";
$proto52["m_srcTableName"] = "ApprovdContinuingAll2017byDistrict";
$proto52["m_expr"]=$obj;
$proto52["m_alias"] = "";
$obj = new SQLFieldListItem($proto52);

$proto0["m_fieldlist"][]=$obj;
						$proto54=array();
			$obj = new SQLField(array(
	"m_strName" => "ProgramName",
	"m_strTable" => "applicform",
	"m_srcTableName" => "ApprovdContinuingAll2017byDistrict"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto56=array();
			$obj = new SQLField(array(
	"m_strName" => "assessed",
	"m_strTable" => "applicform",
	"m_srcTableName" => "ApprovdContinuingAll2017byDistrict"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto58=array();
			$obj = new SQLField(array(
	"m_strName" => "FatherDistrict",
	"m_strTable" => "applicform",
	"m_srcTableName" => "ApprovdContinuingAll2017byDistrict"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto60=array();
			$obj = new SQLField(array(
	"m_strName" => "MotherDistrict",
	"m_strTable" => "applicform",
	"m_srcTableName" => "ApprovdContinuingAll2017byDistrict"
));

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

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

$proto62["m_table"] = $obj;
$proto62["m_sql"] = "applicform";
$proto62["m_alias"] = "";
$proto62["m_srcTableName"] = "ApprovdContinuingAll2017byDistrict";
$proto64=array();
$proto64["m_sql"] = "";
$proto64["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
												$proto66=array();
						$obj = new SQLField(array(
	"m_strName" => "TertiaryInstitutionAdmitted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "ApprovdContinuingAll2017byDistrict"
));

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

$proto0["m_orderby"][]=$obj;					
												$proto68=array();
						$obj = new SQLField(array(
	"m_strName" => "FatherDistrict",
	"m_strTable" => "applicform",
	"m_srcTableName" => "ApprovdContinuingAll2017byDistrict"
));

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

$proto0["m_orderby"][]=$obj;					
												$proto70=array();
						$obj = new SQLField(array(
	"m_strName" => "MotherDistrict",
	"m_strTable" => "applicform",
	"m_srcTableName" => "ApprovdContinuingAll2017byDistrict"
));

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

$proto0["m_orderby"][]=$obj;					
$proto0["m_srcTableName"]="ApprovdContinuingAll2017byDistrict";		
$obj = new SQLQuery($proto0);

	return $obj;
}
$queryData_ApprovdContinuingAll2017byDistrict = createSqlQuery_ApprovdContinuingAll2017byDistrict();


	
		;

														

$tdataApprovdContinuingAll2017byDistrict[".sqlquery"] = $queryData_ApprovdContinuingAll2017byDistrict;

$tableEvents["ApprovdContinuingAll2017byDistrict"] = new eventsBase;
$tdataApprovdContinuingAll2017byDistrict[".hasEvents"] = false;

?>