How to prevent subform when nothing enter on main form

S

SF

Hi,

How to prevent user from entering data in subform or event disable subform
when nothing enter on main form?

SF
 
A

Arvin Meyer [MVP]

Start with the subform disabled. In the after update event of the main form,
enable the subform. In the current event of the main form, check if there's
data in the main form and enable the subform id there is.
 

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