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



Vern -
Correct, but the overridden Print Text will print at the /bottom/ of the QM
Query report...
- sjl


"Vern Hamberg" <vhamberg@xxxxxxxxxxx> wrote in message
news:mailman.4297.1264207340.2580.midrange-l@xxxxxxxxxxxxxxx
Yes, but Dean wants a dynamic layout, the same as the default but with
his own report heading.

I don't think this can be done - too bad.

You might try saying *YES to date/time and page numbers, which go on the
bottom of the page. And for some report description, use the print text
parameter of OVRPRTF QPQXPRTF

HTH
Vern

Carel Teijgeler wrote:
Dean,

STRQM option 1
Edit a query
Press F13 and you can edit your FORM

You can add variables in your heading by referencing the number of the
column in the result set. (so it should be in the SELECT)

Thus "Client: &6" refers to the sixth column in the result set.

You can leave the same column out of the result set by selecting the first
option and use the option OMIT.

This was a quick "101"

With regards,
Carel Teijgeler


*********** REPLY SEPARATOR ***********

On 22-1-2010 at 16:49 Dean.Eshleman@xxxxxxxxxxxxxx wrote:


Hi,

We have an interactive SQL command that utilizes a query management query

to execute the SQL statement. When we specify *PRINT as our output, I

would like to be able to specify a report heading. I assume this would

require using a query management report form. Our SQL command allows you

to specify the form to use. Normally, we use the *SYSDFT value.
According

to the help on STRQMQRY this means it creates a form on the fly and uses

that. Does anyone know how to define a form where the heading would be a

variable and the columns would be determined at runtime? Do I need to

figure out how to create the form on the fly myself? I have looked at
the



Query Management Programming manual, it isn't apparent to me what I need
to do. TIA

Dean Eshleman,
MMA, Inc.

______________________________________________________________________
Confidentiality Notice: This information is intended only for the
individual or entity named. If you are not the intended recipient, do not
use or disclose this information. If you received this e-mail in error,
please delete or otherwise destroy it and contact us at (800) 348-7468 so
we can take steps to avoid such transmissions errors in the future. Thank
you.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing

list

To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.







As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.