Hi,
Can you tel me where I am going wrong with this code
Private Sub
Dim SchemeID As String
SchemeID = Me.SchemeID
If SchemeID = 1 Then
...Do something
End If
End Sub
This works fine and the following does not
Private Sub
Dim SchemeID As String
SchemeID = Me.SchemeID
If SchemeID = 1 or 2 or 3 or 4 Then
...Do something
End If
End Sub
can anyone help me on this?
I want it to be able to check many ID's in a single if statement if possible.
Thanks Neill
Can you tel me where I am going wrong with this code
Private Sub
Dim SchemeID As String
SchemeID = Me.SchemeID
If SchemeID = 1 Then
...Do something
End If
End Sub
This works fine and the following does not
Private Sub
Dim SchemeID As String
SchemeID = Me.SchemeID
If SchemeID = 1 or 2 or 3 or 4 Then
...Do something
End If
End Sub
can anyone help me on this?
I want it to be able to check many ID's in a single if statement if possible.
Thanks Neill