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


  • Subject: Re: MIDRANGE-L Digest V2 #212
  • From: Glenn Gundermann <ggundermann@xxxxxxx>
  • Date: Tue, 21 Apr 1998 14:49:51 -0700
  • Organization: Ronald A. Chisholm Limited

Bill,

I am trying to figure this out but I don't know how you are proposing to
create the one field and put the query selection in it.

for example, suppose a command prompts the user for a range of years to
report on and the cpp is a cl program which does an opnqryf with
qryslt(&qryslt) where &qryslt was built concatenating the values etc. 
Then a cpyfrmqryf from db-file to qtemp/db-file and then runqry
query-name file(qtemp/db-file).

In this instance, can you create a new field on the fly?

Glenn Gundermann

Bill Robins wrote:
> James,
> 
> Two options,
> 1.    On the Printer options screens there is an option to print the Query 
>Definition
> when the Query runs.  This might be more than what you are looking for, but 
>it is the
> most exact.
> 2.    Create a character field and put the selection criteria in this field.  
>Select
> it under Select Fields. Under Formatting Options put *none in the field 
>header section
> and a length of zero.  Then, on one of the Report Breaks screens you will see 
>an
> underscored line.  Here you will put the name of the character field you 
>created
> earlier prepended by an ampersand.  ex: &qryslt       (The *none is necessary 
>to keep
> Query from creating its own heading).
> 
> Bill
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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.