you can do the way alexcuse told you or you can create a macro with the function open form and name the macro autoexec this way is better like this you can a couple of functions at start up
Note: ms access will run automatic when you open the db the macro named autoexec no other things needed.
If all you want to do, as autoIT does, is open to a certain form, AlexCuse's method is the way to go! Why would you want to add extra overhead by using an AutoExec macro??? Any other functions you want to run at statup would be better done using VBA code and the OnLoad event of the opening form! VBA code is much more flexible and has error trapping!
the onload event is when a form opens i use the autoexec because in most databases i create i have a system that check the dll if its a valid copy of the software i created and 2nd of all i like to run update and clear temp tables befor the user starts using the form and not that the forms load and then i need to wait for vba to procces an sql command or some other commands
hope you got me and thanks for sharing your feelings
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.