Access 2002
Does anyone know how I can close a form if it is open?
I am opening another form and when this is opened i want certain forms not be open as the code will use this same form. So if the form is open it will be closed. If not open then it will do nothing.
eg
If form2 is open then
close form2
else
' do nothing
end if
cheers in advance
neemi
Does anyone know how I can close a form if it is open?
I am opening another form and when this is opened i want certain forms not be open as the code will use this same form. So if the form is open it will be closed. If not open then it will do nothing.
eg
If form2 is open then
close form2
else
' do nothing
end if
cheers in advance
neemi