How to Use Format and InputMask to Format Data (143285)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q143285 SUMMARY
It may be necessary to specify a special format for a column in a grid or a
text box on a form. There are two properties that work together to provide
this functionality in Visual FoxPro, InputMask and Format. The Format
Property is applied to the entire input even though you only specify one
character. The InputMask Property applies on a character by character
basis.
The example in this article demonstrates how to format a phone number with
dashes and parenthesis when the table only stores the numbers (no
formatting).
Modification Type: | Major | Last Reviewed: | 10/15/2003 |
---|
Keywords: | KB143285 |
---|
|