<?php



$tdataGraduatesAll = array();
$tdataGraduatesAll[".searchableFields"] = array();
$tdataGraduatesAll[".ShortName"] = "GraduatesAll";
$tdataGraduatesAll[".OwnerID"] = "";
$tdataGraduatesAll[".OriginalTable"] = "applicform";


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

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

//	field labels
$fieldLabelsGraduatesAll = array();
$fieldToolTipsGraduatesAll = array();
$pageTitlesGraduatesAll = array();
$placeHoldersGraduatesAll = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsGraduatesAll["English"] = array();
	$fieldToolTipsGraduatesAll["English"] = array();
	$placeHoldersGraduatesAll["English"] = array();
	$pageTitlesGraduatesAll["English"] = array();
	$fieldLabelsGraduatesAll["English"]["Surname"] = "Surname";
	$fieldToolTipsGraduatesAll["English"]["Surname"] = "";
	$placeHoldersGraduatesAll["English"]["Surname"] = "";
	$fieldLabelsGraduatesAll["English"]["Gender"] = "Gender";
	$fieldToolTipsGraduatesAll["English"]["Gender"] = "";
	$placeHoldersGraduatesAll["English"]["Gender"] = "";
	$fieldLabelsGraduatesAll["English"]["StudentSchoolID"] = "StudentID/Password";
	$fieldToolTipsGraduatesAll["English"]["StudentSchoolID"] = "Password/StudentID";
	$placeHoldersGraduatesAll["English"]["StudentSchoolID"] = "Password/StudentID";
	$fieldLabelsGraduatesAll["English"]["FirstName"] = "First Name";
	$fieldToolTipsGraduatesAll["English"]["FirstName"] = "";
	$placeHoldersGraduatesAll["English"]["FirstName"] = "";
	$fieldLabelsGraduatesAll["English"]["DateofBirth"] = "Dateof Birth";
	$fieldToolTipsGraduatesAll["English"]["DateofBirth"] = "";
	$placeHoldersGraduatesAll["English"]["DateofBirth"] = "";
	$fieldLabelsGraduatesAll["English"]["TertiaryInstitutionAdmitted"] = "Tertiary Institution Admitted";
	$fieldToolTipsGraduatesAll["English"]["TertiaryInstitutionAdmitted"] = "";
	$placeHoldersGraduatesAll["English"]["TertiaryInstitutionAdmitted"] = "";
	$fieldLabelsGraduatesAll["English"]["Graduated"] = "Graduated";
	$fieldToolTipsGraduatesAll["English"]["Graduated"] = "";
	$placeHoldersGraduatesAll["English"]["Graduated"] = "";
	$fieldLabelsGraduatesAll["English"]["MPGID"] = "MPGID";
	$fieldToolTipsGraduatesAll["English"]["MPGID"] = "";
	$placeHoldersGraduatesAll["English"]["MPGID"] = "MPGID";
	$fieldLabelsGraduatesAll["English"]["FatherDistrict"] = "Father District";
	$fieldToolTipsGraduatesAll["English"]["FatherDistrict"] = "";
	$placeHoldersGraduatesAll["English"]["FatherDistrict"] = "";
	$fieldLabelsGraduatesAll["English"]["MotherDistrict"] = "Mother District";
	$fieldToolTipsGraduatesAll["English"]["MotherDistrict"] = "";
	$placeHoldersGraduatesAll["English"]["MotherDistrict"] = "";
	$fieldLabelsGraduatesAll["English"]["DistrictOfBirth"] = "District Of Birth";
	$fieldToolTipsGraduatesAll["English"]["DistrictOfBirth"] = "";
	$placeHoldersGraduatesAll["English"]["DistrictOfBirth"] = "";
	$fieldLabelsGraduatesAll["English"]["YearGraduated"] = "Year Graduated";
	$fieldToolTipsGraduatesAll["English"]["YearGraduated"] = "";
	$placeHoldersGraduatesAll["English"]["YearGraduated"] = "";
	if (count($fieldToolTipsGraduatesAll["English"]))
		$tdataGraduatesAll[".isUseToolTips"] = true;
}


	$tdataGraduatesAll[".NCSearch"] = true;



$tdataGraduatesAll[".shortTableName"] = "GraduatesAll";
$tdataGraduatesAll[".nSecOptions"] = 0;

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

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

	



$tdataGraduatesAll[".showAddInPopup"] = false;

$tdataGraduatesAll[".showEditInPopup"] = false;

$tdataGraduatesAll[".showViewInPopup"] = false;

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


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

	$tdataGraduatesAll[".audit"] = false;

	$tdataGraduatesAll[".locking"] = false;


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

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

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

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

$tdataGraduatesAll[".updateSelected"] = true;


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




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

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

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

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



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

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

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

$tdataGraduatesAll[".isUseAjaxSuggest"] = true;




						

$tdataGraduatesAll[".ajaxCodeSnippetAdded"] = false;

$tdataGraduatesAll[".buttonsAdded"] = false;

$tdataGraduatesAll[".addPageEvents"] = false;

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


$tdataGraduatesAll[".badgeColor"] = "778899";


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

$tdataGraduatesAll[".googleLikeFields"] = array();
$tdataGraduatesAll[".googleLikeFields"][] = "StudentSchoolID";
$tdataGraduatesAll[".googleLikeFields"][] = "Surname";
$tdataGraduatesAll[".googleLikeFields"][] = "FirstName";
$tdataGraduatesAll[".googleLikeFields"][] = "Gender";
$tdataGraduatesAll[".googleLikeFields"][] = "DateofBirth";
$tdataGraduatesAll[".googleLikeFields"][] = "TertiaryInstitutionAdmitted";
$tdataGraduatesAll[".googleLikeFields"][] = "Graduated";
$tdataGraduatesAll[".googleLikeFields"][] = "MPGID";
$tdataGraduatesAll[".googleLikeFields"][] = "FatherDistrict";
$tdataGraduatesAll[".googleLikeFields"][] = "MotherDistrict";
$tdataGraduatesAll[".googleLikeFields"][] = "DistrictOfBirth";
$tdataGraduatesAll[".googleLikeFields"][] = "YearGraduated";



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

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

$tdataGraduatesAll[".nPrinterSplitRecords"] = 40;

$tdataGraduatesAll[".geocodingEnabled"] = false;

//report settings
$tdataGraduatesAll[".crossTabReport"] = true;

$tdataGraduatesAll[".reportGroupFields"] = true;
$tdataGraduatesAll[".pageSize"] = 5;
$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;
	$reportGroupFieldsList []= "TertiaryInstitutionAdmitted";

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


$tdataGraduatesAll[".isExistTotalFields"] = true;

$tdataGraduatesAll[".reportVerticalSummary"] = true;


$tdataGraduatesAll[".reportGlobalSummary"] = true;

$tdataGraduatesAll[".repShowDet"] = true;

$tdataGraduatesAll[".reportLayout"] = 6;

//end of report settings



$tdataGraduatesAll[".isDisplayLoading"] = true;







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

$tdataGraduatesAll[".orderindexes"] = array();
	$tdataGraduatesAll[".orderindexes"][] = array(7, (0 ? "ASC" : "DESC"), "Graduated");


$tdataGraduatesAll[".sqlHead"] = "SELECT StudentSchoolID,  Surname,  FirstName,  Gender,  DateofBirth,  TertiaryInstitutionAdmitted,  Graduated,  MPGID,  FatherDistrict,  MotherDistrict,  DistrictOfBirth,  YearGraduated";
$tdataGraduatesAll[".sqlFrom"] = "FROM applicform";
$tdataGraduatesAll[".sqlWhereExpr"] = "(Graduated =1)";
$tdataGraduatesAll[".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;
$tdataGraduatesAll[".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;
$tdataGraduatesAll[".arrGroupsPerPage"] = $arrGPP;


$tableKeysGraduatesAll = array();
$tdataGraduatesAll[".Keys"] = $tableKeysGraduatesAll;


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




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

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

	
	
			

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

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

	
	
				$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["controlWidth"] = 143;

//	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"] = "Equals";

	// the end of search options settings


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


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

//	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"] = "Equals";

	// the end of search options settings


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


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

//	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"] = "Equals";

	// the end of search options settings


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGraduatesAll["FirstName"] = $fdata;
		$tdataGraduatesAll[".searchableFields"][] = "FirstName";
//	Gender
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "Gender";
	$fdata["GoodName"] = "Gender";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GraduatesAll","Gender");
	$fdata["FieldType"] = 200;

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

	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["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"] = 143;

//	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"] = "Equals";

	// the end of search options settings


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


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

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

	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

	
	
	
		$edata["controlWidth"] = 143;

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

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


	$fdata["isSeparate"] = false;




// the field's search options settings
	
	// the end of search options settings


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGraduatesAll["DateofBirth"] = $fdata;
		$tdataGraduatesAll[".searchableFields"][] = "DateofBirth";
//	TertiaryInstitutionAdmitted
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "TertiaryInstitutionAdmitted";
	$fdata["GoodName"] = "TertiaryInstitutionAdmitted";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GraduatesAll","TertiaryInstitutionAdmitted");
	$fdata["FieldType"] = 200;

		// report field settings
				$fdata["isTotalMax"] = true;
		// 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["controlWidth"] = 143;

//	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"] = "Equals";

	// the end of search options settings


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGraduatesAll["TertiaryInstitutionAdmitted"] = $fdata;
		$tdataGraduatesAll[".searchableFields"][] = "TertiaryInstitutionAdmitted";
//	Graduated
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "Graduated";
	$fdata["GoodName"] = "Graduated";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GraduatesAll","Graduated");
	$fdata["FieldType"] = 3;

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

	
	
			

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

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

	
	
				$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"] = 143;

//	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"] = "Equals";

	// the end of search options settings


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGraduatesAll["Graduated"] = $fdata;
		$tdataGraduatesAll[".searchableFields"][] = "Graduated";
//	MPGID
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "MPGID";
	$fdata["GoodName"] = "MPGID";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GraduatesAll","MPGID");
	$fdata["FieldType"] = 3;

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

		$fdata["AutoInc"] = true;

	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["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["controlWidth"] = 143;

//	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"] = "Equals";

	// the end of search options settings


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


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


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


	$tdataGraduatesAll["MotherDistrict"] = $fdata;
		$tdataGraduatesAll[".searchableFields"][] = "MotherDistrict";
//	DistrictOfBirth
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 11;
	$fdata["strName"] = "DistrictOfBirth";
	$fdata["GoodName"] = "DistrictOfBirth";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GraduatesAll","DistrictOfBirth");
	$fdata["FieldType"] = 200;

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

	
	
			

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

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

	
	
				$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
	
			// 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


	$tdataGraduatesAll["DistrictOfBirth"] = $fdata;
		$tdataGraduatesAll[".searchableFields"][] = "DistrictOfBirth";
//	YearGraduated
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 12;
	$fdata["strName"] = "YearGraduated";
	$fdata["GoodName"] = "YearGraduated";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GraduatesAll","YearGraduated");
	$fdata["FieldType"] = 200;

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

	
	
			

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

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

	
	
				$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
	
			// 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


	$tdataGraduatesAll["YearGraduated"] = $fdata;
		$tdataGraduatesAll[".searchableFields"][] = "YearGraduated";


$tables_data["GraduatesAll"]=&$tdataGraduatesAll;
$field_labels["GraduatesAll"] = &$fieldLabelsGraduatesAll;
$fieldToolTips["GraduatesAll"] = &$fieldToolTipsGraduatesAll;
$placeHolders["GraduatesAll"] = &$placeHoldersGraduatesAll;
$page_titles["GraduatesAll"] = &$pageTitlesGraduatesAll;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)

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



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


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










function createSqlQuery_GraduatesAll()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "StudentSchoolID,  Surname,  FirstName,  Gender,  DateofBirth,  TertiaryInstitutionAdmitted,  Graduated,  MPGID,  FatherDistrict,  MotherDistrict,  DistrictOfBirth,  YearGraduated";
$proto0["m_strFrom"] = "FROM applicform";
$proto0["m_strWhere"] = "(Graduated =1)";
$proto0["m_strOrderBy"] = "ORDER BY Graduated DESC";
	
		;
			$proto0["cipherer"] = null;
$proto2=array();
$proto2["m_sql"] = "Graduated =1";
$proto2["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "Graduated",
	"m_strTable" => "applicform",
	"m_srcTableName" => "GraduatesAll"
));

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

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

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

$proto0["m_having"] = $obj;
$proto0["m_fieldlist"] = array();
						$proto6=array();
			$obj = new SQLField(array(
	"m_strName" => "StudentSchoolID",
	"m_strTable" => "applicform",
	"m_srcTableName" => "GraduatesAll"
));

$proto6["m_sql"] = "StudentSchoolID";
$proto6["m_srcTableName"] = "GraduatesAll";
$proto6["m_expr"]=$obj;
$proto6["m_alias"] = "";
$obj = new SQLFieldListItem($proto6);

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

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

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

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

$proto0["m_fieldlist"][]=$obj;
						$proto12=array();
			$obj = new SQLField(array(
	"m_strName" => "Gender",
	"m_strTable" => "applicform",
	"m_srcTableName" => "GraduatesAll"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto14=array();
			$obj = new SQLField(array(
	"m_strName" => "DateofBirth",
	"m_strTable" => "applicform",
	"m_srcTableName" => "GraduatesAll"
));

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

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

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

$proto0["m_fieldlist"][]=$obj;
						$proto18=array();
			$obj = new SQLField(array(
	"m_strName" => "Graduated",
	"m_strTable" => "applicform",
	"m_srcTableName" => "GraduatesAll"
));

$proto18["m_sql"] = "Graduated";
$proto18["m_srcTableName"] = "GraduatesAll";
$proto18["m_expr"]=$obj;
$proto18["m_alias"] = "";
$obj = new SQLFieldListItem($proto18);

$proto0["m_fieldlist"][]=$obj;
						$proto20=array();
			$obj = new SQLField(array(
	"m_strName" => "MPGID",
	"m_strTable" => "applicform",
	"m_srcTableName" => "GraduatesAll"
));

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

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

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

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

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

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

$proto26["m_sql"] = "DistrictOfBirth";
$proto26["m_srcTableName"] = "GraduatesAll";
$proto26["m_expr"]=$obj;
$proto26["m_alias"] = "";
$obj = new SQLFieldListItem($proto26);

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

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

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

$proto30["m_table"] = $obj;
$proto30["m_sql"] = "applicform";
$proto30["m_alias"] = "";
$proto30["m_srcTableName"] = "GraduatesAll";
$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);

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

$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
												$proto34=array();
						$obj = new SQLField(array(
	"m_strName" => "Graduated",
	"m_strTable" => "applicform",
	"m_srcTableName" => "GraduatesAll"
));

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

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

	return $obj;
}
$queryData_GraduatesAll = createSqlQuery_GraduatesAll();


	
		;

												

$tdataGraduatesAll[".sqlquery"] = $queryData_GraduatesAll;

$tableEvents["GraduatesAll"] = new eventsBase;
$tdataGraduatesAll[".hasEvents"] = false;

?>