how can i prevent opening a form when it is already opened?
ie
if i press a cmdbutton, it opens a form.
how can i prevent that the same form is opened again when pressing the cmdbutton again?
i only want one instance of the form to be open