Results 1 to 3 of 3
  1. #1
    Parker is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    76

    Access 2010 - Main Menu Needs a Drop Down Box Referencing a table for a SEARCH


    Hello All,


    I have a main menu "MainMenuF" in my database and I would like the database to be able to be searched by any of the column headings. For example I have a table titled "NewLabReportT" this table has many column headings like "Submitted By" "Reviewed By" "Title" "Abstract" etc...


    I would like my users to be able to click a radio button with the same column headers on this main menu and have a box that pops up to say "Enter search parameter" and have that parameter be searched in the table "NewLabReportT" and generate a FORM not a REPORT of all of the listings in the database that have that keyword associated to that certain category searched. That way they can "CLICK" the exact field they are looking for and have it open right up to that form.


    Thank you all for your help!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Will need code, I use only VBA.

    I use a combobox that lists the table fieldnames. Another combobox to list values that are in selected field. This synchronization is managed by VBA code. More code constructs filter criteria.

    If you want to allow multiple criteria, that gets more complicated. One approach is dynamic parameterized query (I never use).
    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.

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    you could have 2 list boxes,
    List1 has all the fields available.
    User dbl-clicks a field in List 1, which is a param to be set, and sent to List 2.
    List 2 shows the fields and a 2nd column to enter the value.

    Build the sql off the List2.

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

Similar Threads

  1. Different Values in Drop Down Menu and Data Table
    By colourxpalette in forum Forms
    Replies: 4
    Last Post: 05-22-2013, 02:40 PM
  2. Replies: 8
    Last Post: 11-25-2012, 12:27 AM
  3. Replies: 3
    Last Post: 11-29-2011, 07:01 AM
  4. I can't see the menu options in Ms Access 2010.
    By dave_joseph in forum Access
    Replies: 2
    Last Post: 10-27-2011, 03:11 AM
  5. Replies: 5
    Last Post: 08-11-2010, 09:16 AM

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