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



Dean Booth wrote:
 
> I don't know about backwards, but the fact that 
> we need these clever workarounds in order to 
> do conditional defines is absurd.  My vote for 
> the most clever goes to the person using data 
> as a parameter in the substr command.

Every tool has limitations - if you need to make decisions about your data,
Query is not the best thing to be using.  Why not try an HLL?  Using RPG,
this report could be whipped out in under 5 minutes.  Adding an OPNQRYF
front end would add another 5.  

I really liked seeing the various solutions that folks came up with
(including the "zipneg" idea) but only for curiosity value.  If this is
supposed to be used by an end-user (non-programmer) to create reports, you
(the programmer) will have to either take the time to teach the secret or do
it yourself.  Either way, I can hardly believe that the end result is faster
or easier to maintain than an HLL solution.  Just wait six months when the
end user shows you a report with no headings and asks YOU to re-create it
for them because they don't know where it came from but they really need a
new one now.

Buck Calabro
Aptis; Albany, NY
"We are what we repeatedly do.
 Excellence, then, is not an act, but a habit." --Aristotle


Billing Concepts Corp., a NASDAQ Listed Company, Symbol: BILL
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.