T
Tony
I want to display the message when user is trying to go
beyond last record. For reverse situation when user is
trying to go below the first record I am using code:
If Me.CurrentRecord = 1 Then
MsgBox "It is the first record"
Else
DoCmd.GoToRecord , , acPrevious
End If
What will be the similar code for the last record ??
Thanks for advice.
Tony
beyond last record. For reverse situation when user is
trying to go below the first record I am using code:
If Me.CurrentRecord = 1 Then
MsgBox "It is the first record"
Else
DoCmd.GoToRecord , , acPrevious
End If
What will be the similar code for the last record ??
Thanks for advice.
Tony