C
ChuckW
Hi,
I have created a query from two tables that has the following fields: Name,
StartDate and Type. The Type field has four possible values: New2008,
New2007, Existing2006 and Pre2006. Through my query I am able to assign the
value in the type field based on the StartDate. The New2008 values will
start showing up for new clients who start date is on or after March 1st of
2008. The New2007 clients are those people whose start date is in the 3/1/07
to 2/28/08 range. Right now, the sales rep for these New2007 clients receive
a 14 percent commission rate. However, starting on 3/1/08, the sales rep for
these New2007 client will have a commission rate of 10 percent and the
New2008 clients will have a commission rate of 14 percent. Also on 3/1/08,
the Existing2006 will have a 10 percent commission rate which is the same as
it is now, however, the Pre2006 clients whill have a reduced commission rate
from 10 percent to 8 percent. I want to write a query for the future which
will analyze the current date, compare it to the start date and automatically
change the commission rates on 3/1/08. So without having to change my
percentages manually, it will start giving these New2007 clients a 10 percent
rate rather than the current 14 percent rate.
Can someone help?
thanks,
I have created a query from two tables that has the following fields: Name,
StartDate and Type. The Type field has four possible values: New2008,
New2007, Existing2006 and Pre2006. Through my query I am able to assign the
value in the type field based on the StartDate. The New2008 values will
start showing up for new clients who start date is on or after March 1st of
2008. The New2007 clients are those people whose start date is in the 3/1/07
to 2/28/08 range. Right now, the sales rep for these New2007 clients receive
a 14 percent commission rate. However, starting on 3/1/08, the sales rep for
these New2007 client will have a commission rate of 10 percent and the
New2008 clients will have a commission rate of 14 percent. Also on 3/1/08,
the Existing2006 will have a 10 percent commission rate which is the same as
it is now, however, the Pre2006 clients whill have a reduced commission rate
from 10 percent to 8 percent. I want to write a query for the future which
will analyze the current date, compare it to the start date and automatically
change the commission rates on 3/1/08. So without having to change my
percentages manually, it will start giving these New2007 clients a 10 percent
rate rather than the current 14 percent rate.
Can someone help?
thanks,