Does HasData work in foms?

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top