 		AND eiClass = 'sale'
         GROUP BY groupTitle, catTitle, prodTitle, siUnitSize, hh
 	</cfquery>
+<cfelse>
+	<p>Please select start date.</p>
 </cfif>
 <body>
 	<div>

			
			<table class="tableList" border="1">
				<tr>
					<th colspan="29">From: #DateFormat(reportDateFrom,"ddd dd-mmm-yy")# To: #DateFormat(reportDateTo,"ddd dd-mmm-yy")# #DayRange# Days</th>
				</tr>
				<tr>
					<th>Group</th>

<cfset parm = {}>
<cfset parm.datasource = application.site.datasource1>
<cfset dates = ecfc.GetDates(parm)>

<cfif StructKeyExists(form,"reportDateFrom") AND len(form.reportDateFrom) gt 0>
	<cfset parm.reportDateFrom = form.reportDateFrom>
	<cfset parm.reportDateTo = form.reportDateTo>
	<cfif len(form.reportDateTo) IS 0><cfset parm.reportDateTo = form.reportDateFrom></cfif>
	<cfquery name="QItemAnalysis" datasource="#parm.datasource#">
		SELECT prodID,prodCatID,prodEposCatID,prodTitle, siUnitSize, eiClass,eiType,eiNet,eiVAT, 
			ehID, ehTimeStamp, DATE(ehTimeStamp) AS yymmdd, HOUR(ehTimeStamp) AS hh, COUNT(*) AS recCount,
