Results 1 to 3 of 3
  1. #1
    Bigthinkor is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2011
    Posts
    2

    Angry help with combo box nightmare

    hello everyone
    I am new to the forum and I was hoping that you guys could help me out. I have a combo box on my form inside of the combo box is a list of all my forms. I am trying to get the combo box to allow the user to click on a form and it opens up. I am currently running Access 2010I have tried this with no success
    SELECT MSysObjects.Name FROM MsysObjects WHERE (Left$([Name],1)<>"~") AND
    (MSysObjects.Type)=-32768 ORDER BY MSysObjects.Name;



    Private Sub FormOpenCombo_AfterUpdate()
    stDocName = Me.FormOpenCombo
    DoCmd.OpenForm stDocName
    End Sub

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    well you haven't said what ''no success'' is. care to elaborate? what's the problem other than ''its not working''??

  3. #3
    Join Date
    May 2010
    Posts
    339
    Quote Originally Posted by Bigthinkor View Post
    hello everyone
    I am new to the forum and I was hoping that you guys could help me out. I have a combo box on my form inside of the combo box is a list of all my forms. I am trying to get the combo box to allow the user to click on a form and it opens up. I am currently running Access 2010I have tried this with no success
    SELECT MSysObjects.Name FROM MsysObjects WHERE (Left$([Name],1)<>"~") AND
    (MSysObjects.Type)=-32768 ORDER BY MSysObjects.Name;

    Private Sub FormOpenCombo_AfterUpdate()
    stDocName = Me.FormOpenCombo
    DoCmd.OpenForm stDocName
    End Sub


    This is the name of your combo >> FormOpenCombo
    Richard

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

Similar Threads

  1. Filter by combo box nightmare
    By ryonker in forum Forms
    Replies: 3
    Last Post: 12-01-2010, 06:50 PM
  2. Tabbing nightmare
    By Remster in forum Forms
    Replies: 3
    Last Post: 11-24-2010, 11:35 AM
  3. Nightmare- Importing probs...and more
    By UCBFireCenter in forum Import/Export Data
    Replies: 14
    Last Post: 01-05-2010, 07:18 PM
  4. 1 to many nightmare
    By damian_gareau in forum Access
    Replies: 0
    Last Post: 07-11-2007, 12:10 PM
  5. My Access Upsizing Nightmare...Opinions and Thoughts?
    By Jerimiah33 in forum Import/Export Data
    Replies: 0
    Last Post: 01-30-2007, 12:40 PM

Tags for this Thread

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