Monday, June 29, 2020

Add or remove a digit grouping symbol in a number in a text box or expression box

In Microsoft Office InfoPath, you can add data formatting to text box, expression box, and date picker controls on your form template to specify how dates, times, and numbers are displayed when users enter them into forms that are based on your form template.

You can add a digit grouping symbol only for text box controls that have a decimal or whole number data type, or for expression box controls that are formatted as a decimal or whole number. Depending on the locale that you select, the separator may separate more or fewer than three digits. Adding or removing a digit grouping symbol affects only the displayed value, not the value that is saved in the data source.

  1. Double-click the text box control or expression box control whose data you want to format.

  2. In the Control Properties dialog box, do one of the following:

    • If you are using a text box control, click the Data tab.

    • If you are using an expression box control, click the General tab.

  3. Do one of the following:

    • For a text box, ensure that the Data type list displays the appropriate data type, and then click Format.

    • For an expression box, ensure that the Format as list displays the appropriate data type, and then click Format.

  4. In the Data Type Format dialog box, do one of the following:

    • To add a digit grouping symbol to the number, select the Use a digit grouping symbol check box, under Other options.

    • To remove a digit grouping symbol from the number, clear the Use a digit grouping symbol check box, under Other options.

No comments:

Post a Comment