I have two tables in Access 2016. The first table (DUES)lists the ID number, Amount paid and the date paid. The records in this table are constantly updated as new payments are received. Each record in this table is a separate payment - usually one payment per person, but occasionally someone will make two partial payments.
The second table (AMOUNT) lists the starting date, ending date, and the minimum amount due. This table is usually static, but the time frame between the start and end dates for each payment range is not a regular period of time. Each record is a new range of dates with new minimum amount due.
What I need is to have Access compare the most recent date paid in the DUES table with the range of dates in the AMOUNT table and then return the minimum amount due for that date range.
I don't care if this is done as a query, or if a new table/field is created. I would think that this should be an easy thing for Access to do, but I am having no luck in getting it to work.