+ Reply to Thread
Results 1 to 2 of 2

Can i Filter Date by using Check Box

  1. #1
    Registered User
    Join Date
    02-26-2009
    Location
    India
    MS-Off Ver
    Access
    Posts
    46

    Can i Filter Date by using Check Box

    Hello everybody,

    I have a pop-up multiple filter form where I like to add a check box, which would filter the date older than today. How do I configure the check box?

    Thank you in advance.

  2. #2
    Forum Contributor
    Join Date
    04-16-2009
    Location
    Dorset, UK
    MS-Off Ver
    Office 2003, Office 2007
    Posts
    131

    Re: Can i Filter Date by using Check Box

    In the AfterUpdate event of the checkbox you need code something like:

    If Me!ChkBx Then

    Me.Filter = "DateField < Date()"
    Me.FilterOn = True

    Else

    Me.Filter = ""
    Me.FilterOn = False

    End If

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1