Hi Everyone,
I am trying to calculate a customers first week worth of revenue using the following on my report:
txtRevFirst = DSum("[AMOUNT_DUE]", "[INVOICES]", "[CUSTOMER_CODE]=[txtCustCode] and [STATE]<>4 and [DATE_OF_INVOICE]<#txtFirstWeek#")
txtFirstWeek is simply the date of the first...