The validate event is not activated by either (a) using code (ie. SetFocus method) to set focus to another control or (b) pressing <enter> when there is a command button with its Default property set to TRUE.

I want to validate my textbox entry in both of these situations. Any suggestions?
Thanks.