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