Bickbadger
Bickbadger
- Local time
- Today, 04:27
- Joined
- Jan 12, 2006
- Messages
- 5
I'm using a form button to call a macro, the first task of which is to close the form and second is to delete it. Subsequent macro actions then replace the form with another (the ultimate goal being to load a modified form that prevents a particular action being repeated).
Although the macro works fine as a stand-alone macro, whenever it is run from the form button it fails to implement the delete task - always reporting that it cannot delete a form that is open (even though the form is, in fact, closed).
Is there something within Access that prevents deletion of a form that is closed from within the macro that deletes it - or am I missing something more fundamental?
Although the macro works fine as a stand-alone macro, whenever it is run from the form button it fails to implement the delete task - always reporting that it cannot delete a form that is open (even though the form is, in fact, closed).
Is there something within Access that prevents deletion of a form that is closed from within the macro that deletes it - or am I missing something more fundamental?