S
scottyboyb
Greetings,
Access 2000 on Windows xp sp3.
I have an invoice report with three sub reports: 1, time worked, 2, expenses
& 3, payments. I have a calculated field that adds the subtotals from each
subreport and places it at the end of the report. Here is the expression
rigth now:
=[Forms]![Print Invoice]![Total Expenses]+[Forms]![Print Invoice]![Total
Hourly Billings]-[Forms]![Clients]![Clients Subform]![Total Payments]
This works fine if I have data in all three subreports. But not if the
payments subtotal is empty. I have not tried it with any other empty
subreports. Right now I only have the circumstance that payment is null.
How do I write the =iif statement so that I get the result of all three if
all three have data and the results if one or both of the other two does not
have data?
I have situations where I only am invoicing time or only invoicing material
but I do not invoice for payments.
Many thanks,
Scott B
Access 2000 on Windows xp sp3.
I have an invoice report with three sub reports: 1, time worked, 2, expenses
& 3, payments. I have a calculated field that adds the subtotals from each
subreport and places it at the end of the report. Here is the expression
rigth now:
=[Forms]![Print Invoice]![Total Expenses]+[Forms]![Print Invoice]![Total
Hourly Billings]-[Forms]![Clients]![Clients Subform]![Total Payments]
This works fine if I have data in all three subreports. But not if the
payments subtotal is empty. I have not tried it with any other empty
subreports. Right now I only have the circumstance that payment is null.
How do I write the =iif statement so that I get the result of all three if
all three have data and the results if one or both of the other two does not
have data?
I have situations where I only am invoicing time or only invoicing material
but I do not invoice for payments.
Many thanks,
Scott B