Private Sub StudentID_AfterUpdate()
If DCount("StudentID", "Studentsregister", "=[StudentID]" & Me.StudentID > 0) Then
Me.StudentID = Me.StudentID & "dup"
End If
End Sub
pls help instead of add the "dup" for the duplicate "123456789dup"
it insert the "dup" to every value i insert to the form field