C
ccholai
SELECT TOP 1 TreeCount.CDate, TreeCount.Trial, Count(TreeCount.Leafs)
AS NoOfLeafs, Avg(TreeCount.TreeC) AS TreeCount
FROM TreeCount
GROUP BY TreeCount.CDate, TreeCount.Trial
HAVING FrondCount.Trial = " &trial &"
Without the having statement - it works fine but once I put in the
criteria it comes up with Data type mismatch in criteria expression
Any help would be very appreciated. Thanks
AS NoOfLeafs, Avg(TreeCount.TreeC) AS TreeCount
FROM TreeCount
GROUP BY TreeCount.CDate, TreeCount.Trial
HAVING FrondCount.Trial = " &trial &"
Without the having statement - it works fine but once I put in the
criteria it comes up with Data type mismatch in criteria expression
Any help would be very appreciated. Thanks