7 Replies Latest reply: May 1, 2012 5:32 AM by user611775 RSS

    Unique Key Validator not fire when updating field that was saved with null

    user611775
      I want to make validation over employee userName
      In the entity level for Employee table I've added ALT Key over UserName
      and then on the entity level I've created Unique key validator and used this ALT Key

      when I insert new employee if I inserted duplicated UserName validation will fire.
      If I have edited old employee record that the userName was null and I'ved updated it to an existing userName validation won't fire.
      how to fire unique key validation if editing an existing record with null user name.