>Chuck,
>>Lastkey() however is last digit typed if you mean field is exited for its maxlength is reached.
Cetin
So, what key number does the system recognize when the field is exited for its maxlength is reached? I guess that is why the code in the valid or lostfocus does not fire.
Extreme Programming = Plan -> Design -> Code -> Test