ACC: General Number Format Ignores Decimal Number Setting

ID: Q96574


The information in this article applies to:
  • Microsoft Access versions 1.0, 1.1, 2.0, 7.0, 97


SYMPTOMS

Moderate: Requires basic macro, coding, and interoperability skills.

The Decimal Number you place in the DecimalPlaces property setting appears to have no effect when the Format property is set to General.


STATUS

This is by design.


MORE INFORMATION

When you add a text box control to a form or report bound to a Numeric field, if the control's Format property is set 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.

For more information about decimal places, please see the following article in the Microsoft Knowledge Base:

Q121098 ACC: Fixed Format Required with Decimal Point Setting

Q97524 ACC: Round or Truncate Values to Desired Number of Decimals


REFERENCES

For more information about how Microsoft Access handles decimals, search the Help Index for "DecimalPlaces Property," or ask the Microsoft Access 97 Office Assistant.

Additional query words: formatting

Keywords : FmsHowto
Version : 1.0 1.1 2.0 7.0 97
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: March 20, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.