Dave,

        Two issues with that.  

1.      I am assuming that you put that expression into the auto-label area
as an expression.  That won't quite work because MapInfo will return the
result of that query (Which would be "T" for true) as a label.  What you
want is to only show labels for records that do not have unnamed in the
field NAME.
2.      The query you are using also will always return true.  The query you
want is  -  Left$(Name,7) <> "UNNAMED"


Try this:

        Make a selection on your table : Left$(Name,7) <> "UNNAMED"
        Save it as a new table - let's call it "Hydro_Labels"
        Add this new layer to your map 
        Label this new layer

Hope this is helpful.  Let me know if you need more clarification.

Good Luck,

Kevin Wright
ICF Consulting
Senior GIS Associate
9300 Lee Highway
Fairfax, Virginia  22031-1207
Voice:(703)218-2647
Fax:(703)934-3974
[EMAIL PROTECTED]


        -----Original Message-----
        From:   David Reid [SMTP:[EMAIL PROTECTED]]
        Sent:   Sunday, September 10, 2000 5:38 PM
        To:     MapInfo-L
        Subject:        MI  Label expression ?

        Greetings List

        I've been tring to create an expression that would label a streams
layer
        with only valid names ("Mapinfo Creek" "Mapbasic Pond" and not
"UNNAMED
        STREAM"  "UNNAMED POND" etc), using the following string:

        Name <> any("UNNAMED%")
        or
        Name <> "UNNAMED%"

        But the labels only produce "T" I assume for "True"

        What am I doing wrong?

        Thanks
        dave

        
----------------------------------------------------------------------
        To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and
put
        "unsubscribe MAPINFO-L" in the message body, or contact
[EMAIL PROTECTED]
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to