>Scan For Alltrim(crimetype) <> "B&E Cabin" OR Alltrim(crimetype) <> "B&E Home" ; OR Alltrim(crimetype) <> "B&E Business" OR Alltrim(crimetype) <> "B&E Garage" > ShapeID = localcrime1.shapename > Thisform.RemoveObject(ShapeID) >Endscan >Grady,
c = "hello" if m.c <> 'hello' or m.c <> 'there' && .F. or .T. result .T. if m.c <> 'there' or m.c <> 'hello' && .T. or .F. result .T., shortcuts in first .T.I think you meant AND instead.
c = "hello" if !(m.c <> 'hello' or m.c <> 'there') && !(.F. or .T.) result .F. if !(m.c <> 'there' or m.c <> 'hello') && !(.T. or .F.) result .F., shortcuts in first .T.it gets more and more ugly as your checklist have more elements. One way is to use inlist(), however that too is limited (25 according to documentation). Also there would be casing issue with that. Another approach would be using ascan(). ie:
ALINES(aExclude,"B&E Cabin,B&E Home,B&E Business,B&E Garage",1,',') scan for ascan(aExclude,alltrim(crimetype),1,-1,1,7)=0 *... endscanCetin