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



Mark

I have on occasion altered the object description programmatically to show
the dates; IIRC this is then print on the front page which in some
situations has been enough to satisfy requirements similar to yours.

Its not perfect but might be enough to do what you need without having to
change queries every month.

Regards
Evan Harris

>Thanks Buck, Vern, and Howard,
>
>I have the info I need to present to the functional lead here.  She will
>appreciate the info as she is the one who gets the pleasure of changing all
>these date headings each month.
>
>MarK A McCarty
>AS/400 Programmer/Developer
>Navy Exchange Service Command
>
>Thought to ponder -
>"... never kick a cow chip on a hot day!"
>Will Rogers
>
>
>
>
>
>                     vhamberg@attbi.com
>                     Sent
> by:                   To:     midrange-l@midrange.com
>                     midrange-l-admin@mi        cc:
>                     drange.com                 Subject:     RE: Send a
> parm to a query?
>
>
>                     08/05/2002 02:13 PM
>                     Please respond to
>                     midrange-l
>
>
>
>
>
>
>Not in Query/400, AFAIK. It's starting to look like you
>need QM queries and forms. With a QMQRY you could have
>the dates as substitution variables and add them to the
>SELECT statement, as literals. They don't need to be a
>part of the body of the report, but they can be included
>in the header or footer of a page. It's easiest if you
>have Query Manager, but you can also work with a raw
>QMFORM source - it's not the most fun but doable - or
>maybe it is fun <g>. Information in the Query management
>programming reference manual.
> >
> > Is there a way to pass a parm(date) to the query page heading when
>writing
> > a query to a spoolfile.  We have numerous queries that need to be date
> > corrected each month.   I know about the &date, but is the a way to print
> > 'start date - stop date'.   Any assistance would be greatly appreciated
> >
> > MarK A McCarty
> > AS/400 Programmer/Developer
> > Navy Exchange Service Command
> >



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.