<?php



$tdataGPAGENERAL = array();
$tdataGPAGENERAL[".searchableFields"] = array();
$tdataGPAGENERAL[".ShortName"] = "GPAGENERAL";
$tdataGPAGENERAL[".OwnerID"] = "";
$tdataGPAGENERAL[".OriginalTable"] = "applicform";


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

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

//	field labels
$fieldLabelsGPAGENERAL = array();
$fieldToolTipsGPAGENERAL = array();
$pageTitlesGPAGENERAL = array();
$placeHoldersGPAGENERAL = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsGPAGENERAL["English"] = array();
	$fieldToolTipsGPAGENERAL["English"] = array();
	$placeHoldersGPAGENERAL["English"] = array();
	$pageTitlesGPAGENERAL["English"] = array();
	$fieldLabelsGPAGENERAL["English"]["StudentSchoolID"] = "Student School ID";
	$fieldToolTipsGPAGENERAL["English"]["StudentSchoolID"] = "";
	$placeHoldersGPAGENERAL["English"]["StudentSchoolID"] = "";
	$fieldLabelsGPAGENERAL["English"]["Surname"] = "Surname";
	$fieldToolTipsGPAGENERAL["English"]["Surname"] = "";
	$placeHoldersGPAGENERAL["English"]["Surname"] = "";
	$fieldLabelsGPAGENERAL["English"]["FirstName"] = "First Name";
	$fieldToolTipsGPAGENERAL["English"]["FirstName"] = "";
	$placeHoldersGPAGENERAL["English"]["FirstName"] = "";
	$fieldLabelsGPAGENERAL["English"]["TertiaryInstitutionAdmitted"] = "Tertiary Institution Admitted";
	$fieldToolTipsGPAGENERAL["English"]["TertiaryInstitutionAdmitted"] = "";
	$placeHoldersGPAGENERAL["English"]["TertiaryInstitutionAdmitted"] = "";
	$fieldLabelsGPAGENERAL["English"]["ProgramCode"] = "Program Code";
	$fieldToolTipsGPAGENERAL["English"]["ProgramCode"] = "";
	$placeHoldersGPAGENERAL["English"]["ProgramCode"] = "";
	$fieldLabelsGPAGENERAL["English"]["MPGID"] = "MPGID";
	$fieldToolTipsGPAGENERAL["English"]["MPGID"] = "";
	$placeHoldersGPAGENERAL["English"]["MPGID"] = "";
	$fieldLabelsGPAGENERAL["English"]["1stYear_GPA"] = "1stYear GPA";
	$fieldToolTipsGPAGENERAL["English"]["1stYear_GPA"] = "";
	$placeHoldersGPAGENERAL["English"]["1stYear_GPA"] = "";
	$fieldLabelsGPAGENERAL["English"]["2ndYear_GPA"] = "2ndYear GPA";
	$fieldToolTipsGPAGENERAL["English"]["2ndYear_GPA"] = "";
	$placeHoldersGPAGENERAL["English"]["2ndYear_GPA"] = "";
	$fieldLabelsGPAGENERAL["English"]["3rdYear_GPA3"] = "3rdYear GPA3";
	$fieldToolTipsGPAGENERAL["English"]["3rdYear_GPA3"] = "";
	$placeHoldersGPAGENERAL["English"]["3rdYear_GPA3"] = "";
	$fieldLabelsGPAGENERAL["English"]["4thYear_GPA4"] = "4thYear GPA4";
	$fieldToolTipsGPAGENERAL["English"]["4thYear_GPA4"] = "";
	$placeHoldersGPAGENERAL["English"]["4thYear_GPA4"] = "";
	$fieldLabelsGPAGENERAL["English"]["Cummulative_GPA"] = "Cumm. GPA";
	$fieldToolTipsGPAGENERAL["English"]["Cummulative_GPA"] = "";
	$placeHoldersGPAGENERAL["English"]["Cummulative_GPA"] = "";
	$fieldLabelsGPAGENERAL["English"]["1styear"] = "1styear";
	$fieldToolTipsGPAGENERAL["English"]["1styear"] = "";
	$placeHoldersGPAGENERAL["English"]["1styear"] = "";
	$fieldLabelsGPAGENERAL["English"]["Year2nd"] = "Year2nd";
	$fieldToolTipsGPAGENERAL["English"]["Year2nd"] = "";
	$placeHoldersGPAGENERAL["English"]["Year2nd"] = "";
	$fieldLabelsGPAGENERAL["English"]["Year3rd"] = "Year3rd";
	$fieldToolTipsGPAGENERAL["English"]["Year3rd"] = "";
	$placeHoldersGPAGENERAL["English"]["Year3rd"] = "";
	$fieldLabelsGPAGENERAL["English"]["Year4th"] = "Year4th";
	$fieldToolTipsGPAGENERAL["English"]["Year4th"] = "";
	$placeHoldersGPAGENERAL["English"]["Year4th"] = "";
	if (count($fieldToolTipsGPAGENERAL["English"]))
		$tdataGPAGENERAL[".isUseToolTips"] = true;
}


	$tdataGPAGENERAL[".NCSearch"] = true;



$tdataGPAGENERAL[".shortTableName"] = "GPAGENERAL";
$tdataGPAGENERAL[".nSecOptions"] = 0;

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

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

	



$tdataGPAGENERAL[".showAddInPopup"] = false;

$tdataGPAGENERAL[".showEditInPopup"] = false;

$tdataGPAGENERAL[".showViewInPopup"] = false;

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


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

	$tdataGPAGENERAL[".audit"] = false;

	$tdataGPAGENERAL[".locking"] = false;


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

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

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

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

$tdataGPAGENERAL[".updateSelected"] = true;


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




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

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

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

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



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

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

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

$tdataGPAGENERAL[".isUseAjaxSuggest"] = true;

$tdataGPAGENERAL[".rowHighlite"] = true;



						

$tdataGPAGENERAL[".ajaxCodeSnippetAdded"] = false;

$tdataGPAGENERAL[".buttonsAdded"] = false;

$tdataGPAGENERAL[".addPageEvents"] = false;

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




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

$tdataGPAGENERAL[".googleLikeFields"] = array();
$tdataGPAGENERAL[".googleLikeFields"][] = "Surname";
$tdataGPAGENERAL[".googleLikeFields"][] = "FirstName";
$tdataGPAGENERAL[".googleLikeFields"][] = "StudentSchoolID";
$tdataGPAGENERAL[".googleLikeFields"][] = "TertiaryInstitutionAdmitted";
$tdataGPAGENERAL[".googleLikeFields"][] = "ProgramCode";
$tdataGPAGENERAL[".googleLikeFields"][] = "1styear";
$tdataGPAGENERAL[".googleLikeFields"][] = "1stYear GPA";
$tdataGPAGENERAL[".googleLikeFields"][] = "Year2nd";
$tdataGPAGENERAL[".googleLikeFields"][] = "2ndYear GPA";
$tdataGPAGENERAL[".googleLikeFields"][] = "Year3rd";
$tdataGPAGENERAL[".googleLikeFields"][] = "3rdYear GPA3";
$tdataGPAGENERAL[".googleLikeFields"][] = "Year4th";
$tdataGPAGENERAL[".googleLikeFields"][] = "4thYear GPA4";
$tdataGPAGENERAL[".googleLikeFields"][] = "Cummulative GPA";
$tdataGPAGENERAL[".googleLikeFields"][] = "MPGID";



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

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

$tdataGPAGENERAL[".nPrinterSplitRecords"] = 40;

$tdataGPAGENERAL[".geocodingEnabled"] = false;




$tdataGPAGENERAL[".isDisplayLoading"] = true;

$tdataGPAGENERAL[".isResizeColumns"] = true;





$tdataGPAGENERAL[".pageSize"] = 20;

$tdataGPAGENERAL[".warnLeavingPages"] = true;



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

$tdataGPAGENERAL[".orderindexes"] = array();

$tdataGPAGENERAL[".sqlHead"] = "SELECT Surname,  FirstName,  StudentSchoolID,  TertiaryInstitutionAdmitted,  ProgramCode,  `1styear`,  Repeatd1stYearFee AS `1stYear GPA`,  Year2nd,  Repeat2ndYearFee AS `2ndYear GPA`,  Year3rd,  Repeatd3rdYrFee AS `3rdYear GPA3`,  Year4th,  Repeat4thYrFee AS `4thYear GPA4`,  GPA AS `Cummulative GPA`,  MPGID";
$tdataGPAGENERAL[".sqlFrom"] = "FROM applicform";
$tdataGPAGENERAL[".sqlWhereExpr"] = "";
$tdataGPAGENERAL[".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;
$tdataGPAGENERAL[".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;
$tdataGPAGENERAL[".arrGroupsPerPage"] = $arrGPP;

$tdataGPAGENERAL[".highlightSearchResults"] = true;

$tableKeysGPAGENERAL = array();
$tableKeysGPAGENERAL[] = "MPGID";
$tdataGPAGENERAL[".Keys"] = $tableKeysGPAGENERAL;


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




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

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


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

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


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

	
	
	
			

		$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"]["view"] = $vdata;
//  End View Formats

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGPAGENERAL["StudentSchoolID"] = $fdata;
		$tdataGPAGENERAL[".searchableFields"][] = "StudentSchoolID";
//	TertiaryInstitutionAdmitted
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "TertiaryInstitutionAdmitted";
	$fdata["GoodName"] = "TertiaryInstitutionAdmitted";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GPAGENERAL","TertiaryInstitutionAdmitted");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGPAGENERAL["TertiaryInstitutionAdmitted"] = $fdata;
		$tdataGPAGENERAL[".searchableFields"][] = "TertiaryInstitutionAdmitted";
//	ProgramCode
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "ProgramCode";
	$fdata["GoodName"] = "ProgramCode";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GPAGENERAL","ProgramCode");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGPAGENERAL["ProgramCode"] = $fdata;
		$tdataGPAGENERAL[".searchableFields"][] = "ProgramCode";
//	1styear
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "1styear";
	$fdata["GoodName"] = "1styear";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GPAGENERAL","1styear");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGPAGENERAL["1styear"] = $fdata;
		$tdataGPAGENERAL[".searchableFields"][] = "1styear";
//	1stYear GPA
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "1stYear GPA";
	$fdata["GoodName"] = "1stYear_GPA";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GPAGENERAL","1stYear_GPA");
	$fdata["FieldType"] = 5;

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



		$edata["IsRequired"] = true;

	
	
	
			$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");
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGPAGENERAL["1stYear GPA"] = $fdata;
		$tdataGPAGENERAL[".searchableFields"][] = "1stYear GPA";
//	Year2nd
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "Year2nd";
	$fdata["GoodName"] = "Year2nd";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GPAGENERAL","Year2nd");
	$fdata["FieldType"] = 200;

	
	
	
			

		$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"]["view"] = $vdata;
//  End View Formats

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGPAGENERAL["Year2nd"] = $fdata;
		$tdataGPAGENERAL[".searchableFields"][] = "Year2nd";
//	2ndYear GPA
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "2ndYear GPA";
	$fdata["GoodName"] = "2ndYear_GPA";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GPAGENERAL","2ndYear_GPA");
	$fdata["FieldType"] = 5;

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



		$edata["IsRequired"] = true;

	
	
	
			$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");
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGPAGENERAL["2ndYear GPA"] = $fdata;
		$tdataGPAGENERAL[".searchableFields"][] = "2ndYear GPA";
//	Year3rd
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "Year3rd";
	$fdata["GoodName"] = "Year3rd";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GPAGENERAL","Year3rd");
	$fdata["FieldType"] = 200;

	
	
	
			

		$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"]["view"] = $vdata;
//  End View Formats

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGPAGENERAL["Year3rd"] = $fdata;
		$tdataGPAGENERAL[".searchableFields"][] = "Year3rd";
//	3rdYear GPA3
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 11;
	$fdata["strName"] = "3rdYear GPA3";
	$fdata["GoodName"] = "3rdYear_GPA3";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GPAGENERAL","3rdYear_GPA3");
	$fdata["FieldType"] = 5;

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



		$edata["IsRequired"] = true;

	
	
	
			$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");
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGPAGENERAL["3rdYear GPA3"] = $fdata;
		$tdataGPAGENERAL[".searchableFields"][] = "3rdYear GPA3";
//	Year4th
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 12;
	$fdata["strName"] = "Year4th";
	$fdata["GoodName"] = "Year4th";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GPAGENERAL","Year4th");
	$fdata["FieldType"] = 200;

	
	
	
			

		$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"]["view"] = $vdata;
//  End View Formats

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGPAGENERAL["Year4th"] = $fdata;
		$tdataGPAGENERAL[".searchableFields"][] = "Year4th";
//	4thYear GPA4
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 13;
	$fdata["strName"] = "4thYear GPA4";
	$fdata["GoodName"] = "4thYear_GPA4";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GPAGENERAL","4thYear_GPA4");
	$fdata["FieldType"] = 5;

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



		$edata["IsRequired"] = true;

	
	
	
			$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");
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGPAGENERAL["4thYear GPA4"] = $fdata;
		$tdataGPAGENERAL[".searchableFields"][] = "4thYear GPA4";
//	Cummulative GPA
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 14;
	$fdata["strName"] = "Cummulative GPA";
	$fdata["GoodName"] = "Cummulative_GPA";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GPAGENERAL","Cummulative_GPA");
	$fdata["FieldType"] = 5;

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



		$edata["IsRequired"] = true;

	
	
	
			$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");
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGPAGENERAL["Cummulative GPA"] = $fdata;
		$tdataGPAGENERAL[".searchableFields"][] = "Cummulative GPA";
//	MPGID
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 15;
	$fdata["strName"] = "MPGID";
	$fdata["GoodName"] = "MPGID";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GPAGENERAL","MPGID");
	$fdata["FieldType"] = 3;

	
		$fdata["AutoInc"] = true;

	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



		$edata["IsRequired"] = true;

	
	
	
			$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");
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGPAGENERAL["MPGID"] = $fdata;
		$tdataGPAGENERAL[".searchableFields"][] = "MPGID";


$tables_data["GPAGENERAL"]=&$tdataGPAGENERAL;
$field_labels["GPAGENERAL"] = &$fieldLabelsGPAGENERAL;
$fieldToolTips["GPAGENERAL"] = &$fieldToolTipsGPAGENERAL;
$placeHolders["GPAGENERAL"] = &$placeHoldersGPAGENERAL;
$page_titles["GPAGENERAL"] = &$pageTitlesGPAGENERAL;

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

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



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


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










function createSqlQuery_GPAGENERAL()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "Surname,  FirstName,  StudentSchoolID,  TertiaryInstitutionAdmitted,  ProgramCode,  `1styear`,  Repeatd1stYearFee AS `1stYear GPA`,  Year2nd,  Repeat2ndYearFee AS `2ndYear GPA`,  Year3rd,  Repeatd3rdYrFee AS `3rdYear GPA3`,  Year4th,  Repeat4thYrFee AS `4thYear GPA4`,  GPA AS `Cummulative GPA`,  MPGID";
$proto0["m_strFrom"] = "FROM applicform";
$proto0["m_strWhere"] = "";
$proto0["m_strOrderBy"] = "";
	
		;
			$proto0["cipherer"] = null;
$proto2=array();
$proto2["m_sql"] = "";
$proto2["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto2["m_column"]=$obj;
$proto2["m_contained"] = array();
$proto2["m_strCase"] = "";
$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" => "Surname",
	"m_strTable" => "applicform",
	"m_srcTableName" => "GPAGENERAL"
));

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

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

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

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

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

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

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

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

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

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

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

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

$proto18["m_sql"] = "Repeatd1stYearFee";
$proto18["m_srcTableName"] = "GPAGENERAL";
$proto18["m_expr"]=$obj;
$proto18["m_alias"] = "1stYear GPA";
$obj = new SQLFieldListItem($proto18);

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

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

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

$proto22["m_sql"] = "Repeat2ndYearFee";
$proto22["m_srcTableName"] = "GPAGENERAL";
$proto22["m_expr"]=$obj;
$proto22["m_alias"] = "2ndYear GPA";
$obj = new SQLFieldListItem($proto22);

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

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

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

$proto26["m_sql"] = "Repeatd3rdYrFee";
$proto26["m_srcTableName"] = "GPAGENERAL";
$proto26["m_expr"]=$obj;
$proto26["m_alias"] = "3rdYear GPA3";
$obj = new SQLFieldListItem($proto26);

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

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

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

$proto30["m_sql"] = "Repeat4thYrFee";
$proto30["m_srcTableName"] = "GPAGENERAL";
$proto30["m_expr"]=$obj;
$proto30["m_alias"] = "4thYear GPA4";
$obj = new SQLFieldListItem($proto30);

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

$proto32["m_sql"] = "GPA";
$proto32["m_srcTableName"] = "GPAGENERAL";
$proto32["m_expr"]=$obj;
$proto32["m_alias"] = "Cummulative GPA";
$obj = new SQLFieldListItem($proto32);

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

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

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

$proto36["m_table"] = $obj;
$proto36["m_sql"] = "applicform";
$proto36["m_alias"] = "";
$proto36["m_srcTableName"] = "GPAGENERAL";
$proto38=array();
$proto38["m_sql"] = "";
$proto38["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
$proto0["m_srcTableName"]="GPAGENERAL";		
$obj = new SQLQuery($proto0);

	return $obj;
}
$queryData_GPAGENERAL = createSqlQuery_GPAGENERAL();


	
		;

															

$tdataGPAGENERAL[".sqlquery"] = $queryData_GPAGENERAL;

$tableEvents["GPAGENERAL"] = new eventsBase;
$tdataGPAGENERAL[".hasEvents"] = false;

?>