Why wouldn't you put that setfocus() in the lostfocus() method? Lostfocus() would only fire if valid() succeeded...
>Yes but in my experience, 6 months from now I may want to call setfocus to another control when the date is valid and BANG I have an error. Why take the risk. Lostfocus works and I don't have to worry about getting the error.
>
Steve Gibson