Compile error

s.booth

Registered User.
Local time
Today, 21:11
Joined
Feb 5, 2002
Messages
23
Can anyone help I have the follow bit of code and kep getting the
Complile error Else without If


Private Sub completed_Click()
If IsNull(Me.followedupby.Value) = True Then MsgBox "Select Operator"
GoTo 1
1 Me.completed = 0

Else
Me.completedon = Now()
End If
 
Code:
Private Sub completed_Click()
    If IsNull(Me.followedupby.Value) = True Then 
        MsgBox "Select Operator"
        Me.completed = 0
    Else
        Me.completedon = Now()
End If
 

Users who are viewing this thread

Back
Top Bottom