Run the query
<br />
"select SUM(PretVanzare) AS PretVanzare, IIF(CatProdus Is Null, 0, CatProdus) AS CatProdus FROM ProduseVandute WHERE DataVanzare=@DataVanzare GROUP BY CatProdus";
in access after replacing parameter with date and check if you get any results or not.