Hello. I am new to the DSum function and could use some guidance. I have tried researching it, but am not finding the info to really help me understand why it won't work in my report.
I tried using this function in a query and it worked just fine. But for some reason when I put it in a text box in a report the result is "#Error" or "Name?"
My report is linked to a query - the name of this query is "production combined for report". I have a field called "Payable" that I need the values summed if the value in the "department" field is "Kitchen"
(I have no idea how to do SQL or VBA by the way) So then this is my code:
DSum("[payable]", "[production combined for report]", "[department]= kitchen")
I'm not sure if I'm screwing up on the placement of the brackets and/or the quotation marks?
Thanks in advance for the help!