Results 1 to 3 of 3
  1. #1
    rntjagdeo is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Oct 2014
    Posts
    2

    Date Calculation based on different frequency in a Query.

    Hello Access Guru,
    I would appreciate kindly if someone can help me with a Query. I would like to run a Query that would have the following Columns from a Table.
    NAME : COURSE ; FREQUENCY : DATE COMPLETED : DUE DATE.
    The DUE DATE is to be a calculated field based on DATE COMPLETED and FREQUENCY.


    The FREQUENCY ranges from: Once, Yearly, Six Months, and 3 Years depending on the course.
    I am new to fairly new to access and would appreciate step by step information.
    Thank you very, very much for your assistance.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    You didnt provide much info for the calcs...but
    You really need a query to covert [frequency] to a uniform unit of measure..say D for days, M for months
    and you need the Amt of days

    once = 1 ?
    yearly = 1 UOM = Y
    6mos = 6 UOM = M
    ???

    then the 2nd query would be:
    DUEDATE: Dateadd([UOM], [DayAmt], [dateCompleted])

  3. #3
    rntjagdeo is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Oct 2014
    Posts
    2
    Thanks ranman256,
    I convert all frequency to days and it worked beautifully.

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

Similar Threads

  1. Replies: 5
    Last Post: 10-29-2014, 12:12 PM
  2. Replies: 2
    Last Post: 02-02-2014, 07:19 PM
  3. Date month calculation based on combo box
    By wnicole in forum Access
    Replies: 4
    Last Post: 10-27-2013, 08:04 PM
  4. Report Based on Field Frequency
    By thegnome in forum Reports
    Replies: 1
    Last Post: 03-12-2013, 12:28 PM
  5. Field content based on date calculation
    By jlmnjem in forum Programming
    Replies: 6
    Last Post: 09-23-2010, 10:24 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