Results 1 to 2 of 2
  1. #1
    BeerLover1980 is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Jan 2017
    Posts
    1

    Bonus Pay Date Issue

    Name Bonus Contract Date Bonus Pay Date
    John Smith 3/8/2015 3/7/2017
    John Doe 08/12/2014 8/11/2017
    Suzy Que 01/31/2012 1/30/2017

    So I'm working on a Bonus Tracking database. Everything is based off the Bonus Contract Date and has a term of 5 years. However, I need to track when each individual will be paid every year. As you can see in the example, John Smith signed his Bonus Contract on 3/8/15 and will be paid on March 7th of every subsequent year until 2020. Same thing with John Doe. He will be paid on every August 11th.



    My question is:
    1). How do I get the Bonus Pay date to Auto-fill to the correct and current payday for 2017
    2). How do I write the code so it will update every year until the contract terminates.

  2. #2
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    The easiest would be to base it on the last bonus paid date rather than the contract start date. That might be the DMax of LastPaid date for a particular employee. Then you can use DateAdd to add one year to it (or there are other ways of adding a year). I would add this date as a record rather than over-writing the last paid date in case there are years when things are too lean to pay out bonuses. As for trapping the last year to be paid, that could be adding Date() to the start date and comparing that to the EndDate.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Replies: 3
    Last Post: 01-20-2016, 01:12 PM
  2. Calculating a Bonus based on "effective date"
    By mpreston14 in forum Queries
    Replies: 2
    Last Post: 07-09-2013, 06:49 AM
  3. Date/Time Issue
    By dsaxena15 in forum Access
    Replies: 2
    Last Post: 02-09-2013, 02:29 PM
  4. Need help with date issue.
    By ITChevyUSSNY in forum Reports
    Replies: 13
    Last Post: 02-05-2013, 10:06 AM
  5. Replies: 8
    Last Post: 06-04-2012, 05:14 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