J
Jennifer
Hello,
I have separate queries that display the sum of: Total Credits, Bad Credits,
and Closed credits. I am creating a new query(to put everything together)
based off these queries. I want to subtract the bad credits and closed
credits from total credits- the credit amounts are (-) negative. So
technically I need to sum the negative of these credits. I have the following
equation in my expression:
Adj Credit Amt:[Total Credits]+-[bad credits]+-[closed credits]
This does work too, but only if bad credits and closed credits have a dollar
figure in them. For example:
Total Credits Bad Credits Closed Credits
Adj Credit Amt
-50000 -10000 -500
-39500
-40000 -20000 (blank)
(blank)
If the closed credit doesn't have anything in, it doesn't populate my Adj
Credit Amt column with the correct figures. Is there a way around this? I was
thinking maybe an IIf statement but ain't sure of my true/false parts. Can
someone please help?
Thanks, Jennifer
I have separate queries that display the sum of: Total Credits, Bad Credits,
and Closed credits. I am creating a new query(to put everything together)
based off these queries. I want to subtract the bad credits and closed
credits from total credits- the credit amounts are (-) negative. So
technically I need to sum the negative of these credits. I have the following
equation in my expression:
Adj Credit Amt:[Total Credits]+-[bad credits]+-[closed credits]
This does work too, but only if bad credits and closed credits have a dollar
figure in them. For example:
Total Credits Bad Credits Closed Credits
Adj Credit Amt
-50000 -10000 -500
-39500
-40000 -20000 (blank)
(blank)
If the closed credit doesn't have anything in, it doesn't populate my Adj
Credit Amt column with the correct figures. Is there a way around this? I was
thinking maybe an IIf statement but ain't sure of my true/false parts. Can
someone please help?
Thanks, Jennifer