Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dsum in report section footers

Status
Not open for further replies.

dbase3man

Technical User
Jan 30, 2009
1
US
I have a linked table of payments received called Pay_verify1 where payments are recorded in batches daily in which the batch number is system generated. Each batch contains several revenue codes. I have a report with batch number as section header and I would like to get subtotals by batch number, and by revenue codes, in the batch number footer in an unbound text box control.

=DSum(“[Amount]”,”Pay_verify1”,”[Revcode]=’7487’) works fine in the report footer but not in the batch number footer.

When I try =DSum(“[Amount]”,”Pay_verify1”.”[Batch_no]= & Batch_No) AND [Revcode]=’7487’) in the batch section footer, I get #error. I piece this together from reading examples from online forums. Any help will be appreciated thanks.
 



Hi,

What Application? If you are in MS Access, I suggest posting in Forum703, or one of the many other MS Access Forums.

Skip,
[glasses]Don't let the Diatribe...
talk you to death![tongue]

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top