-
Book Overview & Buying
-
Table Of Contents
Google Web Toolkit 2 Application Development Cookbook
By :
In the previous recipe, we created a report which shows all the sales record, but mostly we need to show only a particular sales record. For this reason, we need to filter the data. Generally, to filter SQL data, we write a WHERE clause in the SQL command. To filter the data here, we need to pass a value to the report. Thus, the data depending on the passed value will be shown. In most cases, the value of a primary key is passed to the report through a parameter.
Parameters are a type of report objects used just to pass data to the report engine. The data may be passed from another report or from any program, or directly from the user. That passed data is then used for filling the report dynamically. Actually, parameters act like dynamic filters in the query that supplies data for the report.
Create the report as shown in the previous recipe.
Click on the Report Inspector tab on the left-hand side of the Report designer tab.
Right...
Change the font size
Change margin width
Change background colour