Hey yaa I am currently doing my A2 Computing project and I juz a beginner in programming, can someone tell me how come this code is not working? thzzz=)
Private Sub Form_Current()
If txtCount.Value >= 3 Then
MsgBox ("You have entered more than 3 Open Days Details!")
SubForm.Locked = "YES"
SubForm.AllowEdits = "NO"
Else
End If
End Sub
It said sth object required in the error window
Private Sub Form_Current()
If txtCount.Value >= 3 Then
MsgBox ("You have entered more than 3 Open Days Details!")
SubForm.Locked = "YES"
SubForm.AllowEdits = "NO"
Else
End If
End Sub
It said sth object required in the error window