Set the value property of the textbox to 0 in the property window - that will tell VFP that the value should be numeric.
If you dont want to see the zero in the textbox, set the format of the textbox to blank if zero.
Rick
>>Couple of things may be wrong with what you are doing. Are your controls bound to the data? You should be able to use the same form to edit as you do to enter. If not you could use val() to convert a string to a number but you shouldn't need to do that.
>
>The control is not bound to the data.
>
>The field data is numeric, but when it gets into the textbox it's turned to a character. The value is 123.45 and the display in the textbox is "123", and at that point it refuses to take a decimal point.
>
>I suspect I am doing something wrong but don't know what. Is there something I need to do to make the textbox control "numeric"?