|
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 > _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. ***************************defiant************************************ This email and any files transmitted with it are intended solely for the use of the individual or agency to whom they are addressed. If you have received this email in error please notify the Navy Exchange Service Command e-mail administrator. This footnote also confirms that this email message has been scanned for the presence of computer viruses. messaging_support_team@nexnet.navy.mil **********************************************************************
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.