L
LMB
Hi Everyone,
Access 2000. I don't create my queries using the sql but I know it helps
you folks understand what I am talking about. At this point I can just make
basic queries. I have credential dates for employees. I would like to make
a report to show the expiration dates for credentials that is based on a
query. If an employee was credentialed in the year 2000 or after, their
credentials expire in 5 years. If they were credentialed their credentials
never expire. I would like the expiration date to show but if the employee
was credentialed I would like it to say something like No Expiration. Is
this possible and if so, how?
I tried this to add 5 years to my date by typing the expression below but it
just returns the CredentialCompletionDate. I guess I can't do the simple
expressions yet either.
Expiration Date: [CredentialCompletionDate]+5
SELECT qryDepartmentEmployees.Name, tblCredentialTypes.CredentialType,
tblCredentials.CredentialCompletionDate
FROM tblCredentialTypes INNER JOIN (qryDepartmentEmployees INNER JOIN
tblCredentials ON qryDepartmentEmployees.strEmployeeID =
tblCredentials.EmployeeID) ON tblCredentialTypes.CredentialTypesID =
tblCredentials.CredentialTypeID;
Thanks,
Linda
Access 2000. I don't create my queries using the sql but I know it helps
you folks understand what I am talking about. At this point I can just make
basic queries. I have credential dates for employees. I would like to make
a report to show the expiration dates for credentials that is based on a
query. If an employee was credentialed in the year 2000 or after, their
credentials expire in 5 years. If they were credentialed their credentials
never expire. I would like the expiration date to show but if the employee
was credentialed I would like it to say something like No Expiration. Is
this possible and if so, how?
I tried this to add 5 years to my date by typing the expression below but it
just returns the CredentialCompletionDate. I guess I can't do the simple
expressions yet either.
Expiration Date: [CredentialCompletionDate]+5
SELECT qryDepartmentEmployees.Name, tblCredentialTypes.CredentialType,
tblCredentials.CredentialCompletionDate
FROM tblCredentialTypes INNER JOIN (qryDepartmentEmployees INNER JOIN
tblCredentials ON qryDepartmentEmployees.strEmployeeID =
tblCredentials.EmployeeID) ON tblCredentialTypes.CredentialTypesID =
tblCredentials.CredentialTypeID;
Thanks,
Linda