GreenshootProgrammer
Registered User.
- Local time
- Today, 18:43
- Joined
- Jan 16, 2013
- Messages
- 74
Solved: 
The "C"000 input mask must have been removing the C from the textbox value.

Code:
Private Sub txtCourseID_BeforeUpdate(Cancel As Integer)
If DCount("*", "tblCourse", "CourseID='C" & Me.txtCourseID.Value & "'") > 0 Then
Cancel = True
MsgBox "This Course ID is already being used."
Me.txtCourseID.Undo
End If
End Sub
The "C"000 input mask must have been removing the C from the textbox value.