Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error# on no data in subform

Status
Not open for further replies.

Tash

MIS
Nov 3, 2001
62
0
0
US
Hello -

I'm sure this is a simple problem, but I just can't seem to get it to work. I have a simple invoice report that I have put a subform into. I total the subform and then reference that total field on the main report. It works great when there is data, but if there is no data in the subform, I get the Error# message on the Invoice totals. I've included the nz([total]) function on all my calculations, but I still get the error message.

Thanks!
 
I figured it out - I used the report.hasdata=true function and it works perfectly. Thanks anyway!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top