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



I agree with Peter........you would need to create two queries.
In another posted reply you said that you would need to have these to
combined.  You could still run two queries, each of the results to an
outfile and then copy these to files in one file and run a query or report
of this new file.
NOTE: YOU WOULD NEED TO BE SURE THAT THE TWO OUTFILES YOU CREATED HAVE THE
SAME FIELDS AND SIZES IN ORDER FOR YOU TO COPY THEM INTO ONE FILE.

Does this make sense?

Jim


-----Original Message-----
From: pedro.reis@valeo.com [mailto:pedro.reis@valeo.com]
Sent: Monday, January 20, 2003 9:30 AM
To: midrange-l@midrange.com
Subject: Query400 question


Hi,

It is possible to define conditions to use on variables defined in a query
?

IF  xpto='EXW'
var1 = value*0,3
else
var1 = value*0,4

var1 is a variable define on the query (definition of a result field)




Cordialement,
Best regards,
-------------------------------------------------------------------
Pedro Reis
Information System
e-mail: pedro.reis@valeo.com
Phone: 351-258 350 725
Fax: 351-258 350060
--------------------------------------------------------------------
VALEO - Electronics & Connective Systems
Viana do Castelo - Portugal
--------------------------------------------------------------------

"This e-mail message is intended only for the use of the named
recipient(s).
The information contained therein may be confidential or privileged, and
its
disclosure or reproduction is strictly prohibited. If you are not the named
recipient, please return it immediately to its sender at the above address
and destroy it."


_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo.cgi/midrange-l
or email: MIDRANGE-L-request@midrange.com
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 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.