Hi. I'm having problems with the following DSum in my report footer. It gives me #Error when I run the report. I hope someone can help me out as I am at my wits end. What I am trying to do is to create a total budget which is revenues - expenses - expenses in-direct. Those controls are in the detail section of the report as groups. Here is the code.
=DSum("[Sum of Total Budget]","qrySummaryRe port","[Type] = 'Revenues'")-DSum("[Sum of Total Budget]","qrySummaryRe port","[Type] = 'Expenses In-direct'")-DSum("[Sum of Total Budget]","qrySummaryRe port","[Type] = 'Expenses'")
=DSum("[Sum of Total Budget]","qrySummaryRe port","[Type] = 'Revenues'")-DSum("[Sum of Total Budget]","qrySummaryRe port","[Type] = 'Expenses In-direct'")-DSum("[Sum of Total Budget]","qrySummaryRe port","[Type] = 'Expenses'")
Comment