Hi, I wonder if someone could help me with the following...
Basically I'm trying to disable a button on a form when a specific action happens on the subform. I have searched around for an answer and the closest thing I can come up with is by using the Parent Property, But cant get it to work, the syntax I'm using returns a 'object defined error'.
This is what I have tried - probably way out on this: -
Me.Parent.frmMain.btnGotoMain.Visible = False
Please can someone help with this, you would be appreciated.
Thanks,
Nic
Basically I'm trying to disable a button on a form when a specific action happens on the subform. I have searched around for an answer and the closest thing I can come up with is by using the Parent Property, But cant get it to work, the syntax I'm using returns a 'object defined error'.
This is what I have tried - probably way out on this: -
Me.Parent.frmMain.btnGotoMain.Visible = False
Please can someone help with this, you would be appreciated.
Thanks,
Nic