Step into|run code brings up Macro box

B

Betty F

Hello--

I've created a small function in Access 2003 to fix dates on a table. When
I set a breakpoint in my code and try to run my function, I get the Macro box
instead. I've uninstalled and re-installed Access 2003 and this has not
helped.

Anyone had this happen to them?

thanks,

Sincerely,

Betty F
 
M

Mr B

If your function is a Public type function, then you can simply place your
cursor in the function and click the run button and execute the actions of
your function. However, if the function is not a Public type function then
you will need to keep your breakpoint in the function, but have the function
called by whatever means you would normally call it. You cannot just run a
normal function the same way you can run a Public function.

If you simply need to test the function, you can create a button on a form
that will call the function for testing.
 
Top