My current formula is:
=DSum("DEBIT","qryExpense_Report","ACCOUNT_NUMBER = '" & 5040823 & "' And Month = Format$(DateAdd(" & Chr(34) & "m" & Chr(34) & ",-1,Now())," & Chr(34) & "mmmm" & Chr(34))
And I cant run it against the table, as I am trying to pull a variable from a calculated field,