This is what it would have looked like if you had used the Code tags (the # on the tool bar)
Private Sub AddCourse_Click()
On Error GoTo Err_AddCourse_Click
DoCmd.GoToRecord , , acNewRec
(RG for short) aka Allan Bunch Previous MS Access MVP - WinXP Pro, Win7 Pro - acXP, ac07, ac10, ac13
If your issue is resolved...go ahead and use the Thread Tools at the top of the thread and mark the thread as Solved!
Teaching is not filling a bucket but lighting a fire. Borrowed quote..."Docendo discimus"