Results 1 to 4 of 4
  1. #1
    lehi53 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Dec 2013
    Posts
    28

    Display results on a form based on date range

    I have a form that I want to display certain results.



    I have a drop down list that can select who I want to see too. And a form that displays the record and other information of the person that is selected in that drop down box. I also have a next record or previous record button that will go to different records.

    I need the ability to display who is in the drop down list based on a date range criteria, and who the form sorts through to display only the people whose expiration date fall in between a specific date range. And I want to only sort through those people and be able to change the date criteria.

    I attached my database for you to look at. I am a beginner so any help you can give would be huge.
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    What date range criteria? Where is this criteria input?
    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
    lehi53 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Dec 2013
    Posts
    28
    The date criteria would be various. It could be show me everyone in the current month, in the upcoming month, the next two weeks, those with an expiration date within a specific range (march 1 to March 14). The data pull from the expiration date.

    Quote Originally Posted by June7 View Post
    What date range criteria? Where is this criteria input?

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Need to input the date range criteria somewhere, such as two textboxes on the form. Then the combobox RowSource could refer to the textboxes as filter parameters. That will allow you to select a specific individual to filter the form on. However, if you want to sort the form for multiple persons within the date range, that means applying the date range criteria to the form's filter.
    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: 1
    Last Post: 12-05-2013, 01:15 PM
  2. Display Pass or Fail based on number range
    By aselm01 in forum Forms
    Replies: 10
    Last Post: 09-09-2013, 03:52 PM
  3. Replies: 2
    Last Post: 12-16-2012, 01:40 AM
  4. Message Box Based on Date Range
    By MSAccessOldTimer in forum Programming
    Replies: 4
    Last Post: 05-14-2012, 04:25 PM
  5. joins based on date range
    By broecher in forum Database Design
    Replies: 4
    Last Post: 11-04-2011, 06:32 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