Good Morning,
We have changed our system over from 2000 to 2003 and now I am getting a run time error on the code listed below:
Private Sub Command57_Click()
If Project1.[Form_Visit Request Form].POCEmail.Value <> "" Or Project1.[Form_Visit Request Form].POCEmail.Value <> Null Then
DocCmd.SendObject , , "HTML(*.html)", Project1.[Form_Visit Request Form].POCEmail.Value, , , "Visit Request", "Your request for " + Project1.[Form_Visit Request Form].StartDate.Value + " - " + Project1.[Form_Visit Request Form].EndDate.Value + " has been entered", 0
Else
MsgBox "POC Email Is Invalid"
End If
End Sub
Any help to resolve this would be grateful.
We have changed our system over from 2000 to 2003 and now I am getting a run time error on the code listed below:
Private Sub Command57_Click()
If Project1.[Form_Visit Request Form].POCEmail.Value <> "" Or Project1.[Form_Visit Request Form].POCEmail.Value <> Null Then
DocCmd.SendObject , , "HTML(*.html)", Project1.[Form_Visit Request Form].POCEmail.Value, , , "Visit Request", "Your request for " + Project1.[Form_Visit Request Form].StartDate.Value + " - " + Project1.[Form_Visit Request Form].EndDate.Value + " has been entered", 0
Else
MsgBox "POC Email Is Invalid"
End If
End Sub
Any help to resolve this would be grateful.