Symptoms

When you print or export a report using Report Commander, some numbers may be formatted differently than when the report is printed or exported from the Crystal Reports designer. For example, a number that normally appears as "12345678" may appear as "12,345,678.00"

Cause

This problem can occur if your report contains formulas that convert numbers to strings using the CStr function without specifying any formatting options, for example:

CStr(12345678)

In this case, Crystal Reports formats the number using the number format. The Crystal Reports runtime components used by Report Commander may use a different default than the Crystal Reports designer does.

Resolution

When formatting numbers using CStr, always specify the formatting to use. For example:

CStr(12345678,0)

will produce the result "12345678".

Status

This issue is a limitation of the Crystal Reports runtime components used by Report Commander.