in reply to Re: Report Generator
in thread Report Generator

I want something like what they used to call a 'band report generator', ten years ago, where the output is formatted into horizontal bands. Crystal Reports probably does a whole lot more than that.

This is actually the frst thing I've needed that I couldn't find a close fit for, so I'm writing my first CPAN module to do this. I'm going to call it DBIx::Band::Report or Data::Report::Formatter or something like that.

Replies are listed 'Best First'.
Re: Re: Re: Report Generator
by dragonchild (Archbishop) on Jul 07, 2003 at 15:22 UTC
    I'm a little confused as to the problem here. Most templating systems have a looping construct. They also allow you to know whether you're in an odd or even row. Just vary the background depending on the row number's modulo 2. Or, would that not work?

    ------
    We are the carpenters and bricklayers of the Information Age.

    Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

    Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

      It's not the template part. It's the generating the data that you fill in the template with part that I want to abstract into some kind of class.