Try this:
STATS like 'Open' and NAME not in ('Western','iDCD','Sweden','Shelter')
--
Andy Morsell, P.E.
Spatial Integrators, Inc.
http://www.SpatialGIS.com
wrote in message news:5640597@discussion.autodesk.com...
I have a question and I'm hoping other might be abe to answer. I'm using
Autodesk MapGuide Author 6.5 to create layers for a map. I currently use a
spatial file and then a relational one as a secondary table. I'm
encountering a problem with the SQL currently. It doesn't give an error
message, but it's not doing what I need it too. There is more than one
column I'm wanting the SQL to read and keep that data from appearing. If
the column is 1st column is "NAME" and the second "STATS" Shouldn't I be
able to say SQL
STATS = 'Open' AND NAME 'Western - iDCD- Sweden - Shelter'
Is not the correct symbol for doesn't equal or is that wrong? Cause what I
want it to do is only show me data where the stats column equal open and the
NAME column does not equal any of the listed 4? Thanks for any help? Both
column types are characters if that helps too!