Guest_imported
New member
- Jan 1, 1970
- 0
ok, yesterday I left a brief question, thinking short was best. Well, the answer I got was "not enough info."
So . . . I am working on a project. One aspect of which is tracking errors. We will enter the employee errors into a table. From this table and one other, I plan to make a cross tab with the employees listed across the left and the months of the year across the top. Now, we have an incentive program for not making any errors with in a one month, three month, six month and one year time frame. By my reasoning, and the way I intend to create the cross tab, any month without an error would be a zero or null value. I would like to start with the month just past and begin counting consecutive months (going back to January) with out errors. As soon as the program reaches a 1, 2 or whatever it stops counting consecutive months and goes to the next employee as this number would mean the employee made an error. It would then return the total consecutive months for the employee which I could use in another query and/or report.
So, to sum up. employees listed on left, months on top (Jan, Feb. . .). Program begins in month just past (awards given after month is over) and count back until it finds a month with an error and stops counting. Results could be anywhere from 0 to 12. The results I'll then feed into further queries and reports. Hopefully, this will save me and others a lot of work (and needless thought) when complete. Any answers/solutions? Please help. I am trying quite diligently to learn this whole thing, but I am just starting.
Thanks,
CS
Feeling ambitious? When I run this thing in January I need it to return the values for the previous year. I feel hopeless. Am I biting off too much? Thanks for listening and helping if you can.
So . . . I am working on a project. One aspect of which is tracking errors. We will enter the employee errors into a table. From this table and one other, I plan to make a cross tab with the employees listed across the left and the months of the year across the top. Now, we have an incentive program for not making any errors with in a one month, three month, six month and one year time frame. By my reasoning, and the way I intend to create the cross tab, any month without an error would be a zero or null value. I would like to start with the month just past and begin counting consecutive months (going back to January) with out errors. As soon as the program reaches a 1, 2 or whatever it stops counting consecutive months and goes to the next employee as this number would mean the employee made an error. It would then return the total consecutive months for the employee which I could use in another query and/or report.
So, to sum up. employees listed on left, months on top (Jan, Feb. . .). Program begins in month just past (awards given after month is over) and count back until it finds a month with an error and stops counting. Results could be anywhere from 0 to 12. The results I'll then feed into further queries and reports. Hopefully, this will save me and others a lot of work (and needless thought) when complete. Any answers/solutions? Please help. I am trying quite diligently to learn this whole thing, but I am just starting.
Thanks,
CS
Feeling ambitious? When I run this thing in January I need it to return the values for the previous year. I feel hopeless. Am I biting off too much? Thanks for listening and helping if you can.