Results 1 to 10 of 10
  1. #1
    floyd is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    66

    Expand and reduce information in form? (I don't know how to ask)

    I have a query which, when run, populates with file names various file names which fit certain criteria.
    I am trying to figure out how to create a BUTTON which allows the user to open more information about that specific file in a pop-up box.

    In other words... I initially get the file name in the first query and I click on (Get more information) button
    it opens a pop up which has additional information about that file as well as the link to the file.



    This seems like it should be SOOOO simple, but I can't figure it out!!!

  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,652
    Is this what you're after?

    http://www.baldyweb.com/wherecondition.htm
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    floyd is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    66
    Oh my gosh... I haven't tried it yet but that looks EXACTLY like what I was trying to do!!!
    Amazing that 2 hours of google searches and I couldn't find this!!!!

    I will let you know how (when) it works!!!

  4. #4
    floyd is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    66
    NUTS... I am getting an error.
    Here is my code:

    Private Sub Command82_Click()
    DoCmd.OpenForm "4_qryFileExpanded", , , "PKMainFiles ='" & Me.PKMainFiles & "'"
    End Sub

    The expression OnClick you entered on the event property setting produced the following error: A problem occured while Microsoft Access was communicating with the OLE server or activeX control


  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,652
    Can you post the db here?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  6. #6
    floyd is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    66
    Here is the database in question.

    The forms I am trying to work on are the following:

    1. 4_qryFile (This is the minimized search result)
    2. 4_qryFileExpanded (This is the form which I would like to open to show all the file info)

    Please let me know what questions I can answer.
    (I'm certain there are ALL KINDS of ISSUES I don't know about)

    I would LOVE to hear any suggestions / comments you have.minimal.zip
    Last edited by floyd; 10-21-2013 at 07:18 AM. Reason: Forgot file

  7. #7
    floyd is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    66
    I assume this is either...

    1. too screwed up to fix
    or...
    2. Sooo simple that no one wants to help

  8. #8
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    A combination of both I think. The technique is really simple, and I use it all the time. The error you're getting is unusual, and I suspect means the form has gotten corrupted or something. I was waiting to have time to research, but see if this helps:

    http://support.microsoft.com/kb/907337
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  9. #9
    floyd is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    66
    It's working!
    I had to go back and look at my linkages... and now that I did... it's working FLAWLESSLY!!!!
    THANK YOU for all the help.
    You have NO IDEA how much this has meant!!!!

    Joe

  10. #10
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Happy to help!
    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. Expand Form to fit screen?
    By offie in forum Forms
    Replies: 1
    Last Post: 08-05-2014, 03:23 PM
  2. Replies: 8
    Last Post: 07-10-2013, 10:17 AM
  3. Replies: 1
    Last Post: 04-05-2012, 08:26 AM
  4. Trying to Reduce Database Size
    By MarcLiq in forum Access
    Replies: 1
    Last Post: 12-29-2011, 03:55 PM
  5. How to reduce the size of Login Form!
    By cap.zadi in forum Forms
    Replies: 7
    Last Post: 09-14-2011, 11:01 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