O'Reilly logo

Google Web Toolkit 2 Application Development Cookbook by Shamsuddin Ahammad

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding a subreport

In the previous report, we have shown the sales number, sales date, sales desk number, ID, and name, of both the employee and the customer. Now, we want to show the sales details (product ID, name, quantity, and price) at the bottom of the reports. For this, we have to create another report showing the sales details, and we want to see the output of that report at the bottom of the sales data shown in the report prepared in the previous recipe. To show the output of a report inside another report, a subreport is used.

A subreport is an entire report which is placed in another report. If you have one item that is linked to several items in another table, such as a sales report containing sales details, then a subreport is what ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required