A family of Microsoft relational database management systems designed for ease of use.
Keep in mind that your code has to be in a standard public module, and not a forms module.
So you can’t call code routines “inside” of a forms code module using application.run. Application.Run ONLY works for functions/subs in a standard code module.
You certainly could call a routine in a standard module that in turns calls the code in the form. You have to declare such functions or subs in the forms module as public for this to work.
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada