I have a form with a subform (let's call them Form01 and SubForm01). SubForm01 is also used as a stand-alone form, accessed from a command button on another form (Form02). All my forms (dozens of them) have a standard header - client logo, title, exit button, background colour etc.
When SubForm01 opens as part of Form01 I want the header hidden. When it is opened as a standalone form from Form02 I would like the header visible. I know how to do one of the other simply by setting the visible setting in the properties.
Is it possible to code the command button to open the form with the header visible? And still keep it hidden when it's used as a subform?
When SubForm01 opens as part of Form01 I want the header hidden. When it is opened as a standalone form from Form02 I would like the header visible. I know how to do one of the other simply by setting the visible setting in the properties.
Is it possible to code the command button to open the form with the header visible? And still keep it hidden when it's used as a subform?