Results 1 to 5 of 5
  1. #1
    snoopy2003 is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    72

    Datasheet Form Filter By Multiple Fields


    Hello,

    I have a datasheet form and I wish to filter by multiple fields.
    If I click on one field arrow I can choose field values for filter.
    If I click on second filed I do not see field values and can define Text Filter (write a value for filtering).

    How can I define my form to allow multiple field filtering with ability to select values in each filed by clicking on the field name ?

    Thank you for your help

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,627
    Do NOT use bound data controls to input filter criteria. This will change the value in the table.

    Refer to tutorials at http://www.datapigtechnologies.com/AccessMain.htm especially the 3 on comboboxes in Access Forms: Control Basics section.
    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
    snoopy2003 is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    72
    Hello,

    Thank you for your answer.
    I do not use controls to filter.
    I wish to do it like in Excel - when the form displayed in datasheet view, I right click on the arrow near the field name
    and filter by values. How can select values in multiple fields ?

    Thank you for your help

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,627
    Access does not have that functionality with the shortcuts.

    Sorting is on only one field at a time.

    Filtering can be done in stages. Filter then filter again then filter again, etc.

    This is what queries are for.
    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.

  5. #5
    snoopy2003 is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    72
    Thank you for your answer.

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

Similar Threads

  1. Datasheet Filter with Check Boxes
    By EddieN1 in forum Forms
    Replies: 1
    Last Post: 05-17-2012, 06:53 PM
  2. Replies: 2
    Last Post: 02-23-2012, 09:03 PM
  3. Replies: 3
    Last Post: 12-31-2011, 06:18 PM
  4. Filter form from multiple combo boxes
    By Bird_FAT in forum Programming
    Replies: 6
    Last Post: 05-19-2010, 09:32 AM
  5. Replies: 7
    Last Post: 12-24-2009, 08:44 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