<?php



$tdataNewApprovd2017NoDistrict = array();
$tdataNewApprovd2017NoDistrict[".searchableFields"] = array();
$tdataNewApprovd2017NoDistrict[".ShortName"] = "NewApprovd2017NoDistrict";
$tdataNewApprovd2017NoDistrict[".OwnerID"] = "";
$tdataNewApprovd2017NoDistrict[".OriginalTable"] = "applicform";


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

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

//	field labels
$fieldLabelsNewApprovd2017NoDistrict = array();
$fieldToolTipsNewApprovd2017NoDistrict = array();
$pageTitlesNewApprovd2017NoDistrict = array();
$placeHoldersNewApprovd2017NoDistrict = array();

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


	$tdataNewApprovd2017NoDistrict[".NCSearch"] = true;



$tdataNewApprovd2017NoDistrict[".shortTableName"] = "NewApprovd2017NoDistrict";
$tdataNewApprovd2017NoDistrict[".nSecOptions"] = 0;

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

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

	



$tdataNewApprovd2017NoDistrict[".showAddInPopup"] = false;

$tdataNewApprovd2017NoDistrict[".showEditInPopup"] = false;

$tdataNewApprovd2017NoDistrict[".showViewInPopup"] = false;

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


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

	$tdataNewApprovd2017NoDistrict[".audit"] = false;

	$tdataNewApprovd2017NoDistrict[".locking"] = false;


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

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

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

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

$tdataNewApprovd2017NoDistrict[".updateSelected"] = true;


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




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

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

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

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



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

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

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

$tdataNewApprovd2017NoDistrict[".isUseAjaxSuggest"] = true;




						

$tdataNewApprovd2017NoDistrict[".ajaxCodeSnippetAdded"] = false;

$tdataNewApprovd2017NoDistrict[".buttonsAdded"] = false;

$tdataNewApprovd2017NoDistrict[".addPageEvents"] = false;

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




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

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



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

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

$tdataNewApprovd2017NoDistrict[".nPrinterSplitRecords"] = 40;

$tdataNewApprovd2017NoDistrict[".geocodingEnabled"] = false;

//report settings
$tdataNewApprovd2017NoDistrict[".printReportLayout"] = 6;

$tdataNewApprovd2017NoDistrict[".reportPrintPartitionType"] = 1;
$tdataNewApprovd2017NoDistrict[".reportPrintGroupsPerPage"] = 40;
$tdataNewApprovd2017NoDistrict[".lowGroup"] = 0;



$tdataNewApprovd2017NoDistrict[".pageSize"] = 20;





$tdataNewApprovd2017NoDistrict[".reportGlobalSummary"] = true;

$tdataNewApprovd2017NoDistrict[".repShowDet"] = true;

$tdataNewApprovd2017NoDistrict[".reportLayout"] = 6;

//end of report settings



$tdataNewApprovd2017NoDistrict[".isDisplayLoading"] = true;







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

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

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

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


$tdataNewApprovd2017NoDistrict[".sqlHead"] = "SELECT Surname,  FirstName,  `1styear`,  Year2nd,  Year3rd,  Year4th,  Year5th,  Reapply,  TertiaryInstitutionAdmitted,  ScholarshipType,  ProgramName,  assessed,  FatherDistrict,  MotherDistrict";
$tdataNewApprovd2017NoDistrict[".sqlFrom"] = "FROM applicform";
$tdataNewApprovd2017NoDistrict[".sqlWhereExpr"] = "(NewApplicant is true) and (((`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=' ') or (MotherDistrict=' ')) is true)  or  (((FatherDistrict=' ') and (MotherDistrict=' ')) is true)";
$tdataNewApprovd2017NoDistrict[".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;
$tdataNewApprovd2017NoDistrict[".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;
$tdataNewApprovd2017NoDistrict[".arrGroupsPerPage"] = $arrGPP;

$tdataNewApprovd2017NoDistrict[".highlightSearchResults"] = true;

$tableKeysNewApprovd2017NoDistrict = array();
$tdataNewApprovd2017NoDistrict[".Keys"] = $tableKeysNewApprovd2017NoDistrict;


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




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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


$tables_data["NewApprovd2017NoDistrict"]=&$tdataNewApprovd2017NoDistrict;
$field_labels["NewApprovd2017NoDistrict"] = &$fieldLabelsNewApprovd2017NoDistrict;
$fieldToolTips["NewApprovd2017NoDistrict"] = &$fieldToolTipsNewApprovd2017NoDistrict;
$placeHolders["NewApprovd2017NoDistrict"] = &$placeHoldersNewApprovd2017NoDistrict;
$page_titles["NewApprovd2017NoDistrict"] = &$pageTitlesNewApprovd2017NoDistrict;

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

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



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


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










function createSqlQuery_NewApprovd2017NoDistrict()
{
$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"] = "(NewApplicant is true) and (((`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=' ') or (MotherDistrict=' ')) is true)  or  (((FatherDistrict=' ') and (MotherDistrict=' ')) is true)";
$proto0["m_strOrderBy"] = "ORDER BY TertiaryInstitutionAdmitted, FatherDistrict, MotherDistrict";
	
		;
			$proto0["cipherer"] = null;
$proto2=array();
$proto2["m_sql"] = "(NewApplicant is true) and (((`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=' ') or (MotherDistrict=' ')) is true)  or  (((FatherDistrict=' ') and (MotherDistrict=' ')) is true)";
$proto2["m_uniontype"] = "SQLL_OR";
	$obj = new SQLNonParsed(array(
	"m_sql" => "(NewApplicant is true) and (((`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=' ') or (MotherDistrict=' ')) is true)  or  (((FatherDistrict=' ') and (MotherDistrict=' ')) is true)"
));

$proto2["m_column"]=$obj;
$proto2["m_contained"] = array();
						$proto4=array();
$proto4["m_sql"] = "(NewApplicant is true) and (((`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=' ') or (MotherDistrict=' ')) is true)";
$proto4["m_uniontype"] = "SQLL_AND";
	$obj = new SQLNonParsed(array(
	"m_sql" => "(NewApplicant is true) and (((`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=' ') or (MotherDistrict=' ')) is true)"
));

$proto4["m_column"]=$obj;
$proto4["m_contained"] = array();
						$proto6=array();
$proto6["m_sql"] = "NewApplicant is true";
$proto6["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "NewApplicant",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApprovd2017NoDistrict"
));

$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"] = "((`1styear` > 2013) or (Year2nd > 2013) or (Year3rd > 2017) or (Year4th > 2013) or (Year5th > 2013)) is true";
$proto8["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLNonParsed(array(
	"m_sql" => "((`1styear` > 2013) or (Year2nd > 2013) or (Year3rd > 2017) or (Year4th > 2013) or (Year5th > 2013))"
));

$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"] = "assessed is true";
$proto10["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "assessed",
	"m_strTable" => "applicform",
	"m_srcTableName" => "NewApprovd2017NoDistrict"
));

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

$proto12["m_column"]=$obj;
$proto12["m_contained"] = array();
$proto12["m_strCase"] = "is not null";
$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"] = "((approved1 IS TRUE) AND (approved2 IS TRUE) AND (approved3 IS TRUE)) is true";
$proto14["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLNonParsed(array(
	"m_sql" => "((approved1 IS TRUE) AND (approved2 IS TRUE) AND (approved3 IS TRUE))"
));

$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;
						$proto16=array();
$proto16["m_sql"] = "((FatherDistrict=' ') or (MotherDistrict=' ')) is true";
$proto16["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLNonParsed(array(
	"m_sql" => "((FatherDistrict=' ') or (MotherDistrict=' '))"
));

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

			$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;
						$proto18=array();
$proto18["m_sql"] = "((FatherDistrict=' ') and (MotherDistrict=' ')) is true";
$proto18["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLNonParsed(array(
	"m_sql" => "((FatherDistrict=' ') and (MotherDistrict=' '))"
));

$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;
$proto2["m_strCase"] = "";
$proto2["m_havingmode"] = false;
$proto2["m_inBrackets"] = false;
$proto2["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto2);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

$proto50["m_table"] = $obj;
$proto50["m_sql"] = "applicform";
$proto50["m_alias"] = "";
$proto50["m_srcTableName"] = "NewApprovd2017NoDistrict";
$proto52=array();
$proto52["m_sql"] = "";
$proto52["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

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

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

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

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

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

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

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

	return $obj;
}
$queryData_NewApprovd2017NoDistrict = createSqlQuery_NewApprovd2017NoDistrict();


	
		;

														

$tdataNewApprovd2017NoDistrict[".sqlquery"] = $queryData_NewApprovd2017NoDistrict;

$tableEvents["NewApprovd2017NoDistrict"] = new eventsBase;
$tdataNewApprovd2017NoDistrict[".hasEvents"] = false;

?>