If Me.FraudRisk.Value = True And Me.Update.Value = False Then
ElseIf Me.PotentialLoss.Value < 1000.01 Then
cc1 =
bcc1 =
DoCmd.SendObject acReport, "procedure exception report", "pdf", "", cc1, bcc1, "Fraud Risk - Procedure Exception Notification", "", True, """"
ElseIf Me.PotentialLoss.Value <= 10000 Then
cc1 =
bcc1 =
DoCmd.SendObject acReport, "procedure exception report", "pdf", "", cc1, bcc1, "Fraud Risk - Procedure Exception Notification", "", True, """"
ElseIf Me.PotentialLoss.Value > 10000 Then
to1 =
cc1 =
bcc1 =
DoCmd.SendObject acReport, "procedure exception report", "pdf", to1, cc1, bcc1, "Fraud Risk - Procedure Exception Notification", "", True, """"
End If
'-------------------------------------------------------------
'--------------------------------------------------------------
'add UPDATE to subject field
If Me.Update.Value = True And Me.FraudRisk.Value = False Then
ElseIf Me.PotentialLoss.Value < 1000.01 Then
cc1 =
bcc1 =
DoCmd.SendObject acReport, "procedure exception report", "pdf", "", cc1, bcc1, "UPDATE - Procedure Exception Notification - Issue", "", True, """"
ElseIf Me.PotentialLoss.Value <= 10000 Then
cc1 =
bcc1 =
DoCmd.SendObject acReport, "procedure exception report", "pdf", "", cc1, bcc1, "UPDATE - Procedure Exception Notification - Issue", "", True, """"
ElseIf Me.PotentialLoss.Value > 10000 Then
to1 =
cc1 =
bcc1 =
DoCmd.SendObject acReport, "procedure exception report", "pdf", to1, cc1, bcc1, "UPDATE - Procedure Exception Notification", "", True, """"
End If
'-------------------------------------------------------------
If Me.Update.Value = False And Me.FraudRisk.Value = False Then
ElseIf Me.PotentialLoss.Value < 1000.01 Then
cc1 =
bcc1 =
DoCmd.SendObject acReport, "procedure exception report", "pdf", "", cc1, bcc1, "Procedure Exception Notification", "", True, """"
ElseIf Me.PotentialLoss.Value <= 10000 Then
cc1 =
bcc1 =
DoCmd.SendObject acReport, "procedure exception report", "pdf", "", cc1, bcc1, "Procedure Exception Notification", "", True, """"
ElseIf Me.PotentialLoss.Value > 10000 Then
to1 =
cc1 =
bcc1 =
DoCmd.SendObject acReport, "procedure exception report", "pdf", to1, cc1, bcc1, "Procedure Exception Notification", "", True, """"
End If
'------------------------------------------------------------
'update if fraud risk
If Me.FraudRisk.Value = True And Me.Update.Value = True Then
ElseIf Me.PotentialLoss.Value < 1000.01 Then
cc1 =
bcc1 =
DoCmd.SendObject acReport, "procedure exception report", "pdf", "", cc1, bcc1, "UPDATE Fraud Risk - Procedure Exception Notification", "", True, """"
ElseIf Me.PotentialLoss.Value <= 10000 Then
cc1 =
bcc1 =
DoCmd.SendObject acReport, "procedure exception report", "pdf", "", cc1, bcc1, "UPDATE Fraud Risk - Procedure Exception Notification", "", True, """"
ElseIf Me.PotentialLoss.Value > 10000 Then
to1 =
cc1 =
bcc1 =
DoCmd.SendObject acReport, "procedure exception report", "pdf", to1, cc1, bcc1, "UPDATE Fraud Risk - Procedure Exception Notification", "", True, """"
End If