Pg77 Sub Form_Current()
Hi, I can't get the code on pg 77 to work it keeps stopping on the Else cmdNext.Enabled = True
Run-Time Error 424
Object Required
For the life of me I can't figure out what is wrong I've typed and retyped the code with no luck. running Access 2010
Private Sub Form_Current()
If Me.NewRecord = True Then
cmdPrevious.SetFocus
cmdNext.Enabled = False
Else
cmdNext.Enabled = True <<<<Stops here why thanks
End If
End Sub
|