Row count on the Report title band
serifelsen
Unknown
I have report title child band to show the short description about a report like date, number of pages, number of records and so on.
"AbsRow#" works perfect on the Data band but I want to print total number of record on the title band.
How can I do that?
Thanks in advance
"AbsRow#" works perfect on the Data band but I want to print total number of record on the title band.
How can I do that?
Thanks in advance
Comments
see the main demo totals in header report for hoe to do it.
sorry i didn't get your idea. can you explain it in an other way?
printing the group's sum total in the groups header.
use the same principle
Thanks gordk.
Solution is:
private void Child1_BeforePrint(object sender, EventArgs e)
{
// Get data source
DataSourceBase ds = Report.GetDataSource("queryName");
// initialize it
ds.Init();
// Get row count
txtRowCount.Text = ds.RowCount.ToString();
}
particularly if dataset rowheight is stretching