Thanks CJ. I wasn't aware that you could convert macro to code with a simple push of a button.
Unfortunately the code does not react similar to the macro.
Private Sub NextRecordMacro_Click()
On Error GoTo NextRecordMacro_Click_Err
On Error Resume Next
DoCmd.GoToRecord , "", acNext...