G GrexP Thanks, Grex Local time Today, 09:34 Joined Aug 1, 2007 Messages 51 Nov 14, 2007 #1 In a module sometimes pressing F5 runs the code and sometimes the macro window comes up. What determines the behavior? Access 2003.
In a module sometimes pressing F5 runs the code and sometimes the macro window comes up. What determines the behavior? Access 2003.
R RoyVidar Registered User. Local time Today, 18:34 Joined Sep 25, 2000 Messages 805 Nov 14, 2007 #2 I think all code in a form or report class module and all code expecting parameters in standard modules gives the macro window.
I think all code in a form or report class module and all code expecting parameters in standard modules gives the macro window.
G GrexP Thanks, Grex Local time Today, 09:34 Joined Aug 1, 2007 Messages 51 Nov 14, 2007 #3 RoyVidar said: I think all code in a form or report class module and all code expecting parameters in standard modules. Click to expand... Parameters, yes, I think that is the key. If a routine in a module is expecting a parameter it will not run when you press F5. If it has no input parameter it will run. Thanks.
RoyVidar said: I think all code in a form or report class module and all code expecting parameters in standard modules. Click to expand... Parameters, yes, I think that is the key. If a routine in a module is expecting a parameter it will not run when you press F5. If it has no input parameter it will run. Thanks.