89
Views
4
Comments
Solved
[Simple Reports With PDF] How to avoid precedent text to be repeated when instanced before a table records
Question
simple-reports-with-pdf
Web icon
Forge asset by Huarlem Lima

Hi everyone I'm having some issues with 2 weblocks instanced in the same page of a simple report.

First webblock is an introductive text wich changes dinamically.

Second webblock is a table record which has a lot of records and is expected to be displayed in several pages. 

My issue is that I only want records from table records to be displayed on the next pages. But what happens is that at the begining of each pages first webblock also renders before the continuation of the record list.

Does anyone have a hint of what should I do to avoid this?

2025-10-09 15-40-22
Craig St Jean
Staff
Solution

Hey Helena,

If you wrap your intro web block with a PrintContainer from the component, it will give you the result you want.  For example:


It looks like anything that is not a list or something that would span multiple pages should be wrapped by the PrintContainer.

Hope that helps!

2025-10-09 15-40-22
Craig St Jean
Staff

Hello Helena,

Do you have a sample that you could provide to show how you have your page setup?  I would be happy to take a look!

2018-09-11 21-09-40
Helena Lameiro
 
MVP

Hi Craig,

sorry for the late answer. However I had some issues with my perso area.

Please find attached an oml with an example of what I am talking about

TestSimpleReports.oml
2025-10-09 15-40-22
Craig St Jean
Staff
Solution

Hey Helena,

If you wrap your intro web block with a PrintContainer from the component, it will give you the result you want.  For example:


It looks like anything that is not a list or something that would span multiple pages should be wrapped by the PrintContainer.

Hope that helps!

2018-09-11 21-09-40
Helena Lameiro
 
MVP

Hi Craig, It's working :-)!

Thanks

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.