FormA has fields: FieldX, FieldY, and Subform SubformB with Fields: Field1, Field2, Field3, Field4
In the On
Add, On Load for FormA I have the following script:
hide FieldY
hide SubformB.Field3
hide SubformB.Field4
and it all works fine while I'm entering a new record.
In the On
Edit, On Load script for FormA, I have the same script:
hide FieldY
hide SubformB.Field3
hide SubformB.Field4
But when I Edit that new record by doing an 'Edit' from a Report/View, only FieldY on the main form is hidden, the subform fields are not hidden. Why do they hide on an Add but not on an Edit?