This is my 'isOpen' function for access, it allows me to tell if a form is open. The idea is that you call it from within a report 'onLoad' after opening a dialog that gets parameters. If the dialog is open (but hidden) you continue processing. If it's not open, you cancel the report