× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Given what Nathan has provided I would love to see how a non-esoteric
language/platform that lives in the young-programming-language-home can
provide the same simplicity. Dave, you up for it?

I don't doubt that it can be done, but I think you will come to realize the
a bird can be killed with both a nuclear weapon and a reliable slingshot.

In the end it is all about meeting a business need while understanding your
companies investment in technologies. For instance, you being a .NET minded
individual (with probably many other .NET programmers in your shop) it
probably wouldn't make sense for you to take the approach Nathan has because
it would be constant friction to maintain an RPG HTML/PDF report regardless
of how simple it was because it would take the .NET programmer out of their
prime and most efficient environment. You need to understand the same is
true for an RPG shop when being presented with .NET as THEE solution to move
forward with. The fact of the matter is that if an RPG shop is in tune with
technology (as Nathan is) then it can be realized there is very little RPG
can't do.

Do you agree with that last paragraph Dave?

Aaron Bartell
http://mowyourlawn.com

On Mon, May 19, 2008 at 11:08 PM, Nathan Andelin <nandelin@xxxxxxxxxxxx>
wrote:

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 thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.