Category Archives: Code

Crystal Reports: Displaying Explanatory Text on the First Page


In purchase orders and other documents, it’s sometimes necessary to display explanatory text on the first page. However, this can be problematic when placed in the report header, as it will appear in an awkward position. On the other hand, if placed in the page header, it will be displayed on every page. In such cases, you can follow these steps to set up an item that will only appear on the first page, which is recommended for brief explanations.

  1. Insert the desired text into the page header.

  2. Select the inserted text, go to the CrystalReport menu, and choose Formula Workshop.

  3. In the tree view on the left, select Page Header and then select the text object where you’ve written the explanatory text.

  4. Next, choose New, and select “Hide” as the option.

  5. Enter the following code:

Now, this item will only appear on the first page.