I create a temptable to hold data for a report, then drop it after report is generated. It work fine. What I need now is to drop the temptable whener the Sub stopping running regardless, e.g got error or in middle of debugging. Can DoCmd do that?
Any help is appreciated. Thanks