Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2003
    Location
    Chicago, IL
    Posts
    154

    Post Unanswered: How do I launch a specific form from a command line?

    Greetings everyone!

    I would like to know how I can launch an Access DB from a command line and specify which form I want to open from there...

    Any suggestions? I searched but could not find.

    Many thanks!

    Mitch

  2. #2
    Join Date
    Sep 2003
    Posts
    228

    Re: How do I launch a specific form from a command line?

    Originally posted by jimmyswinger
    Greetings everyone!

    I would like to know how I can launch an Access DB from a command line and specify which form I want to open from there...

    Any suggestions? I searched but could not find.

    Many thanks!

    Mitch
    You can create a macro that opens the form and then call access telling it to run a specific macro...

    "C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE" "C:\db.mdb" /x "Macro Name"

    This is assuming it is something you don't want to happen everytime.

    Otherwsie, if this the default form you wish the database to always open with you would design an Autoexec macro and use the OpenForm command to open the form of your choice.

    Bill

  3. #3
    Join Date
    Oct 2003
    Location
    Chicago, IL
    Posts
    154
    I love it. Thank you very much!

Posting Permissions

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