Hmmm....check your SET NOTIFY setting. If you want a custom message only in Valid, SET NOTIFY OFF (Turns off the invalid input message) and use WAIT WIND or MESSAGEBOX for you message.
>I am having a problem with the lostfocus and valid events. I have a field that the user needs to enter, i have the logic for this. In my logic i tell the user he must enter the information. The problem is when the logic is in the valid event the same message comes up twice. If I put the code in the lostfocus event the message comes up once, but the focus is not reset to the box that needs the information.
>
>Any ideas?
>
>Jim
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05