VBFOXDEV35
Programmer
Hello all, This is a real easy questions I am sure you all can answer quickly. I am so used to VB here you can format a textbox to be numeric, but how to you in VFP 7.0?
My user will enter a value to the textbox, 15242.95, but I want to display to the user $15,242.95 when the focus leaves, but write to the database 15242.95. What is the easiest way to do this.
use the lost focus event to format the number to $15,242.95 when focus is lost and then write to the database the .text value (which I assume is 15242.95, whereas the .value will be the whole formatted expression).
Thanks all for your help.
Art
My user will enter a value to the textbox, 15242.95, but I want to display to the user $15,242.95 when the focus leaves, but write to the database 15242.95. What is the easiest way to do this.
use the lost focus event to format the number to $15,242.95 when focus is lost and then write to the database the .text value (which I assume is 15242.95, whereas the .value will be the whole formatted expression).
Thanks all for your help.
Art