I’m using QuickReport 5 in Delphi 2007.
I want to make a grid layout on A4 paper like so:
+-----+-----+-----+
| 1 | 2 | 3 |
+-----+-----+-----+
| 4 | 5 | 6 |
...
| 22 | 23 | 24 |
+-----+-----+-----+
I only have detail bands, I need this to print address stickers in a Delphi application, with a different address on each sticker.
How do I do this in QuickReport?
You can set columns in your Quickreport.
Double click on the Quickreport and set the columns to 3.
This will set the columns like so:
If you want the columns to run like in your question you need to do some creative sorting in the query that feeds the report.
Order by rank div 24, if(rank mod 8 = 0,8,rank mod 8), rankThis will make things come out with 1,2,3 in the first row and 456 in the seconds etc.