Hello,
Thanks to a previous helper I found some great Dsum info here:
Unfortunately I can't get the code to work for my requirements.
I'm trying to sum the payment received ($) field within my 'tbl_treatment payments' table for every record that has the field "payment method" = cash.
The code I'm using is:
=DSum("payment received","tbl_ treatment payments","paym ent method = cash")
I'm sure my mistake is something simple, however I can't for the life of me figure it out. It's driving me crazy.
This is all for a report in Access 2000.
Thanks!
Thanks to a previous helper I found some great Dsum info here:
Unfortunately I can't get the code to work for my requirements.
I'm trying to sum the payment received ($) field within my 'tbl_treatment payments' table for every record that has the field "payment method" = cash.
The code I'm using is:
=DSum("payment received","tbl_ treatment payments","paym ent method = cash")
I'm sure my mistake is something simple, however I can't for the life of me figure it out. It's driving me crazy.
This is all for a report in Access 2000.
Thanks!
Comment