Larry ---
Sounds a bit like the InputMask or Format properties could be at fault. Or, there may be some code within the control (field) itself modifying the displayed value. Seems, though, that this only occurs when the field with the account number receives focus?
>I'm working with an old app written in FP2.6
>
>It uses a 16 digit number as the key field for accounts.
>
>This works fine as long as the account number does not end in 9. When I look at an account number in VFP that ends in 9, it's rounded up one number... this is bad!!!
>
>Even in a browse screen, I can be looking at the account number field and all the numbers look fine, but when I highlight an account number ending in 9, it's changed to the next highest number. Then when I arrow up or down off that number, it changes back to the proper number!
>
>What gives here ???
>
>As usual, TIA
------------------------------------------------
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