Hilmar I just tested again and works for me heres what I've tested, I've created a form put an textbox in it bound to a table with a numeric field, run that form an voila works do you have any more code running??
>>Hilmar I've tested this and works have you put the CLEAR the exact line in the GotFocus?
>>
>>>>You don't have to do the following:
>>>>GotFocus Event of the textbox
>>>>
ON KEY LABEL '.' KEYBOARD ',' CLEAR
>>>>LostFocus Event of the textbox
>>>>
ON KEY LABEL '.'
>>>>This will work and solve your problem.
>>>
>>>... KEYBOARD "," converts periods to commas, alright. The problem is that the cursor jumps to the beginning of the textbox!
>>>
>>>I had decided to postpone this problem - but as you can see, I am sort of addicted.
>>>
>>>Hilmar.
>
>I tried with and without CLEAR. I also tried the PLAIN option. The first thing I did was to copy your code
verbatim.
>
>The symptoms are the same every time:
>
>If the textbox has decimals, and I type e.g. "4.5", after the decimal point the cursor jumps to the right of the decimal point (displayed as a comma), and the integer part gets lost.
>
>Otherwise, the cursor jumps to the beginning of the textbox, but no text gets lost.
>
>Hilmar.
Alexandre Palma
Senior Application Architect