Subform problem

L

Ling

I have a subform which its record source is based on a
query. However, sometimes this query may not generate any
records at all.
Besides this, I have a control on the parent form that
refers to one of the controls in the subform.So, when the
subform does not have any records, this control on the
parent form shows #Error. How do I solve this? At least
make this control show a zero or null value when the
subform has no records.

Thanx

Ling
 

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