I need to dynamically create a report that could have any number of columns. So my question is, how can I create a report that is more than one page wide?
The example I gave is pre-coded to show the concept, but it would definitely be possible to make this dynamic. The difference would be that you would be creating the columns (DBTexts) headers (Labels) and subreports in code based on the number you need printed.
Comments
Take a look at the following article and example on creating a
spreadsheet style report.
http://www.digital-metaphors.com/rbWiki/Delphi_Code/Layouts/How_To...Create_a_Spread_Sheet_Style_Report
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks Nico but I can't really use that as I don't know how many
columns there will be. Your article has the columns pre-coded.
Ken
The example I gave is pre-coded to show the concept, but it would
definitely be possible to make this dynamic. The difference would be
that you would be creating the columns (DBTexts) headers (Labels) and
subreports in code based on the number you need printed.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com