Record count of a subform in another subform

G

Guest

I have a form which contains a subform (subQUOTE) on that subform I have
another subform (subQUOTEBREAKS). I have tried to place a field on subform
(subQUOTE) that has the count of records on the subform (subQUOTEBREAKS)
using the following in the control source field:
=[subQUOTEBREAKS].Form.RecordsetClone.RecordCount
this yields #Name?

What am I missing? The reason I want this count is so the user will know
whether or not to expand the item in subform (subQUOTE) to see if there are
any records in the subform (subQUOTEBREAKS). If there is a better way ...
please share.

Thanks
 
S

strive4peace

use Recordset not RecordsetClone

=[subQUOTEBREAKS].Form.Recordset.RecordCount


Warm Regards,
Crystal
*
:) have an awesome day :)
*
MVP Access
Remote Programming and Training
strive4peace2006 at yahoo.com
*
 

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