Does HasData work in foms?

  • Thread starter Thread starter Meg
  • Start date Start date
M

Meg

I am referencing a field in a subform, and when the
subform contains no data, I get #Error.

I have tried to replace the error with a "0" using
HasData, but with no success.
=iif([subform].form.hasdata=true,[subform].[field],"0")

Access looks for a field called "HasData".

Any other suggestions?
Thanks!
 
Back
Top