Design table with two datasets!
Dear Sir:
We want to design report like Attachments,
but cloumns and row are two different datasets,
how can to this ?
We want to design report like Attachments,
but cloumns and row are two different datasets,
how can to this ?
Comments
1) use Matrix object:
http://fast-report.com/documentation/UserM...trixreports.htm
also look at the "Matrix" category in Demo.exe
2) use Table object in its dynamic mode. You can read about it here:
http://fast-report.com/documentation/UserM...objectprint.htm
http://fast-report.com/documentation/UserM...ectexamples.htm
Some examples can be found in the "Table" category in Demo.exe.
I still can't work,
it will shutdown the program,
the follow code is my desgin report,
what's wrong with it?
private void Table4_ManualBuild(object sender, EventArgs e)
{
DataSourceBase rowData = Report.GetDataSource("Table2");
rowData.Init();
DataSourceBase colData = Report.GetDataSource("Table3");
colData.Init();
while (colData.HasMoreRows)
{
Table4.PrintColumn(0);
Table4.PrintRows();
colData.Next();
}
while (rowData.HasMoreRows)
{
Table4.PrintRow(0);
Table4.PrintColumns();
rowData.Next();
}
}
The codes can't be run in FastReport .NET,
So, how can we do for this repoert?
i had wait for a week,
this report is too hard to finish?
thank you.