Hope someone can help.
I have a form with a few general stats from my table "AuctionSales"
I can summarize todays and yesterdays sales ok but I am having trouble summing up this weeks sales and last week sales
I have this so far but I am missing the point somewhere
=DSum("TotalSales","AuctionSales","Year([OrderDate])"=Year(Date()) And DatePart("ww",[OrderDate],0)=DatePart("ww",Date(),0))
Thanks
I have a form with a few general stats from my table "AuctionSales"
I can summarize todays and yesterdays sales ok but I am having trouble summing up this weeks sales and last week sales
I have this so far but I am missing the point somewhere
=DSum("TotalSales","AuctionSales","Year([OrderDate])"=Year(Date()) And DatePart("ww",[OrderDate],0)=DatePart("ww",Date(),0))
Thanks