M
Mitchell_Collen via AccessMonster.com
Hi, I was hoping someone could tell me where to start with using an update
query in Access. I have a table called AbsenceTable . The AbsenceTable is
updated daily when an employee is absent or tardy. I want comply with our HR
guildlines and send a report to managers of the employees who in a cumulative
12 month period have had more than 3 occurences of an Absence or Tardy.
SELECT Employee, [Absence Type],Date
FROM [Absence Table] INNER JOIN [Absence Type] ON [Absence Table].[Absence
Type] = [Absence Type].[Absence Type]
WHERE ((([Absence Table].Date)<=DateSerial(Year(Date()),Month(Date()),1) And
([Absence Table].Date)>DateSerial(Year(Date()),Month(Date())-12,1)));
********This finds the employees who fall into the past 12 months criteria
I have created a new table called AbsenceHotList where I want to update those
who fall into that category everyday. I can't use an update with an aggregate
query in Access. A report will not work because managers will also manually
update AbsenceHotList with the date and comment of verbal warnings, etc that
are given.
Please help me.
-Misty
query in Access. I have a table called AbsenceTable . The AbsenceTable is
updated daily when an employee is absent or tardy. I want comply with our HR
guildlines and send a report to managers of the employees who in a cumulative
12 month period have had more than 3 occurences of an Absence or Tardy.
SELECT Employee, [Absence Type],Date
FROM [Absence Table] INNER JOIN [Absence Type] ON [Absence Table].[Absence
Type] = [Absence Type].[Absence Type]
WHERE ((([Absence Table].Date)<=DateSerial(Year(Date()),Month(Date()),1) And
([Absence Table].Date)>DateSerial(Year(Date()),Month(Date())-12,1)));
********This finds the employees who fall into the past 12 months criteria
I have created a new table called AbsenceHotList where I want to update those
who fall into that category everyday. I can't use an update with an aggregate
query in Access. A report will not work because managers will also manually
update AbsenceHotList with the date and comment of verbal warnings, etc that
are given.
Please help me.
-Misty