Sergio ---
I don't have VFP available to me right now, but I imagine that, if you use a character field as a control source, that you could do it with some trickery involving selstart and selpos properties in the keypress event.
>
>Anybody knows how to make a textbox control behave like a ATM machine when entering a dollar amount.
>As you type the digits move from right to left.
------------------------------------------------
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