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.
 
Top