<?php
$strTableName="Active Customers";
$_SESSION["OwnerID"] = $_SESSION["_".$strTableName."_OwnerID"];

$strOriginalTableName="customer_list";

$gstrOrderBy="";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy="order by ".$gstrOrderBy;

$g_orderindexes=array();
$gsqlHead="Select idCL,  `Customer Name`,  Address,  City,  `State`,  Country,  `Postal Code`,  `Web address`,  Area,  Customer_Category,  `Breif About the Company`,  `Existing Setup`,  `Interaction Summary`,  `Commercial Summary`,  `Customer Status`,  `Assigned Executive`,  `Assigned Date`,  `Last Updated on`,  Region,  `Aligned Partner`";
$gsqlFrom="FROM customer_list";
$gsqlWhereExpr="(`Customer Status` = \"Active\")";
$gsqlTail="";

include(getabspath("include/Active_Customers_settings.php"));

// alias for 'SQLQuery' object
$gQuery = &$queryData_Active_Customers;
$eventObj = &$tableEvents["Active Customers"];

$reportCaseSensitiveGroupFields = false;

$gstrSQL = gSQLWhere("");


?>