>Thanks Nadya. Of course this will work. Somehow could not see the forest because of the trees.
>
>I have another question. I put an edit in the Valid Event. When the edit fails how can I customize the "Invalid Input" Message?
>
>Again thanks for any assistance you can provide.
Instead of returning .f. in Valid return 0 and give your own messagebox.
Check out Valid in Help.
If it's not broken, fix it until it is.
My Blog