The debug and step into work for any VBA code - whether it is in form
modules, report modules, or standard modules. If you have a function written
in one of those modules, then it will work for it. But, in order to get it
to that point you either have to have an error, or provide a breakpoint.
And, if you set a breakpoint and it doesn't work, either it isn't firing the
event you think it is, or you might have the breakpoints turned off by having
the checkbox USE ACCESS SPECIAL KEYS unchecked in the TOOLS > STARTUP menu.
--
Bob Larson
Access World Forums Administrator
Tutorials at
http://www.btabdevelopment.com
__________________________________