View Full Version : Empty column in subreport results in #error


marko
08-19-2003, 11:01 AM
Hello!

I managed to show the data from the sub report on the main report. But the problem is that if sub report column I would like to use in calculation in main form is empty, I get an "#error" in my textbox. Now I tried nz, isnull, and combinations of the two that can be found in Access help but to no avail.

How can I replace that "#error" with "0" so that it doesn't propagate to the rest of my calculations?

Thanks!

Rich
08-19-2003, 11:34 AM
Search here for the HasData method, examples have been posted

marko
08-19-2003, 12:20 PM
Originally posted by Rich
Search here for the HasData method, examples have been posted

Many thanks!