Hey,
I'm not sure this is an Access specific problem but more programatical than anything. But maybe someone here has an idea to help me out.
I am creating an employee database, a large part of which is "letters" meaning employees get a warning letter if they are late etc. If they need a letter, my queries search 6 months in the past to see if they've already gotten a letter and gives them the next one in line (verbal, written, final, termination).
This is all well and good, but ive recently discovered that employees have a 3 month probation period, after which any letters needed will start out at the verbal letter again.
What i'm looking for is some ideas on how to go about this with relative ease. I'd prefer to make it work with my current set-up and not have to change all my reports and queries as there are scads of them.
An example query might go something like:
Return past letters Between [forms]![frmmain]![s1] And Date()
(s1 being a date 6 months ago)
How can i incorporate something like DateSerial along with my hireDate field to find out if they are past the probation period (and not include those letters), but to include those letters if they still are in the probation period?
Sorry if ive explained poorly, ive been working on this all weekend.
Thanks,
I'm not sure this is an Access specific problem but more programatical than anything. But maybe someone here has an idea to help me out.
I am creating an employee database, a large part of which is "letters" meaning employees get a warning letter if they are late etc. If they need a letter, my queries search 6 months in the past to see if they've already gotten a letter and gives them the next one in line (verbal, written, final, termination).
This is all well and good, but ive recently discovered that employees have a 3 month probation period, after which any letters needed will start out at the verbal letter again.
What i'm looking for is some ideas on how to go about this with relative ease. I'd prefer to make it work with my current set-up and not have to change all my reports and queries as there are scads of them.
An example query might go something like:
Return past letters Between [forms]![frmmain]![s1] And Date()
(s1 being a date 6 months ago)
How can i incorporate something like DateSerial along with my hireDate field to find out if they are past the probation period (and not include those letters), but to include those letters if they still are in the probation period?
Sorry if ive explained poorly, ive been working on this all weekend.
Thanks,