Im getting quick confused and wound up. - after 3 days of trying several methods I can't seem to figure this out?
I have a table of numbers that apply to a date range, for example:
between 01/01/2001 and 01/01/2002 - The number (factor) is 20,
Between 02/01/2002 and 01/01/2003 - the factor is 30
I need to create a query that takes the date of a separate record, and finds which date range it lies between to multiply something by the relevant factor...
I was thinking loop queries, etc but I can't quite get them working and I cant think of an alternative?
I have a table of numbers that apply to a date range, for example:
between 01/01/2001 and 01/01/2002 - The number (factor) is 20,
Between 02/01/2002 and 01/01/2003 - the factor is 30
I need to create a query that takes the date of a separate record, and finds which date range it lies between to multiply something by the relevant factor...
I was thinking loop queries, etc but I can't quite get them working and I cant think of an alternative?