Demonstrates how to print multiple Table rows and columns with a script. To do this:

- select the Table object;

- go to the "Properties" window and click the "Events" button to view list of available events;

- doubleclick the "ManualBuild" event;

- you will see an empty event handler. You need to print rows using TableObject.PrintRow method; in each row, you must also print all columns (using PrintColumns method). See the script's code for more details.

When you run a report, the Table will repeat its rows and columns and fill them with data. Note that cell spans are handled automatically.

 
 
Year
Year
Total
Month
Month
Total
Month
Month
Month
Total
Employee
0
0
0
0
0
0
0
0
Employee
0
0
0
0
0
0
0
0
Employee
0
0
0
0
0
0
0
0
Employee
0
0
0
0
0
0
0
0
Total
0
0
0
0
0
0
0
0
 
Generated by FastReport .NET