Microsoft KB Archive/102704

{| = FIX: Can't Give Numeric the Currency Format in Report Writer =
 * width="100%"|

ID: Q102704

The information in this article applies to:


 * Microsoft FoxPro for Windows, version 2.5
 * Microsoft FoxPro for Macintosh, version 2.6a

SYMPTOMS
In the Report Writer, you cannot format a numeric value with the currency format. If you select the Currency check box, a dollar sign is placed before the number, but the number of digits after the decimal point isn't always going to be two.

RESOLUTION
In FoxPro for Windows or FoxPro for Macintosh, do the following:

  Modify the expression for the field as follows: transform( ,"$$$,$$$.99") NOTE: Do not use any of the options under Format when using this workaround. -or- 

In FoxPro for Windows, (does not work in FoxPro for Macintosh) do the following:   Type the following format in the Format box, giving the desired size: $999,999.99 

STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in FoxPro version 2.5a for Windows.

Additional query words: FoxWin FoxWin

Keywords         : kbVFP250bug kbVFP250afix FoxWin FxtoolRwriter RWriter kbbuglist kbfixlist Version          : WINDOWS: 2.50, Macintosh: 2.60a Platform         : MACINTOSH WINDOWS Issue type       : kbbug Solution Type    : kbfix
 * }