Results 1 to 2 of 2
  1. #1
    amycclark is offline Novice
    Windows XP Access 2000
    Join Date
    Jul 2012
    Posts
    1

    In a form, how to query a table to count records between dates entered on form

    I have a form with a place for users to enter a start date and end date.
    I'd like a box in my form to show the number of records in a table where the field is between these dates.

    Seems simple enough but my head is spinning reading things online.

    Example record in my table called "MyTable".

    Reviewer Reviewed file by
    Amy 1/3/2012
    Josh 2/5/2012
    . .
    . .
    . .

    On my form I have a start date and end date.
    I'd like a box in my form to show the number of files that were reviewed between the dates entered by the user.




    Any assistance for this newbie would be MUCH appreciated!!!!
    ~Amy

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    It sounds like a job for DCount(). http://access.mvps.org/access/general/gen0018.htm

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

Similar Threads

  1. Replies: 3
    Last Post: 04-25-2012, 02:14 PM
  2. Replies: 3
    Last Post: 12-01-2011, 06:51 AM
  3. Replies: 6
    Last Post: 07-25-2011, 01:54 PM
  4. Replies: 2
    Last Post: 06-23-2011, 03:35 AM
  5. Replies: 0
    Last Post: 02-24-2010, 12:56 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