|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDataSet
The DataSet
object is a runtime data source that determines the set of data
that is displayed by a report. You can create a data set by adding tables,
as well as the rowset data that correspond to these tables, to the DataSet
object.
Once the data set has been created, you can add it to the report with the
DatabaseController
object’s
addDataSource
method, and set it with the setDataSource
method.
The setDataSource
method can also be used to replace one data set with another.
The only restriction is that the fields in the new data set match the fields originally
used to design the report.
If you create a report based on a data set, the data that is used is not saved with the report. To populate the report with data the next time you open it, you must either re-apply the data source to see current data, or access a saved version of the data source for preview.
Method Summary | |
---|---|
Rowsets |
getRowsets()
Gets the collection of rowsets corresponding to the data set tables. |
TableJoins |
getTableJoins()
|
Tables |
getTables()
Gets the collection of database tables that are used as the source of the data set. |
void |
setRowsets(Rowsets rowsets)
Sets the collection of rowsets corresponding to the data set tables. |
void |
setTableJoins(TableJoins tableJoins)
Sets the information about the linking between the tables in the data set. |
void |
setTables(Tables tables)
Sets the collection of database tables that are used as the source of the data set. |
Method Detail |
---|
Rowsets getRowsets()
Gets the collection of rowsets corresponding to the data set tables.
Rowsets
collectionTableJoins getTableJoins()
Tables getTables()
Gets the collection of database tables that are used as the source of the data set.
Tables
collectionvoid setRowsets(Rowsets rowsets)
Sets the collection of rowsets corresponding to the data set tables.
rowsets
- the Rowsets
collectionvoid setTableJoins(TableJoins tableJoins)
Sets the information about the linking between the tables in the data set.
tableJoins
- the TableJoins
collectionvoid setTables(Tables tables)
Sets the collection of database tables that are used as the source of the data set.
tables
- the Tables
collection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |