Results 1 to 6 of 6
  1. #1
    geocan2006 is offline Advanced Beginner
    Windows 10 Access 2010 32bit
    Join Date
    May 2016
    Posts
    34

    Reset split form filter button

    H have a split form with 3 search fields made with text box controls , I want to create clear button which resets all filters, How can I do it? I searched online, youtube, no luck


    Any help
    Thanks

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,815
    These textboxes must be UNBOUND. Code would set them to Null.

    Are you setting Filter and FilterOn properties to filter form?

    Me.FilterOn = False
    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
    geocan2006 is offline Advanced Beginner
    Windows 10 Access 2010 32bit
    Join Date
    May 2016
    Posts
    34
    Me.FilterOn = False
    worked
    Thanks

  4. #4
    geocan2006 is offline Advanced Beginner
    Windows 10 Access 2010 32bit
    Join Date
    May 2016
    Posts
    34
    Filter it reset itself, however the data in textbox remains

  5. #5
    geocan2006 is offline Advanced Beginner
    Windows 10 Access 2010 32bit
    Join Date
    May 2016
    Posts
    34
    I found my answer

    example Me.Text87 = ""

    Thanks

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,815
    I prefer setting to Null instead of empty string.
    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. Filter Button on Split Form
    By data808 in forum Access
    Replies: 4
    Last Post: 02-14-2015, 12:35 AM
  2. Replies: 2
    Last Post: 03-12-2014, 01:31 AM
  3. Reset Page Number in a Split Form with a Subform
    By Greg Lemaster in forum Forms
    Replies: 3
    Last Post: 08-09-2012, 02:04 PM
  4. Reset Filter On Close
    By Power in forum Forms
    Replies: 1
    Last Post: 07-26-2011, 02:41 PM
  5. Create "reset filter" button
    By vanlanjl in forum Access
    Replies: 0
    Last Post: 03-03-2009, 07:36 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