<< Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : Script API > JavaScript > JavaScript API > Component > Band > DummyHeaderBand > Method >GetDataSetRowCount |
Gets the number of total rows of the given data set.
Prototype :
integer GetDataSetRowCount
(
string DataSetPath
)
Arguments :
DataSetPath |
DataSet Path in the form of "ODI name.dataset name" |
Reference :
When execute the function in a data band having group header/footer bands, group header/footer band, data header/footer band and dummy header/footer band added to data sub-band, if those functions use the dataset field of the band having dummy header/footer band, the return value will be different according to each band. To learn more, refer to description of GetDataSetCount of each band.
Example :
//ODI name : Sample, dataset name : Orders
_TraceLn(This.GetDataSetRowCount("Sample.Orders"));
Available Events :
OnBind, OnStartBind