I have an error in code set up in one of our databases and I can't see why it doesn't like it. Any help would be gratefully appreciated. 
Code:
Private Sub Course_GotFocus()
Dim Msg, Style, Title, Help, Ctxt, Response, MyString
If ClaimCount > 0 Then
Msg = "Would you like to print the claim form before you select another course? If you don't, the claims for this course will be lost"
Style = vbQuestion + vbYesNo
Title = "Change course?"
Response = MsgBox(Msg, Style, Title, Help, Ctxt)
If Response = vbYes Then If TotalEnglish > 0 And TotalNotEnglish = 0 Then
stDocName = "Functional Skills Entry Level ENGLISH"
DoCmd.OpenReport stDocName, acPreview
Else
If TotalEnglish > 0 And TotalNotEnglish > 0 Then
stDocName = "Functional Skills Entry Level plus ENGLISH"
DoCmd.OpenReport stDocName, acPreview
Else
stDocName = "Functional Skills Entry Level"
DoCmd.OpenReport stDocName, acPreview
End If
End If
DoCmd.SetWarnings False
stDocName = "Update FS Entry Level Claims"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Refresh
stDocName = "Update FS Entry Level Claims ENGLISH"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Refresh
End If
Forms![Functional Skills Entry Level].Requery
If Response = vbNo Then
stDocName = "Clear Functional Skills Entry Level Claims"
DoCmd.OpenQuery stDocName, acNormal, acEdit (This is the bit the debug selected)
Course.SetFocus
End If
End If
Exit_Course_GotFocus_Click:
Exit Sub
End Sub