Code:
str = "[CustomerID] = " & Reports!rptAccountMonthly!CustomerID & " And [ControlDate] >= #" & [Forms]![frmAccountManagement]![StartDate] & "# And [ControlDate] <= #" & [Forms]![frmAccountManagement]![EndDate] & "#"
varMonth1Charges = DSum("Amount", "[tblAccount]", str)
The above is returning null when I know if i look in the table it should have a value, can anyone see an error.