To reduce a field's font size conditionally

  1. Open the report in Crystal Reports, and click the Design tab.
  2. In the Details section of the report, right-click the field that contains the font that you want to conditionally format.
  3. On the shortcut menu, click Format Field.

    The Format Editor dialog box appears.

  4. Click the Font tab.
  5. Click the Formula button that corresponds to the Size field.

    The Formula Workshop opens a new formula and names it Font Size.

  6. In the text area, type this formula (which uses Crystal Syntax):
    if {@LanguageCode%} = "D"
    	then 10
    else 12
    

    This formula ensures that the font size of the field that is currently selected is reduced from 12 pts to 10 pts when the user's logon language is German (or when the user schedules a German instance of the report).

  7. Click Save and close.