ACC: Text Box Formatted as Currency Has a Space on the RightLast reviewed: May 28, 1997Article ID: Q109314 |
The information in this article applies to:
SYMPTOMSNovice: Requires knowledge of the user interface on single-user computers. A text box with a currency format on a form or report displays data with an extra space at the right end of the value.
CAUSEThe 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.
RESOLUTIONChange 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).
STATUSThis behavior is by design.
MORE INFORMATIONIf you format some text boxes on a form with a currency format and others with a custom format, you may have trouble aligning columns of figures. For example, if you format totals in a report's footer section with a currency format, but use a custom format, or no format, on the text boxes above the footer, the columns may not be automatically aligned.
Steps to Reproduce Behavior
REFERENCESFor more information about formatting a field, search the Help Index for "Format," and then "Format Property" or ask the Microsoft Access 97 Office Assistant. |
Keywords : kbusage RptLayou
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |