When I enter text into my 'toe' string field, I get an error
Private Sub toe_AfterUpdate()
Dim toe As String
Dim ee As Boolean
Dim kip As String
Dim kip1 As String
If toe = "Play Group" Or "Guides & Brownies" Or "Cub Scouts" Or "Women's Institute" Or "Line Dancing" Then Me.ee = True And kip =
MsgBox("This is a Regular Booking. Please check the calender on the Welcome Form for the dates. Thank you")
Else
kip1 = MsgBox("This is an Occasional Booking.", vbOKOnly, "Occasional Booking")
End If
End Sub
That's my code, but I get en error saying 'Compile error: Else without If'
If someone could help me I'd greatly appreciate it. Time is running out.
Private Sub toe_AfterUpdate()
Dim toe As String
Dim ee As Boolean
Dim kip As String
Dim kip1 As String
If toe = "Play Group" Or "Guides & Brownies" Or "Cub Scouts" Or "Women's Institute" Or "Line Dancing" Then Me.ee = True And kip =
MsgBox("This is a Regular Booking. Please check the calender on the Welcome Form for the dates. Thank you")
Else
kip1 = MsgBox("This is an Occasional Booking.", vbOKOnly, "Occasional Booking")
End If
End Sub
That's my code, but I get en error saying 'Compile error: Else without If'
If someone could help me I'd greatly appreciate it. Time is running out.