G
Guest
I am starting to work on a database that will calculate the escalations on
contract prices. For example, a contract my specify an aniversary date on
which the price can change by some kind of Price index. The anniversary date
will fall within a range of dates that the Index applies to. So, the
escalation date may be Jan 15 and the index value will fall within the range
of Jan 1 to March 30. This is not unlike applying a quantity discount.
I am imagining that I will have the index value and date range in one table.
The basic contract data will be in other tables.
I am having a hard time imagining how I will "lookup" the date range and
return the index form the "Index" table. I notice that Dlookup or subqueries
will not work. I have not been able to find an example of the code that will
help me here.
Can someone point me in the basic direction that will get me going.
contract prices. For example, a contract my specify an aniversary date on
which the price can change by some kind of Price index. The anniversary date
will fall within a range of dates that the Index applies to. So, the
escalation date may be Jan 15 and the index value will fall within the range
of Jan 1 to March 30. This is not unlike applying a quantity discount.
I am imagining that I will have the index value and date range in one table.
The basic contract data will be in other tables.
I am having a hard time imagining how I will "lookup" the date range and
return the index form the "Index" table. I notice that Dlookup or subqueries
will not work. I have not been able to find an example of the code that will
help me here.
Can someone point me in the basic direction that will get me going.