Code:
If Forms!studentsearch!ADDNEW!rclass <> Forms!studentsearch!ADDNEW!STREAM Then
    MsgBox "No Stream is Allowed to Cream Class", vbExclamation, "UNIFORM "
    Me.Undo
    Forms!studentsearch!ADDNEW!STREAM = ""
End If