working on a design for a report that is supposed to print a document per client with a block of standard information such as name, address etc and then blocks of additional information most of them in tables such as emergency contacts and other information
one question is regarding the report containers and tables for the contacts. i want contacts to print in a list that expands to show all contacts. i dont want another page to print with the same information and more of the contacts. i also have multiple list like this with different tables.
To implement your requirement you can use the “Expandable Region” property. Please make sure to use the contacts table as a child in a 1:n relation to your client data.
For further illustration plese see the attached sample project for our demo application.
You can open the sample project with the help of our demo application “DemoApplication27.exe”, via “Reports” (you may have to rename the file extension to *.srt, if you are using the demo in english).
the data model is a class called FaceSheetModel that has a property called Client (type Contact) with all the client data. it also has a property called Contacts that is a List of Contact type objects
the data model can be changed of course to make this work.
looking at the expandable region property it was disabled.
what i would need is for all the tables to expand. Also not sure how that would then go across multiple pages.
In this example, we have attached the sub-table “Orders” twice to a “Customers” table. In the sub-tables, different fields are displayed independently of each other.
one issue i am running into is that if one of the tables has more records it prints another page with all the tables on the second page some of course empty
what i would like is for one of the tables to simply print all the rows until finished possibly going to the next page and then start printing the next table.