The PHONE_FORMAT conversion, delivered with OpenInsight, can be used to validate the contents of a variable, or user input in a window control, to conform to the standard format for United States telephone numbers, including area code.  The source code (shown in the next topic) is included, so that you can customize it for international or any other application use.

To specify the PHONE_FORMAT conversion in a control, either for data validation or for conversion, use the Validation/Conversion Display dialog, as illustrated below:

  • No labels