Results 1 to 4 of 4
  1. #1
    FRAZ is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2013
    Posts
    12

    filter command button


    I have a continious form, that I would like to filter. What I'm looking for is a way to simulate the filter icon on the main menu by using a command button. I've tried the run menu command put I get an error that say command is not available.

    thanks

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

    1. parameterized query, review http://datapigtechnologies.com/flash...tomfilter.html

    2. VBA to construct and apply filter criteria string, review http://allenbrowne.com/ser-62code.html
    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
    FRAZ is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2013
    Posts
    12
    thanks for the valuable information, however what I was looking for is a simple way do duplicate the filter routine that is found on the data sheet view. For example in data sheet view you click on the header and a drop down list appears to select filter criteria. I would like to do this on a continious form.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    The options I referenced are just about the closest you will get. However, take a look at this https://www.accessforums.net/forms/b...ria-40775.html
    Last edited by June7; 01-15-2014 at 12:39 AM.
    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: 3
    Last Post: 08-04-2013, 07:11 AM
  2. Replies: 28
    Last Post: 03-08-2012, 06:47 PM
  3. Filter form with command button
    By NISMOJim in forum Forms
    Replies: 6
    Last Post: 10-22-2011, 02:29 AM
  4. Replies: 1
    Last Post: 07-27-2010, 02:27 PM
  5. command button to filter a subform issue -
    By countdrako in forum Forms
    Replies: 1
    Last Post: 12-09-2005, 11:58 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