Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
report form c:\simple\RESET.frm for VENDOR1 <> "EDISON" OR VENDOR1 <> "CAPITOL" OR VENDOR1 <> "EDISON" PREVIEW[\quote]
The problem lies in the OR operator because it will return .T. if any one of the expressions is true. If VENDOR1 is equal to "EDISON" then it's not equal to "CAPITOL" and the second part of your FOR clause will evaluate as .T. and the record will print.
Use AND like dbMark suggests.
Geoff Franklin
REPORT FORM c:\simple\RESET.frm ;
FOR !(ALLTRIM(VENDOR1) $ "EDISON,CAPITOL,EDISON") ;
PREVIEW
REPORT FORM c:\simple\RESET.frm ;
FOR !INLIST(ALLTRIM(VENDOR1),"EDISON","CAPITOL","EDISON") ;
PREVIEW
REPORT FORM c:\simple\RESET.frm ;
FOR !(","+ALLTRIM(VENDOR1)+"," $ ",EDISON,CAPITOL,EDISON,") ;
PREVIEW