How to prepare a report for the rows of a table !! We have 5 rows! 5 page report !!! In a report file (pdf) - Forum

Forum Navigation
You need to log in to create posts and topics.

How to prepare a report for the rows of a table !! We have 5 rows! 5 page report !!! In a report file (pdf)

Hello and good time ...! And thanks everyone! Technical question: we have a table and there are, for example, 5 rows in the table! We want to report for them! How to prepare a report page for each row! Our report file should have 5 pages and each page should belong to one row! Thank you all

Hi @javadrajabihakami. I imagine the data within the table comes from a JSON object. You should use neoPDF plugin and iterate all data in the JSON object with a LOOP. In each LOOP create a new PDF page and add your row data.
If you need a sample please upload a sample project first with prefilled data.

Regards.

javadrajabihakami has reacted to this post.
javadrajabihakami
Quote from luishp on April 15, 2021, 1:54 pm

Hi @javadrajabihakami. I imagine the data within the table comes from a JSON object. You should use neoPDF plugin and iterate all data in the JSON object with a LOOP. In each LOOP create a new PDF page and add your row data.
If you need a sample please upload a sample project first with prefilled data.

Regards.

Thank you for your response, dear friend ...! As an example of the existing contents of the table of this project, a PDF file should be prepared with the number of available rows of the table and in each page of the report, only the fields of one row of the table should be! thank you

Uploaded files:
  • You need to login to have access to uploads.

@javadrajabihakami your sample app dosen't work. Please add a simplified one with no database.
Thank you!

Quote from luishp on April 15, 2021, 4:11 pm

@javadrajabihakami your sample app dosen't work. Please add a simplified one with no database.
Thank you!

 

Uploaded files:
  • You need to login to have access to uploads.

@javadrajabihakami please take a look at the attached sample. Regards.

Uploaded files:
  • You need to login to have access to uploads.
javadrajabihakami has reacted to this post.
javadrajabihakami

Hello and good time dear friend ...! Thanks for your response! As always your work is so right! Thank you very much