J
Janet
I'm developing (what I thought would be) a fairly simple database to
track employee training. I would like the query to give me the
expiration date of a particular training based upon the previous
completion date and the number of months before expiration. Different
types of training are good for different amounts of time (i.e. First
Aid is 12 months, CPR is 36 months).
I want to use the field ExpireMos as the interval rather than a fixed
number, but I'm getting an error. Here's the SQL for the query:
SELECT tblAttendance.Complete, DateAdd("m",[tblClasses.ExpireMos],
[tblAttendance.Complete]) AS ExpireDate, tblAttendance.*, tblClasses.*
FROM tblEmployees INNER JOIN (tblClasses INNER JOIN tblAttendance ON
tblClasses.ClassID = tblAttendance.ClassID) ON tblEmployees.EmployeeID
= tblAttendance.EmployeeID;
Many thanks in advance for any assistance...
track employee training. I would like the query to give me the
expiration date of a particular training based upon the previous
completion date and the number of months before expiration. Different
types of training are good for different amounts of time (i.e. First
Aid is 12 months, CPR is 36 months).
I want to use the field ExpireMos as the interval rather than a fixed
number, but I'm getting an error. Here's the SQL for the query:
SELECT tblAttendance.Complete, DateAdd("m",[tblClasses.ExpireMos],
[tblAttendance.Complete]) AS ExpireDate, tblAttendance.*, tblClasses.*
FROM tblEmployees INNER JOIN (tblClasses INNER JOIN tblAttendance ON
tblClasses.ClassID = tblAttendance.ClassID) ON tblEmployees.EmployeeID
= tblAttendance.EmployeeID;
Many thanks in advance for any assistance...