Results 1 to 8 of 8
  1. #1
    mmaule is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    May 2014
    Posts
    38

    Need Menu


    I am looking for an external (from Access) menu and VB code that I can modify (and Learn from. I have three (3) Databases performing similar but unique functions and would like to make them look like one database, to a user. I would like to use the menu to call up the database forms and procedures.
    I haven't used Visual Basic, but with a basic starting point I'll give it a shot.

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Pretty sure you need to open the Access file in order to execute procedures contained within said file.

    Why not just use one app that links to multiple back end files?

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,601
    Open the Access file as an object in VBA to run VBA procedure. Example:

    Dim A As New Access.Application
    Set A = CreateObject("Access.Application")
    A.Visible = False
    A.OpenCurrentDatabase "\\dotatufs02\Crm\PMS\airports\Report Production\GIS\Airports.mdb", False
    A.Run "GetPaverData"
    Set A = Nothing
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #4
    mmaule is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    May 2014
    Posts
    38
    Thanks for the quick reply.
    I'm not familiar with splitting databases and writing front-end VB code.
    P.S.
    I also work for GDC4S

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,601
    Splitting is fairly simple.

    Backend has tables and resides on file server.

    Frontend links to backend tables (advise to use UNC pathing) and has queries, forms, reports, code. Each user has a copy of frontend on their local workstation.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #6
    mmaule is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    May 2014
    Posts
    38
    Thanks, looks like what I need.
    I'll see what I can do with it.

  7. #7
    mmaule is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    May 2014
    Posts
    38
    Thanks, splitting may be in my future.

  8. #8
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Let us know if you need further assistance.

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

Similar Threads

  1. Allow Full Menu
    By Azeez_Andaman in forum Programming
    Replies: 5
    Last Post: 05-16-2013, 07:54 PM
  2. Menu with multiple sub menu's
    By Simtech76 in forum Forms
    Replies: 1
    Last Post: 04-30-2013, 02:30 PM
  3. Replies: 0
    Last Post: 09-25-2012, 09:16 AM
  4. Access Menu
    By Azeez_Andaman in forum Forms
    Replies: 2
    Last Post: 11-27-2011, 07:44 PM
  5. Menu Bar
    By graviz in forum Forms
    Replies: 0
    Last Post: 02-23-2010, 09:04 AM

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