Hey guys,
Having a bit of an issue with this dsum. I used to have this code with a table that contained records for that year only. Now I am combining all years into one table. My dsum code on my form is returning a value for that month as normal but now it includes the month for every year.
For example it will add up june 2010 but also add june 2011.
Ive played around with it a bunch but cant get it to only select the current month AND year... probably really simple but its not coming to me. Below is the dsum:
Thanks all!![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Having a bit of an issue with this dsum. I used to have this code with a table that contained records for that year only. Now I am combining all years into one table. My dsum code on my form is returning a value for that month as normal but now it includes the month for every year.
For example it will add up june 2010 but also add june 2011.
Ive played around with it a bunch but cant get it to only select the current month AND year... probably really simple but its not coming to me. Below is the dsum:
Code:
=DSum("[Value]","Jobs","Month([Date]) = " & Month([Date]))
Thanks all!