Hello,
I think for dates in Access you have to do:
"SELECT SumOfbudgetAmt FROM qryBudTotalBlock WHERE budgetDate BETWEEN #"& Request("fromDate" )&"# AND #"&Request("endDate")&"# "
Also, extra spaces between the single quote and the value could cause no results to return, as it literally looks for a space before and after, as such:
' 6/22/2004 '
Brian
|