cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Print a text block if there is more than x amount of products on my quotation in Crystal Reports

DennisV1001
Newcomer
0 Likes
172

Hi all,

I'm very new to SAP and Crystal Reports so i'll try to explain my issue as best as I can.

I've been building a Quotation form for my employer in Crystal Reports. The quotation pulls Article codes from SAP on a Quotation request into my report. Everything works perfectly but as soon as there are more than 4 products in the request, the 5th (and 6th and 7th and so on) will print to the next page (as they should).

On the first page I have headers (which are text blocks) for the products. These headers are built in Page header B. Which I can set to display only on page 1 or multiple pages.

Now here comes the problem. There is also a big text block in my report foot section after my details sections. This text block HAS to be in the report so my report will always consist of 2 pages. 
I want to make it so that when my quotation has more than 4 products it prints the Page header B on page 2 aswel, but if it has 4 or less products it shouldn't print it on any other page than page 1.

If it's possible at all, how could I implement this in my report? I was thinking to use an if statement to use in the Page header A section but i've got no clue what to write or what statment to put there.

If it's not possible then i'm open for any suggestions how I could fix this.

Accepted Solutions (0)

Answers (0)