How do I print dates in range selection on headings?

35 pts.
Tags:
AS/400 printing
Query/400
Have query setup for user to enter selection date range when running query...how do I print the date range selected by the user on the headings?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

Under “select output type and form” is the option “Print definition” if you set this on Y then you will get a print of the query definition. You can also specify this on the RUNQRY command – PRTDFN(*YES).

This will show the record selections, but unfortunately prints the rest of the query definition as well.

Regards,

Martin Gilbert.

Thanks Martin….but what I am trying to accomplish is to take the date range keyed by user in record selection and have them print in the output headings.

Hi,

The print query definition will show what the user has keyed in, but it prints a lot of other things which you probably don’t want. I don’t think there’s any other way of showing the keyed in selection from query. You may be able to do this using QM query’s, but that’s something I’m not sure of.

Regards,

Martin Gilbert.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following