Results 1 to 2 of 2
  1. #1
    sivega is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    12

    Making calculations between certain dates

    Hello all,

    I am building a credit tracking database. Each person attends an event and can receive credit in up to 5 different categories. Right now I have a query that adds the number of credits in each category, then adds up the sums of each category (for each person). I am stuck now trying to figure out the best way to only add the credits up during a certain time period. Each person has a specific reporting period, which is a calculated date.

    For example: Joe's reporting period is from 5/1/2012-4/30/2014. I want to calculate the number of credits he earned only during that time period.



    I tried adding the event date to the query but then it undoes of the sums.

    Not sure what's the best way to go about this.......

    Thank you!!

  2. #2
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    Not knowing your SQL.
    You may want to look into the Between clause.

    http://www.w3schools.com/sql/sql_between.asp

    Dale

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

Similar Threads

  1. Multiple Min/Max dates by sequential dates
    By chucku in forum Access
    Replies: 2
    Last Post: 04-05-2012, 07:43 AM
  2. Query input dates for range of dates in two fields
    By kagoodwin13 in forum Queries
    Replies: 3
    Last Post: 02-13-2012, 04:25 PM
  3. Replies: 10
    Last Post: 11-16-2011, 10:58 AM
  4. display all dates between two dates
    By KenThompson in forum Access
    Replies: 8
    Last Post: 02-23-2011, 01:11 PM
  5. Mixed dates - show only complete dates?
    By weeblesue in forum Queries
    Replies: 3
    Last Post: 10-27-2010, 02:15 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