J
Jeff
I want to use SQL to create an expression where Current date - Expiration
Date = DateDiff
and DateDiff < and = 90 days
When Datediff is < and = 90 days, pull the records that validates this
expression. The records will have these fields: ID, Company, Full Name,
E-mail Address, Company Address, Course Title, Expiration Date, Current Date,
DateDiff
Also, when I pull the records that meet the < and = 90 days criteria, I
want to separate the records by Course Title. Where the course titles
correspond to: Asbestos Contractor / Supervisor Initial, Asbestos Contractor
/ Supervisor Refresher, Asbestos Project Designer Initial, Lead Project
Designer Initial, Lead Supervisor, etc. When I have the records separted, I
will connect the various tables or databases to Outlook and send an email to
the company reminding them about the expiration date for their employee.
Also, I will connect the databases to the fax machine and send the company a
fax as a reminder. Right now, I have mastered the Outlook part, but I have
not figured out how to create the SQL language for the expression and
separating out the records by course title. Can you help me with this
project?
Date = DateDiff
and DateDiff < and = 90 days
When Datediff is < and = 90 days, pull the records that validates this
expression. The records will have these fields: ID, Company, Full Name,
E-mail Address, Company Address, Course Title, Expiration Date, Current Date,
DateDiff
Also, when I pull the records that meet the < and = 90 days criteria, I
want to separate the records by Course Title. Where the course titles
correspond to: Asbestos Contractor / Supervisor Initial, Asbestos Contractor
/ Supervisor Refresher, Asbestos Project Designer Initial, Lead Project
Designer Initial, Lead Supervisor, etc. When I have the records separted, I
will connect the various tables or databases to Outlook and send an email to
the company reminding them about the expiration date for their employee.
Also, I will connect the databases to the fax machine and send the company a
fax as a reminder. Right now, I have mastered the Outlook part, but I have
not figured out how to create the SQL language for the expression and
separating out the records by course title. Can you help me with this
project?