If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
#error due to blank report
I have a billing report that uses totals for the month. If there is no
billing the report is blank. If I add old billing to the blank billing I get #error. How do I get it to add up. Thanks -- Mark |
#2
|
|||
|
|||
#error due to blank report
Hi Mark,
You need to replace NULL values with 0. Try using nz(FIELDNAME, 0) Damian. "MARK RAUCH" wrote: I have a billing report that uses totals for the month. If there is no billing the report is blank. If I add old billing to the blank billing I get #error. How do I get it to add up. Thanks -- Mark |
#3
|
|||
|
|||
#error due to blank report
Nz() will not work if the record doesn't return any records.
You can use an expression like: =IIf([HasData],[Some Expression],0) -- Duane Hookom Microsoft Access MVP "Damian S" wrote: Hi Mark, You need to replace NULL values with 0. Try using nz(FIELDNAME, 0) Damian. "MARK RAUCH" wrote: I have a billing report that uses totals for the month. If there is no billing the report is blank. If I add old billing to the blank billing I get #error. How do I get it to add up. Thanks -- Mark |
Thread Tools | |
Display Modes | |
|
|