|
No. However SQL does this quite well with it's CASE statement. Send me a printout of your query definition and I'll whip up a query mgt query you can run on your system today. (Regardless of your software base). Rob Berendt -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin pedro.reis@valeo.com Sent by: midrange-l-bounces@midrange.com 01/20/2003 10:30 AM Please respond to Midrange Systems Technical Discussion To: midrange-l@midrange.com cc: Fax to: 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 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.