I'm struggling with a bit of code and can't seem to get the syntax right.
I have an On Click procedure for one of my buttons but I don't want to allow it to run unless another form is currently open.
My other form is frm_go_live and it contains some variables relating to a project launch. I need that form to be open before my On Click procedure will work.
Something along these lines...
I have an On Click procedure for one of my buttons but I don't want to allow it to run unless another form is currently open.
My other form is frm_go_live and it contains some variables relating to a project launch. I need that form to be open before my On Click procedure will work.
Something along these lines...
Code:
If (Forms!frm_go_live) [B]SOMETHING[/B] Then
MsgBox "Please ensure the go live form is open before attempting to run this script."
Else