Create a form and put the code either in a module or behind the form.
Call the code from the Form_Load event of the form and set it as the database startup form from Tools -> Startup.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.