In my testing, both of these code snippets worked (watch the spelling if the control name )
Notice the 2 pair of parentheses.... (in blue)
Code:
Private Sub Form_Current()
' Me.Activities_First_Button.Enabled = Not (Recordset.AbsolutePosition = 0)
' Me.Activities_Previous_Button.Enabled = Not (Recordset.AbsolutePosition = 0)
Me.Actvities_Next_Button.Enabled = Not (Recordset.AbsolutePosition = (Recordset.RecordCount - 1))
Me.Activities_Last_Button.Enabled = Not (Recordset.AbsolutePosition = (Recordset.RecordCount - 1))
End Sub
or
Code:
If Not (Recordset.AbsolutePosition = (Recordset.RecordCount - 1)) Then
Me.Activities_Last_Button.Enabled = True
Me.Actvities_Next_Button.Enabled = True
Else
Me.Activities_Last_Button.Enabled = False
Me.Actvities_Next_Button.Enabled = False
End If
After making the code changes, be sure to put the form in design view, the go back to normal view before testing the code changes.