Hi All
Hope you can help. I have a report controlled by options on a popup form. The report preview can stay open when the form is closed but I don't want the form to stay open when the report is closed. I put code to check if form is open and then close it in the report's close event.
Strangely the close event on the report seems to get called when the report opens so the popup form closes before it can be of any use. The close event also get called when the report closes as expected so I havent confused open with close.
Any ideas folks
Hope you can help. I have a report controlled by options on a popup form. The report preview can stay open when the form is closed but I don't want the form to stay open when the report is closed. I put code to check if form is open and then close it in the report's close event.
Strangely the close event on the report seems to get called when the report opens so the popup form closes before it can be of any use. The close event also get called when the report closes as expected so I havent confused open with close.
Any ideas folks