B
Baz
Hi there
I am trying to count the number of entries in a table with the value of $
98.00 in a table, when i run the following query i get a count of all
entries for a particular day between the dates
SELECT Count(tblPolicyDetail.TotalPremium) AS CountOfTotalPremium,
tblPolicyDetail.DateOfSale
FROM tblPolicyDetail
GROUP BY tblPolicyDetail.DateOfSale
HAVING (((tblPolicyDetail.DateOfSale) Between [1] And [2]));
But as soon as i put 98.00 in the query criteria and use the query below, I
get no results, the are $ 98.00 entries.
SELECT Count(tblCancerPolicyDetail.TotalPremium) AS CountOfTotalPremium,
tblPolicyDetail.DateOfSale
FROM tblPolicyDetail
GROUP BY tblPolicyDetail.DateOfSale
HAVING (((Count(tblPolicyDetail.TotalPremium))=98) AND
((tblPolicyDetail.DateOfSale) Between [1] And [2]));
Please help
Thanks
Barry
I am trying to count the number of entries in a table with the value of $
98.00 in a table, when i run the following query i get a count of all
entries for a particular day between the dates
SELECT Count(tblPolicyDetail.TotalPremium) AS CountOfTotalPremium,
tblPolicyDetail.DateOfSale
FROM tblPolicyDetail
GROUP BY tblPolicyDetail.DateOfSale
HAVING (((tblPolicyDetail.DateOfSale) Between [1] And [2]));
But as soon as i put 98.00 in the query criteria and use the query below, I
get no results, the are $ 98.00 entries.
SELECT Count(tblCancerPolicyDetail.TotalPremium) AS CountOfTotalPremium,
tblPolicyDetail.DateOfSale
FROM tblPolicyDetail
GROUP BY tblPolicyDetail.DateOfSale
HAVING (((Count(tblPolicyDetail.TotalPremium))=98) AND
((tblPolicyDetail.DateOfSale) Between [1] And [2]));
Please help
Thanks
Barry