Booleanist59
Programmer
What's the best way to impose formatting in a grid that saves the special characters back to a free table's char field in VFP6.
Let's say I want to use 3 types...
1). Phone number (800) 555-1212
2). Social Security Number 123-45-6789
3). Zip Code 08102-5102
I want the characters to appear in the box so the user doesn't have to type anything but the numbers but I need the special characters to be saved with the data entry into the field. I tried the DynamicInputMask of "@R 99999-9999" at the Column level of a grid and it worked on a zip code but does not save the dash with the data to the field in the table.
I tried the DynamicInputMask of "@R (999) 999-99999" at the Column level of a grid for a phone number field but didn't show any special characters in the field but saves whatever I type into the character field.
Is there a "Best Way" in VFP6 to handle imposing a template on data entry in a grid's cell that saves the special characters into the free table's field?
Any thoughts or suggestions would be appreciated,
Dave
* The 2nd mouse gets the cheese
Let's say I want to use 3 types...
1). Phone number (800) 555-1212
2). Social Security Number 123-45-6789
3). Zip Code 08102-5102
I want the characters to appear in the box so the user doesn't have to type anything but the numbers but I need the special characters to be saved with the data entry into the field. I tried the DynamicInputMask of "@R 99999-9999" at the Column level of a grid and it worked on a zip code but does not save the dash with the data to the field in the table.
I tried the DynamicInputMask of "@R (999) 999-99999" at the Column level of a grid for a phone number field but didn't show any special characters in the field but saves whatever I type into the character field.
Is there a "Best Way" in VFP6 to handle imposing a template on data entry in a grid's cell that saves the special characters into the free table's field?
Any thoughts or suggestions would be appreciated,
Dave
* The 2nd mouse gets the cheese