Open form only if subform has data

C

Cathy

I need to write a button click event that look at three
forms and only open the form/forms that have data in the
subform area. How do I go about checking the subform for
data or empty?

Thank you!
Cathy
 
G

Gerald Stanley

You can examine the recordcount of the subform's recordset.
If it is zero, you know that the subform has no data.

Hope This Helps
Gerald Stanley MCSD
 

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