I have a form (call it frmOrdersRead) with four sub-forms with tab format. On one of the sub-forms (call it sfmNotes) there is a control button (call it cobClose) that I would like to hide when the main form frmOrdersRead opens. I’m having problems referring to this control button. I have used the following on the load event of the main form frmOrdersRead with no joy. Any help would be welcome
Me![sfmNotes].[Form]![cobClose].[Visible]=False
And also:
[form]!frmOrdersRead![sfmNotes].[Form]![cobClose].[Visible]=False