Results 1 to 5 of 5
  1. #1
    Starmo is offline Advanced Beginner
    Windows 10 Access 2010 64bit
    Join Date
    Jun 2018
    Location
    Usa
    Posts
    43

    Open Form when launching a program


    Hello peoples!
    I create a program with lots of tables, queries, forms, which are an integral part of this program. I also made one form of "Main Form", from which I can open it all. How to make sure that only the "Main Form" is opened when running the program.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    Macro called Autoexec, will open the main form and run code.

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    Or in Options/Current Database you can set the opening form.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    Starmo is offline Advanced Beginner
    Windows 10 Access 2010 64bit
    Join Date
    Jun 2018
    Location
    Usa
    Posts
    43
    Quote Originally Posted by pbaldy View Post
    Or in Options/Current Database you can set the opening form.
    Thanks pbaldy, I did. It works great.

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    No problem. Both methods work, I just avoid having the extra object in the db if not otherwise required.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Open external program and file using VBA
    By bid19123 in forum Programming
    Replies: 2
    Last Post: 09-21-2016, 02:15 PM
  2. Open file with non default program
    By LonghronJ in forum Modules
    Replies: 1
    Last Post: 08-15-2015, 10:10 AM
  3. Email button on a form launching outlook
    By chuchothelord in forum Access
    Replies: 1
    Last Post: 09-08-2014, 09:55 PM
  4. Open External program with vba
    By aspen in forum Programming
    Replies: 3
    Last Post: 04-09-2014, 06:08 AM
  5. Open (shell) a program and pass a file
    By Olszanski in forum Programming
    Replies: 2
    Last Post: 07-27-2010, 03:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums