Can anyone tell me why this is happening?
I've a where statement that evaluates to the following: WHERE FIELD EQ '(anytexthere)'
and every row is returned from my table. It does not matter if there is text between the ()'s or not. The fact that there is an open and close appears to cause the all rows returned situation.
See the sample CAR table code below.
SAMPLE CODE:
TABLE FILE CAR
PRINT COUNTRY CAR MODEL
WHERE COUNTRY EQ '(ENGLAND)'
END
-*******************
RESULTS:
COUNTRY CAR MODEL
ENGLAND JAGUAR V12XKE AUTO
ENGLAND JAGUAR XJ12L AUTO
ENGLAND JENSEN INTERCEPTOR III
ENGLAND TRIUMPH TR7
JAPAN DATSUN B210 2 DOOR AUTO
JAPAN TOYOTA COROLLA 4 DOOR DIX AUTO
ITALY ALFA ROMEO 2000 4 DOOR BERLINA
ITALY ALFA ROMEO 2000 GT VELOCE
ITALY ALFA ROMEO 2000 SPIDER VELOCE
ITALY MASERATI DORA 2 DOOR
W GERMANY AUDI 100 LS 2 DOOR AUTO
W GERMANY BMW 2002 2 DOOR
W GERMANY BMW 2002 2 DOOR AUTO
W GERMANY BMW 3.0 SI 4 DOOR
W GERMANY BMW 3.0 SI 4 DOOR AUTO
W GERMANY BMW 530I 4 DOOR
W GERMANY BMW 530I 4 DOOR AUTO
FRANCE PEUGEOT 504 4 DOOR
Why are all the rows returned?
Laure
Prod: WebFOCUS 7.7.03 - MRE, BID, - WindowsXP - Oracle 9i, SQLServer, DevStudio 7.7.3 - Apache Tomcat , Output: HTML, Excel 2013 and PDF