|
-- Marco, If you can run STRQM, you can edit both query and form. To use variables in the form they should be part of the result set in the query. If those data should not be shown in the details define them as OMIT in the form. You can put data in headers and footers using &n where n is the fieldnumber within the result set. system varibles are &PAGE and &DATE. Hope this helps. Regards, Carel Teijgeler. >Hi, I need suggestions about STRQMQRY. > >I'm used to make fast printouts with QMQRY creating a >member containing the sql code (&SQL) and one containing >the form formatting code (&FORM). The output is not the >best but it's ok. How can I include my parameters (&D2 &D3) >in the page heading? > >Example of the query: > > STRQMQRY QMQRY(&SQL) OUTPUT(*PRINT) + > QMFORM(&FORM) SETVAR((DATAA &D2) (DATAF &D3)) > --
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.