Accessing Data : Specifying the data to retrieve at run time
 
Specifying the data to retrieve at run time
In all the procedures for retrieving the different types of data, described previously, the data you select is hard-coded at design time. Some reports, however, require the ability to display a different set of data based on run time criteria, such as user login or the data source that a report user selects.
As you may recall from the previous chapter, the data source editor provides a feature called property binding to support the setting of connection properties at run time. Similarly, the data set editor provides the property binding feature to support the selection of data at run time.
Figure 4‑87 shows the Property Binding page for a JDBC data set. The Query Text property is where you specify an expression that determines at run time what data to select. The Query Text property is also available to the flat file and web services data set.
Figure 4‑87 Property Binding page for a JDBC data set