There is a possibility to display datasets directly into a PDF? And how can I span the result into multiple pages?
I'm looking for a method like this
MyPage.Elements.Add(MyTable)
MyTable = MyTable.GetOverflowColumns()
but that works on datasets, too
I have a three-table dataset, and the only way i figured out to display it is to use 3 for loops and span my tables. And that's not an elegant solution
Thank in advance
Display datasets
Re: Display datasets
Support · Oct 21, 2008Hello,
Can you please give us little more details on what exactly you are trying to accomplish? Are you trying to create tables using data from the dataset? You can control the overflow of tables dynamically. You can refer to the TableReport example downloaded with the product that shows this.
Thanks,
ceTe Software Support Team
Re: Display datasets
Forum member · Oct 21, 2008I have a dataset compounded by three datatables, and I want to display them in a table view in PDF, in a hierarchycal way - each row with its subrows (each mid-level sub-row can have sub-rows, too)
So, a simple datatable is converted to a dynamicPDF table(with different methods), but how can I display this tree?
Thank You,
Sammy
Re: Display datasets
Support · Oct 22, 2008Hello Sammy,
Our Tables do not get the relations between the tables from the Dataset. However it will be possible to add the tables in your scenario.
You can add any page element to the cell of a table without any problem. So you can add a table also to another table's cell. You can add the sub rows as a table to the cell of the main row. You can refer to the help documentation on Adding Page Elements to Cells
topic.
You can do the above very easily by using the ReportWriter product also. You can add sub reports to the main report which can display the sub rows. In this you will have to make a layout of the report and pass the connection string and the query. Our product will only takes care of the overflow and page breaks.
Thanks,
ceTe Software Support Team.
Re: Display datasets
Forum member · Oct 22, 2008Thanks a lot