Results 1 to 4 of 4
  1. #1
    Mik2045 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    30

    Hiding Results before Filtering


    Hi,

    I'm currently using this: http://www.allenbrowne.com/ser-62.html for a form.

    So, at the moment when I open the form all of the records show but I'd like to hide all of that and only show records when I put in search criteria. Is that possible?

    If not, is it possible to order the records by the newest records (starting from the top)?

    Thanks!

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Allen answered that on his page:
    Code:
    If you want the form to open with no results, add these two lines to the Open event procedure of the form:
        Me.Filter = "(False)"
         Me.FilterOn = True
     and add those two lines to cmdReset_Click as well, in place of:
        Me.FilterOn = False

  3. #3
    Mik2045 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    30
    Thanks a lot!

    I actually just went back to that same page and saw that.

    Thanks anyways RuralGuy.

    Problem solved!

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Excellent! There is always more to learn when you solve it yourself.

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

Similar Threads

  1. Filtering Report results with a choice-menu
    By Herbolife in forum Reports
    Replies: 1
    Last Post: 04-19-2013, 09:46 AM
  2. Hiding Results of If Statement
    By DDEB in forum Queries
    Replies: 1
    Last Post: 06-14-2012, 04:48 PM
  3. Issue with filtering results on a form
    By Aaron5714 in forum Access
    Replies: 5
    Last Post: 05-31-2012, 07:03 AM
  4. Filtering query results
    By jwreding in forum Queries
    Replies: 12
    Last Post: 12-28-2011, 01:45 PM
  5. Filtering results by date between two datefields
    By lakylekidd in forum Programming
    Replies: 9
    Last Post: 06-07-2010, 07:42 AM

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