I have a query where I want to sum a running total. I've used the microsoft example as it's exactly how I want the query to be shown. I thought I had the correct syntax but I keep getting #error when the query has been ran.
Here's the syntax:
CountOfExternal Reference is a count value from the query testexch and I'm not sure if that might have something to do with it.
tia
Here's the syntax:
Code:
Totals: DSum("CountOfExternal Reference","testexch","DatePart('m',[Contract Start Date])<=" & [AMonth] & " And DatePart('yyyy', [Contract Start Date])<=" & [AYear] & "")
CountOfExternal Reference is a count value from the query testexch and I'm not sure if that might have something to do with it.
tia