S
SAm
Hi
i am working now on a a price list table. the prices tend to change. i want
to know what is the best way to structure a lookup table that varies by date.
example:
i have a supplier of services that charges $25.00 as of 1/1/2005. on
3/15/2005 they raized their prices to $27.50. currently i have a table with 4
columns;
ID, TypeOfService, Rate, EffectiveDate
then i run a query that would lookup the rate. and i am thinking: how would
i write the if statement.
Thanks in advance for your help,
sam
i am working now on a a price list table. the prices tend to change. i want
to know what is the best way to structure a lookup table that varies by date.
example:
i have a supplier of services that charges $25.00 as of 1/1/2005. on
3/15/2005 they raized their prices to $27.50. currently i have a table with 4
columns;
ID, TypeOfService, Rate, EffectiveDate
then i run a query that would lookup the rate. and i am thinking: how would
i write the if statement.
Thanks in advance for your help,
sam