I've got the following process:
-Switchboard opens, allowing the user to run a report
-there's some conditional checking in the report_open procedure to see if the report should really be run:
-if the report should be run, it continues past the conditional checking
-if the report should not be run, the Switchboard is opened and the report is closed... HOWEVER:
The report doesn't want to close! because it's in the middle of its process. SO, what I want to do is "unload" the report/object from memory so it can be closed.
how can I do this (from the switchboard)?
I'd imagine some sort of checking to see if the report is loaded in memory and then, if it is, unload it.
the code Unload "My Report" doesn't work. It says Type Mismatch.
-Switchboard opens, allowing the user to run a report
-there's some conditional checking in the report_open procedure to see if the report should really be run:
-if the report should be run, it continues past the conditional checking
-if the report should not be run, the Switchboard is opened and the report is closed... HOWEVER:
The report doesn't want to close! because it's in the middle of its process. SO, what I want to do is "unload" the report/object from memory so it can be closed.
how can I do this (from the switchboard)?
I'd imagine some sort of checking to see if the report is loaded in memory and then, if it is, unload it.
the code Unload "My Report" doesn't work. It says Type Mismatch.
Last edited: