>Thanks Tracy,
>
>I forgot to mention that the code is in a 2nd form called. the first form calles the second form from a text box valid event. I am currently moving that code to command button control. this should fix it. Thanks for your help
>
>Terry Frymire
>Bonanza Pilot
>A35 N756B
Terry;
Well, you have discovered you cannot call a set focus from a when, valid, etc. or have code in those puppies referencing set focus.
Jim Booth has a fine way to treat set focus - see thread #
620227, which is a nice thing to remember.
Tom