Ask Your Question
0

How can one suppress certain details sections on Crystal Reports based on the page number?

asked 2023-03-14 11:00:00 +0000

huitzilopochtli gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2022-01-21 14:00:00 +0000

plato gravatar image

One way to suppress certain details sections on specific pages in Crystal Reports is to use the "Suppress" formula in the Section Expert. Here are the steps:

  1. Right-click on the section you want to suppress (e.g. Details Section 3) and select "Section Expert".

  2. In the Section Expert, click on the "Suppress" checkbox.

  3. Click on the "X-2" button next to the Suppress checkbox to open the formula editor.

  4. In the formula editor, enter a formula to determine which pages to suppress the section on. For example, if you want to suppress Details Section 3 on pages 2, 4, and 6, enter the following formula:

    if Pagenumber in [2, 4, 6] then true else false

  5. Click "Save and Close" to close the formula editor.

  6. Click "OK" to close the Section Expert.

  7. Preview the report and verify that Details Section 3 is only suppressed on the specified pages.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-03-14 11:00:00 +0000

Seen: 10 times

Last updated: Jan 21 '22