i've tried searching on this, but i can't seem to find anything close enough.
Table contains IndvName, IATestDate, OfcSym. Individuals must undergo annual training to remain proficient. i want to track this on a monthly basis. Current i can get Year trained and month trained, but can't find individuals that are more than 1 month overdue.
What i want to do is catch everyone that is one month or more overdue on their training and get it all caught up, then get us on a monthly schedule to make sure we stay that way.
Currently:
gets me everyone that got their training last year, but is not necessarily overdue, their month just hasn't come up yet.
If i do:
then i get everyone who's month is less than the current month, regardless of training date.
i want to filter by Year([IATestDate])< Year(Date()) AND Month([IATestDate]) < Month(date()) with everyone who's training is one month or one year overdue to show up.
Thanks,
Dave
Table contains IndvName, IATestDate, OfcSym. Individuals must undergo annual training to remain proficient. i want to track this on a monthly basis. Current i can get Year trained and month trained, but can't find individuals that are more than 1 month overdue.
What i want to do is catch everyone that is one month or more overdue on their training and get it all caught up, then get us on a monthly schedule to make sure we stay that way.
Currently:
Code:
SELECT Users.IndvName, Users.OfcSym, Users.IATestDate, Year([IATestDate]) AS Expr1
FROM Users
WHERE (((Users.OfcSym)<48) AND ((Year([IATestDate]))<Year(Date())))
ORDER BY Users.IndvName;
If i do:
Code:
SELECT Users.IndvName, Users.OfcSym, Users.IATestDate, Month([IATestDate]) AS Expr1
FROM Users
WHERE (((Users.OfcSym)<48) AND ((Month([IATestDate]))<Month(Date())))
ORDER BY Users.IndvName;
i want to filter by Year([IATestDate])< Year(Date()) AND Month([IATestDate]) < Month(date()) with everyone who's training is one month or one year overdue to show up.
Thanks,
Dave