How To…Align the Group Footer for Every Column


“How do I line up the group footer bands when using multiple columns and the amount of records in each group is different?”


This can be done by copying the draw commands in the existing group footers then moving them to the proper position on the page lined up with the lowest group footer.  Use the OnDrawCommandCreate event of the components inside the group footer to save them for each column.  Then use the OnEndPage event of the report to line the components up with eachother.


Sample Delphi code: