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



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

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.