J
jo
Hi guys i'm sorry to ask this question again but I can't seem to find the
answer? And I really need some help with either coding or macro. I have a
macro that does a SendObject. it does every thing i want until the report
arrives in lotus notes to be sent as an email. my problem is with lotus notes
i want the email to be sent automatically without the user having to click
send??? is this possible?? Below is the code that i have does en one know wot
is missing in th code for that final send?
plz plz help?? jo
------------------------------------------------------------
' checker_Query_overdue
'
'------------------------------------------------------------
Function checker_Query_overdue()
On Error GoTo checker_Query_overdue_Err
If (DCount("*", "OnOpenOverdue") > 0) Then
DoCmd.SendObject acReport, "OnOpenOverdue", "SnapshotFormat(*.snp)",
"(e-mail address removed)", "", "", "Gauge Control", "Gauges Overdue",
False, ""
End If
If (DCount("*", "OnOpenOverdue") = 0) Then
Beep
MsgBox "No Gauges found overdue today..", vbOKOnly, "No Gauges
found.."
End If
answer? And I really need some help with either coding or macro. I have a
macro that does a SendObject. it does every thing i want until the report
arrives in lotus notes to be sent as an email. my problem is with lotus notes
i want the email to be sent automatically without the user having to click
send??? is this possible?? Below is the code that i have does en one know wot
is missing in th code for that final send?
plz plz help?? jo
------------------------------------------------------------
' checker_Query_overdue
'
'------------------------------------------------------------
Function checker_Query_overdue()
On Error GoTo checker_Query_overdue_Err
If (DCount("*", "OnOpenOverdue") > 0) Then
DoCmd.SendObject acReport, "OnOpenOverdue", "SnapshotFormat(*.snp)",
"(e-mail address removed)", "", "", "Gauge Control", "Gauges Overdue",
False, ""
End If
If (DCount("*", "OnOpenOverdue") = 0) Then
Beep
MsgBox "No Gauges found overdue today..", vbOKOnly, "No Gauges
found.."
End If