So, to begin with, you want to format the data in every text box on your form
as if it were a person's proper name? That's what you're doing with the first
piece of code, and this seems a bit odd, to say the least. SHouldn't this be
reserved for the appropriate text box(es) rather than for every text box?
As to the second bit of code; if you see the validation failure messagebox
(which is what it is, it means that validation has failed) the code is
"stopping" because it is waiting for you to re-enter the phone number
correctly. It will stay at this text box until this correction is made. And
yes, you're correct in that the Cancel = True is the cause for this behaviour.
It forces the user to correct the data. Having validation rules make no sense
unless you're going to force the user to correct their mistakes.

Signature
There's ALWAYS more than one way to skin a cat!
Answers/posts based on Access 2000
riccifs@tin.it - 30 Sep 2007 10:01 GMT
On 30 Set, 00:06, "Linq Adams via AccessMonster.com" <u28780@uwe>
wrote:
> So, to begin with, you want to format the data in every text box on your form
> as if it were a person's proper name? That's what you're doing with the first
[quoted text clipped - 15 lines]
>
> Message posted viahttp://www.accessmonster.com
Hi,
in other word the only thing I can do is to use the proper case
function for the appropriate text box(es) rather than for every text
box.
Is there no way to change the second sub so that both of them can work
together?
Bye,
Stefano
P.S.
I'm still not understanding how can I solve the problems!