Results 1 to 3 of 3
  1. #1
    Milade8080 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2014
    Posts
    18

    Question open other forms in form main

    I have a main form and several other forms
    How can Type the name of the other forms, the main form, and pressing the button "Open" to open other forms
    Tanks.


    (Something like the image below)

    my access file
    Attached Thumbnails Attached Thumbnails 11.jpg  
    Attached Files Attached Files

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    As posted elsewhere:

    How can you expect users to know the form names? Don't think I'd do it, but:

    DoCmd.OpenForm Me.TextboxName

    Also:

    cross posters
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  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,632
    Use a combobox or listbox that offers users list of form names to choose. Or a button for each form.
    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.

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

Similar Threads

  1. Replies: 2
    Last Post: 08-07-2013, 07:44 AM
  2. SubForm will not open from Main Form
    By dvgef2 in forum Forms
    Replies: 3
    Last Post: 03-28-2013, 08:24 AM
  3. Open Report From Subform on Main Form
    By burrina in forum Forms
    Replies: 4
    Last Post: 12-25-2012, 08:11 PM
  4. Replies: 12
    Last Post: 07-18-2011, 12:47 PM
  5. connecting many sub forms in one main form
    By Dasun in forum Programming
    Replies: 2
    Last Post: 07-01-2011, 02:39 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