ACC2000: General Number Format Ignores Decimal Number Setting (209626)



The information in this article applies to:

  • Microsoft Access 2000

This article was previously published under Q209626
Moderate: Requires basic macro, coding, and interoperability skills.

For a Microsoft Access 2002 version of this article, see 286333.

SYMPTOMS

When you place a decimal number in the DecimalPlaces property setting, it appears to have no effect when the Format property is set to General.

MORE INFORMATION

When you add a text box control that is bound to a Numeric field to a form or report, if you do not set the control's Format property or set it to General Number, the DecimalPlaces property setting will have no effect. This is because the General Number format displays only the number of decimal places necessary for each value. Also, having no format specified defaults to the behavior of the General Number format.

For additional information about decimal places, please see the following articles in the Microsoft Knowledge Base:

208919 ACC2000: Fixed Format Required with Decimal Point Setting

210564 ACC2000: Round or Truncate Currency Values to the Intended Number of Decimals

REFERENCES

For more information about how Access handles decimals, click Microsoft Access Help on the Help menu, type DecimalPlaces Property in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

Modification Type:MajorLast Reviewed:6/28/2004
Keywords:kbprb KB209626