|
Dave Odom wrote:
RPG has it's place in the old programming languages home.
Move away from the albatross that makes the platform so
"out there" when compared to other platforms.
I'm just starting to test RPG to generate HTML and PDF stream files, but
I'll share a prototype with you. I agree that RPG is geared toward
programmers and production applications, but I think that if you give
power users a set of HTML templates and RPG report templates which they
can modify and some training, this type of reporting is within their
reach. I speak from experience. I was a power user who learned how to
write reports early in my career.
If you view the source for the HTML template you can see how it's
divided into multiple record formats (REPORT_TOP, PAGE_HEAD, TYPE_HEAD,
CODE_DETL, and REPORT_END), comparable to a multi-band structure that
one might design with Crystal Reports:
http://www.radile.com/rdweb/apps/reports/xcd500/xcd500.html
If you do a print preview on the report you can see the page breaks:
http://www.radile.com/rdweb/apps/reports/xcd500/report.html
And the RPG code could be copied and adapted to other data files:
http://www.radile.com/rdweb/apps/reports/xcd500/xcd500.txt
Nathan.
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.