J
Jim
The table looks like this:
EMPLOYEE $$$_SALES DATE
JOE 100 1-1-06
MARY 500 1-1-06
JANE 200 1-1-06
BOB 600 1-1-06
JOE 250 1-2-06
MARY 200 1-2-06
JANE 700 1-2-06
BOB 900 1-2-06
JOE 100 1-3-06
MARY 500 1-3-06
JANE 200 1-3-06
BOB 600 1-3-06
and so on ...
On each and every day, from 1-1-06 and forward, I need to have a
query(ies) that tracks employees who have sold at least $25,000 in the
last 90 days, and then award a 7 percent bonus to those meeting this
criteria ...
AND, if the awardee above has been an awardee in the last 180 days,
then the bonus award becomes 12 percent,
Not sure how to build the logic ... I use the design grid to create
queries so I may need a little bit of handholding if the solution is
in SQL or modules ...
Again, Much Appreciated ...
jim
EMPLOYEE $$$_SALES DATE
JOE 100 1-1-06
MARY 500 1-1-06
JANE 200 1-1-06
BOB 600 1-1-06
JOE 250 1-2-06
MARY 200 1-2-06
JANE 700 1-2-06
BOB 900 1-2-06
JOE 100 1-3-06
MARY 500 1-3-06
JANE 200 1-3-06
BOB 600 1-3-06
and so on ...
On each and every day, from 1-1-06 and forward, I need to have a
query(ies) that tracks employees who have sold at least $25,000 in the
last 90 days, and then award a 7 percent bonus to those meeting this
criteria ...
AND, if the awardee above has been an awardee in the last 180 days,
then the bonus award becomes 12 percent,
Not sure how to build the logic ... I use the design grid to create
queries so I may need a little bit of handholding if the solution is
in SQL or modules ...
Again, Much Appreciated ...
jim