Re: How to display total by category at the end of the report?



Maulik Bhatt <Maulik Bhatt@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I am preparing database of the money collected from clients. The money can
be in cash or by cheque. In the monthly report, I want to display the total
amount collected in cash and by cheque. I tried to place it in the report
footer, but it showed error. How can display the cash total and cheque total
at the end of the report?
If anyone requires, I can send the database; which is in Access 2003 version.


You didn't say how you distinguish one kind of payment from
another or how the amount is stored so I'll just guess that
there is an Amount field in the report's record source
table/query (*not* a control on the report) and that there
is a Cash field that is True for cash and False for checks.

Based on the above assumptions, use text boxes in the report
footer with expressions like:
=Sum(IIf(Cash, Amount, 0))
and
=Sum(IIf(Not Cash, Amount, 0))

--
Marsh
MVP [MS Access]
.



Relevant Pages

  • Re: Hired friend to do work for client - he wants cash.
    ... works full time to do 16 hours of work for my client at $50/hr CASH. ... Could I pay him ... $600 by check and he would not have to report it? ... It doesn't matter if you deduct the amount paid to him or not, ...
    (misc.taxes)
  • Re: Live Tournament Question
    ... >instance, if I cash, what is the amount that you can win in a tourney and not ... you still are required by law report the income. ... chips or cash, whichever you prefer. ...
    (rec.gambling.poker)
  • Re: Large electric bill - advice sought
    ... for the electricity bill since. ... Send them a cheque with your letter for this amount stating ... that your cheque is "full and final payment in regard to this bill". ... Once they cash your cheque, ...
    (uk.legal)
  • All items overnight survive the keen accommodation.
    ... vivid phrases. ... If you'll amount Junior's background with passports, ... through announce the cash. ...
    (rec.arts.drwho)
  • skipping blank lines - again
    ... If the amount is displayed in it's own ... >> I have a report that lists various employee benefits. ... When the graph is there, ...
    (microsoft.public.access.reports)