|
Cyndi, Use &col# to cause the value of a column to be placed on the page heading. This is from QM online help. Means your query needs to be something like this: select field1, field2, &datefrom, &dateTo from myfile where datefld between &datefrom and &dateto Then in your form, hide the resulting date columns and use &3 and &4 to get them onto the page header. HTH, Charles > -----Original Message----- > From: Cyndi Bradberry [mailto:CyndiB@xxxxxxxx] > Sent: Friday, June 11, 2004 3:38 PM > To: 'MIDRANGE-L@midrange. Com' (E-mail) > Subject: STRQMQRY variables > > > All, > I can create a QM Query with substitution variables, and > create a form that > prints it out very nicely. However, I would like to be able to put my > substitution variables on the header line of the form. > This query is called via a CL wrapper with a prompt screen for the > variables. I can't seem to find anything in InfoCenter so > RTM's need to be > specific. > Generally the variables are a date range and I would like to put the > selected range on the title of the report. > TIA, > Cyndi B. > Boise, ID > "The Idaho Housing and Finance Association provides funding > for affordable housing in Idaho communities. IHFA is not a state > agency under state law, and uses no state funds or state employees > to support its operations." > > > -- > 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 mailing list archive is Copyright 1997-2025 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.