C
Carol Chisholm
I have a table of rates which occur on certain dates (one a month).
It has two fields Rates.Date and Rates.Value
I then another table where each record has a date in it, and I need to
find the Value from Rates at the matching date, OR at the nearest date
if there is not an exact match.
It is possible that the date I need to lookup is before or after the
range of dates in my Rates table.
Is there a nice elegant way of doing this?
It has two fields Rates.Date and Rates.Value
I then another table where each record has a date in it, and I need to
find the Value from Rates at the matching date, OR at the nearest date
if there is not an exact match.
It is possible that the date I need to lookup is before or after the
range of dates in my Rates table.
Is there a nice elegant way of doing this?