On 16 May 2012 08:44, Emily Smith wrote:
I'm currently working on a QMQRY and corresponding form. On my form,
I have defined a header that contains all of the usual information
(Title, Date and Time, Page number). I have nothing defined as a
page footer. However, when I run the query and generate the report,
the date, time, and page number appear at the bottom of each page.
Is there a way to get rid of this?

I do not think the issue is the QMFORM, neither the FINAL TEXT nor the PAGE footing text. Rather, that the issue is the PRINT REPORT options which include the specification of the FORM itself; i.e. FORM=form-name DATETIME=YES|NO PAGENO=YES|NO. These parameters are all manifest on the STRQMQRY command as parameters QMFORM() DATETIME() PAGNBR(). Presumably all you need to do is explicitly specify these two additional print-report options, beyond the form-name, because they both default to YES; e.g.:

STRQMQRY QMQRY(qry-name) OUTPUT(*PRINT) QMFORM(form-name) DATETIME(*NO) PAGNBR(*NO)

Regards, Chuck

This thread ...


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

This mailing list archive is Copyright 1997-2019 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].