G
Guest
Howdy all
I have (i hope) a general question about if statementsin access 97.
I have a table that contains the following field names in Table_1
NAME DATE SENT STATUS
J.Doe 01/09/05 Sent
J.Hpe 05/09/05 Received
A.Don 09/09/05 To Be Sent
What i need to do is send emails based on the condition that the SENT_STATUS
= "to be sent" and the date being 7 days before and the name
so i assume it goes like this,
IF SENT_STATUS = "To Be Sent" AND Date<date() AND NAME="A.DON" THEN
send email
ELSE
do nothing
being new to module use however how do I reference the table fields within a
function?
Cheers
I have (i hope) a general question about if statementsin access 97.
I have a table that contains the following field names in Table_1
NAME DATE SENT STATUS
J.Doe 01/09/05 Sent
J.Hpe 05/09/05 Received
A.Don 09/09/05 To Be Sent
What i need to do is send emails based on the condition that the SENT_STATUS
= "to be sent" and the date being 7 days before and the name
so i assume it goes like this,
IF SENT_STATUS = "To Be Sent" AND Date<date() AND NAME="A.DON" THEN
send email
ELSE
do nothing
being new to module use however how do I reference the table fields within a
function?
Cheers