I have a control button that opens FormA. On the "OnClick" event I want to :
1. Check the value of a variable named YesOpen in a table called FormOpen.
2. If YesOpen = 0 then, open FormA and then write to the table FormOpen to change the value of the Variable YesOpen to 1.
Else if YesOpen <> 0 then...
Msgbox("Form already open")
end if
I'm unfamiliar with how to code this. Basically I just want a table that will keep track of if a form is open. Any ideas?
Thanks as always,
Marco
1. Check the value of a variable named YesOpen in a table called FormOpen.
2. If YesOpen = 0 then, open FormA and then write to the table FormOpen to change the value of the Variable YesOpen to 1.
Else if YesOpen <> 0 then...
Msgbox("Form already open")
end if
I'm unfamiliar with how to code this. Basically I just want a table that will keep track of if a form is open. Any ideas?
Thanks as always,
Marco