Mitch_____W
11-13-2001, 06:53 AM
I am trying to run an existing query from a code procedure and specifying a certain query field criteria...
For instance:
I have a query named "Expired_Annex_Query".
This query has 8 fields:
The first field is "Employee_Name"
The second field is "Employee_Annex"
The rest of the fields are 6 different expiration dates pertaining to the employee
I am trying to have an E-mail notification sent to the e-mail address associated with the annex in another table when an employee has any of the expiration date fields expired.
So I must run this query once for each annex (24 annexes), with the criteria changing each time for the "Employee_Annex" Field and an E-mail sent to the respective e-mail address associated with this annex if there are any results.
I posted this earlier in the "FORMS FORUM" by mistake...
Thanks in Advance!!!!
Mitch
For instance:
I have a query named "Expired_Annex_Query".
This query has 8 fields:
The first field is "Employee_Name"
The second field is "Employee_Annex"
The rest of the fields are 6 different expiration dates pertaining to the employee
I am trying to have an E-mail notification sent to the e-mail address associated with the annex in another table when an employee has any of the expiration date fields expired.
So I must run this query once for each annex (24 annexes), with the criteria changing each time for the "Employee_Annex" Field and an E-mail sent to the respective e-mail address associated with this annex if there are any results.
I posted this earlier in the "FORMS FORUM" by mistake...
Thanks in Advance!!!!
Mitch