ACC: Text Box Formatted as Currency Has a Space on the Right (109314)
The information in this article applies to:
- Microsoft Access 1.0
- Microsoft Access 1.1
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q109314 Novice: Requires knowledge of the user interface on single-user computers.
SYMPTOMS
A text box with a currency format on a form or on a report displays data
with an extra space at the right end of the value.
CAUSE
The space at the right end of the value is required for a closing
parenthesis for negative values. The space keeps the decimal point aligned
for positive and negative values.
RESOLUTION
Change the text box's Format property to a custom format or to a fixed
format with two decimal places.
For example, if you change the control's Format property to $#,##0.00,
values in the control will be displayed without the space on the right end.
Negative values will be displayed as -$nnn.nn, not as ($nnn.nn).
STATUS
This behavior is by design.
REFERENCES
For more information about formatting a field, search the Help Index
for "Format," and then "Format Property" or ask the Microsoft Access 97
Office Assistant.
Modification Type: | Major | Last Reviewed: | 5/6/2003 |
---|
Keywords: | kbprb kbusage KB109314 |
---|
|