Results 1 to 4 of 4
  1. #1
    darwish is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2014
    Posts
    26

    View Results according to value selected in a drop down list

    hello



    i have the following attached file

    I have a table containing list of cars and its year.

    also i have a split form. i want in the split form a dropdownlist up having cars name and when i select a car name i want the below table in the split form to be filtered according to the selected value in the combobox.

    any help is appreciated.

    Thank you
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,623
    Options are:

    1. dynamic parameterized query http://www.datapigtechnologies.com/f...tomfilter.html

    2. code that sets the Filter property of the form

    3. code that sets the RecordSource property of the 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.

  3. #3
    darwish is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2014
    Posts
    26
    thank you june 7
    but what i want not only one record
    what i want is that when i choose a car, all cars with same name must appear in a gridview

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,623
    Same principle. Apply whatever filter criteria you want on whichever fields you want.
    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: 1
    Last Post: 06-13-2012, 04:25 PM
  2. Replies: 10
    Last Post: 10-10-2011, 08:08 PM
  3. Replies: 6
    Last Post: 07-10-2011, 05:33 PM
  4. Replies: 4
    Last Post: 06-16-2011, 09:30 PM
  5. Replies: 1
    Last Post: 03-15-2010, 02:52 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