Results 1 to 3 of 3
  1. #1
    Dueffeldoffel is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Dec 2017
    Posts
    2

    Find fee depending on date range

    Hi! I hope this is not a stupid question but I could not find the answers via google. Probably because I do not know the correct wording for my question.

    My problem is this:

    I have a customer "A". He pays a monthly fee.
    This monthly fee depends on membership duration. The longer they stay members, the lower their fee. The first half year they pay 2 Dollars, after that only one.
    I have a table that says:

    High fee = 2 $
    Low fee = 1 $

    And a table that says:



    A subscribed on 2017.08.01 - Low fee start date = 2018.02.01


    I would like to ask Access, how much money A has to pay on 2018.03.01. But I do not know how. It has to be 1 $ but I don't know how to write the query.

    Thank you for any advice!

  2. #2
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    High fee start date is: DateAdd("m",6,[Low fee start date])

    If [select date] > [high fee start date] then amount to pay = high fee, otherwise it is low fee.

  3. #3
    Dueffeldoffel is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Dec 2017
    Posts
    2
    Thank you, aytee111!

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

Similar Threads

  1. Replies: 10
    Last Post: 12-15-2016, 05:52 PM
  2. Find Avg based on Date Range
    By mpaulbattle in forum Queries
    Replies: 6
    Last Post: 11-22-2016, 03:06 PM
  3. Find Match by Date Range
    By soldat452002 in forum Queries
    Replies: 2
    Last Post: 07-31-2016, 03:54 PM
  4. Replies: 7
    Last Post: 12-30-2013, 09:53 AM
  5. Find Min and Max in a selected date range
    By rkalapura in forum Queries
    Replies: 9
    Last Post: 04-01-2013, 09: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