Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2003
    Posts
    3

    Unanswered: Running Module on startup

    Can anyone tell me if there is a way to startup access and run modules from it as it starts up. For example I have set up an import Module, could this start up with something like: C:\Windows\Desktop\WBT.MDB -RUNIMPORTMODULE/M or something?

    Thanks,
    Amedeo

  2. #2
    Join Date
    Mar 2003
    Location
    Belgium
    Posts
    9

    Re: Running Module on startup

    Originally posted by Amedeo
    Can anyone tell me if there is a way to startup access and run modules from it as it starts up. For example I have set up an import Module, could this start up with something like: C:\Windows\Desktop\WBT.MDB -RUNIMPORTMODULE/M or something?

    Thanks,
    Amedeo
    You can create a macro called autoexec which will run automatically at each startup. This macro can call a sub in a module.

    You can also use the command line option /x and specify which macro you want to use. Like that, you can have different shortcuts to run different macros.

    Jef.

  3. #3
    Join Date
    Dec 2002
    Location
    Préverenges, Switzerland
    Posts
    3,740
    you could also define a startup form (menu: Tools¦Startup) and put your code in the form_load section of your startup form.

    izy

  4. #4
    Join Date
    Apr 2003
    Posts
    3
    Originally posted by izyrider
    you could also define a startup form (menu: Tools¦Startup) and put your code in the form_load section of your startup form.

    izy
    Thanks, it worked!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •