M
Mona-ABE
From a public function in a module in Access I'm trying to set the visible
property to false on a control on a nested subform. I have the main form
(frmModuleWeeklyReport) with a subform (Workstream Name, Status & Comments).
The subform (Workstream Name, Status & Comments) has a subform (Deliverable
Detail) which contains a control (SBDelivTargetDate) that I'd like to make
invisible when certain parameters are met. This is the code I wrote below
and I'm getting the error message #2455, "You entered an expression that has
an invalid reference to the property Form/Report."
Forms![frmModuleWeeklyReport]![Workstream Name, Status &
Comments].Form![Deliverable Detail].Form![SBDelivTargetDate].Visible = False
Please advise!
property to false on a control on a nested subform. I have the main form
(frmModuleWeeklyReport) with a subform (Workstream Name, Status & Comments).
The subform (Workstream Name, Status & Comments) has a subform (Deliverable
Detail) which contains a control (SBDelivTargetDate) that I'd like to make
invisible when certain parameters are met. This is the code I wrote below
and I'm getting the error message #2455, "You entered an expression that has
an invalid reference to the property Form/Report."
Forms![frmModuleWeeklyReport]![Workstream Name, Status &
Comments].Form![Deliverable Detail].Form![SBDelivTargetDate].Visible = False
Please advise!