Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi

Read-Only Read-Only Topic
Go
Search
Notify
Tools
WHERE clause synatx
 Login/Join
 
Silver Member
posted
HI,
I found this WHERE clause in e fex :
WHERE NOT (FIELDA EQ 'A' OR FIELDDB EQ 'Z');
Is it a valid clause ?
I don't find this in any documentation
Thank's


WebFocus thru Dev Studio version 7.6.11
Dev Studio on Windows Xp, Webfocus Client on UNIX basing on TOMCAT and DB2,
Reporting Server on MVS , USS and on UNIX
 
Posts: 39 | Location: France | Registered: December 10, 2007Report This Post
Platinum Member
posted Hide Post
it's valid.

TABLE FILE CAR
SUM SALES
BY COUNTRY
-*WHERE NOT (FIELDA EQ 'A' OR FIELDDB EQ 'Z');
WHERE NOT (COUNTRY EQ 'ENGLAND' OR COUNTRY EQ 'JAPAN');
END


WF 8 version 8.2.04. Windows.
In focus since 1990.
 
Posts: 189 | Location: pgh pa | Registered: October 06, 2004Report This Post
Virtuoso
posted Hide Post
quote:
WHERE NOT (FIELDA EQ 'A' OR FIELDDB EQ 'Z');

Sometimes negative logic works. In this case if it bothers you, I think

WHERE (FIELDA NE 'A') AND (FIELLB NE 'Z');

Would do the same, correct me if I'm wrong guys and gals.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders