Dear all,
I have a SQL SERVER back end db, front end ADP
I am going to develope a monitoring form on contract based table. which will check if the Date is > Current Date then it will automatically sends an alert msg to person email
i put this code to Form Load
________________________________________________________
If Me.Date_Planed > Now() Then
DoCmd.SendObject acSendNoObject, , , "farzam.aliffi@cec.eu.int", , , "Job Alert", [TaskM],, No
Else
MsgBox ("No Jobs are due yet,to be alerted Thank you!")
End If
---------------------------------------------------------
it works fine for only first record,
but i want to use a kind of loop and records set to
check all the records in underlaying table or form itself
and do the alert for any record whos date is > Now()
waiting for your replys
thanks
fazam
I have a SQL SERVER back end db, front end ADP
I am going to develope a monitoring form on contract based table. which will check if the Date is > Current Date then it will automatically sends an alert msg to person email
i put this code to Form Load
________________________________________________________
If Me.Date_Planed > Now() Then
DoCmd.SendObject acSendNoObject, , , "farzam.aliffi@cec.eu.int", , , "Job Alert", [TaskM],, No
Else
MsgBox ("No Jobs are due yet,to be alerted Thank you!")
End If
---------------------------------------------------------
it works fine for only first record,
but i want to use a kind of loop and records set to
check all the records in underlaying table or form itself
and do the alert for any record whos date is > Now()
waiting for your replys
thanks
fazam