Sub report is a technology, which is used to deal with some complex reports that can’t be achieved by basic models. In other words, you can design a relatively independent part of a report as a sub report, and add it to the main report.
For users' consideration of report’s neatness, it’s very important to align the gridlines of main report and sub report.
Then, is it easy? No.
For traditional reporting tools
, the report frame is built on some basic controls. As this type of reporting tools is not excel-like/grid-shaped construction, it is impossible to design accurate aligned gridlines.
For new grid-shaped reporting tools
, the report frame is formed by straight lines. As they have a real construction of the gridline, if they follow the method of the traditional-control reporting tools (it’s called embedded), unaligned gridlines will bring down the neatness and beauty of report, and even affect the reusing of the report. For example, report data with unaligned gridlines can’t be organized in the form of EXCEL or export to EXCEL.
In aligning gridlines, the biggest difficulty is how to align rows and columns between main report and sub report.
With the combination of cell expansion and sub report model, RAQ report
made the model of Imported Sub Report. With imported sub report you can align gridlines easily.
1. Design main report and sub report separately.
2. Import the sub report into the main report, and select the import type: Imported.
3. Browse and release it.
This post is from freezea's blog. You are welcomed cc it anywhere, and please indicate the source.
If you would like to read more articles about reporting tool, you are also welcome to refer to my blog