I am pulling my hair out !!
The following code gives error 2001 cancelled previous operation
'MsgBox ("email therapist booking")
Dim therem
therem = DLookup("[E-mail]", "[therapists]", "therapist= " & Forms![zoom]!ther)
If therem > "" Then
' Call emailaddtherapist(therem, noteb, notea)
End If
e-mail is a field on the table therapists with the key of therapist
form zoom field ther contains a valid therapist id
Help
The following code gives error 2001 cancelled previous operation
'MsgBox ("email therapist booking")
Dim therem
therem = DLookup("[E-mail]", "[therapists]", "therapist= " & Forms![zoom]!ther)
If therem > "" Then
' Call emailaddtherapist(therem, noteb, notea)
End If
e-mail is a field on the table therapists with the key of therapist
form zoom field ther contains a valid therapist id
Help