Hello Mark,
Label expressions are very flexible. You can express static text (such as
your comma) simply in double quotes and use + to join up the parts of a
complete expression.
FirstField+","+chr$(10)+SecondField+","+chr$(10)+ThirdField
Regards,
Warren Vick
Europa Technologies Ltd.
http://www
From: Dr. Franz-Josef Behr [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 22 September 2001 01:07
To: MapInfo-L
Subject: Re: MI-L Label Expressions
One additional possibility:
For labeling only if an attribute matches e x a c t l y some text,
use:
Left$(ColumnX,(1-Abs(StringCompare(Str$(Colu
One additional possibility:
For labeling only if an attribute matches e x a c t l y some text,
use:
Left$(ColumnX,(1-Abs(StringCompare(Str$(ColumnY), "criteria"")))*254)
See the mail from Dmitry Bogdanov,
http://testdrive.mapinfo.com/tdc/mapinfo-l.nsf/1fcc8c6e8c3268b88525644200498df0/7f7df8bd
G'day Steve,
Here is a solution for a simple comparison, eg if column = "Some Value" then
draw a label.
Left$(ColumnX,(InStr(1,ColumnY,"Criteria")*255))
ColumnX is the column containing the labels.
ColumnY is the column containing the criteria for labeling
The InStr$() function will return 0 i
The "best" work around for a "conditional label" I found is to "label the
condition" i.e. make a selection for a condition and label it accordingly.
"Best" is relative to zero and is not much better but it is a possibility.
One way is to use the labeler tool for each condition. The drawbacks are
L" <[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 4:06 PM
Subject: Re: MI-L Label Expressions
> Sadly, no. At least that is what I was told by MI tech support about 6
months
> ago. No such thing as a conditional label.
>
> Cameron
>
> Steve Carlsson wrote:
>
If only they would implement an inline if statement. I'm sure that this
has been asked for before (around version 5.0?) but the response was
just a snippet of code. Great if you are creating a MBX, not so great
if you just want to do something within MIPro without writing code.
As far as doing
Sadly, no. At least that is what I was told by MI tech support about 6 months
ago. No such thing as a conditional label.
Cameron
Steve Carlsson wrote:
> Hi Listers
>
> Is it possible to use an If Then statement in labelling.
>
> Obviously we can use an expression to label with more than one col
Hello,
the nesting might get deep here but it
works
use Format$ with which will not display
0'x
FORMAT$( MINIMUM( FromLeft, FromRight ) , "##"
)
but what happens when the street is drawn backward
to the addressing
FORMAT$( minimum( mininum(FromLeft,ToLeft) ,
minimum(FromRIg
You need more + signs and spaces inside the quotes.
High_school + ": " + Reading + ", " + Math + ", " + Language
Will Mitchell
Mitchell Geographics, Inc.
496 Congress Street
Portland, ME 04101
www.mitchellgeo.com
ph 207.879.7769
fx 207.253.5756
-Original Message-
From: [EMAIL PROTECTED
I think there should be a + between each component of the expression, ie.:
High_school + ":" + Reading + "," + Math + "," + Language
_
Peter Walsh
Senior Environmental Planner
URS Australia Pty Ltd
Phone : (02) 8925 5500 Fax : (02) 8925
This e-mail togeth
Original Message-
From: Stephen White
Sent: Thursday, January 11, 2001 12:12 PM
To: 'Kaiser, Amy, SSA'; '[EMAIL PROTECTED]'
Subject: RE: MI-L label expressions
Amy,
you are missing a + sign after High_School
>>High_school ":" + Readin
Amy,
you are missing a + sign after High_School
>>High_school ":" + Reading "," + Math "," + Language
Should read
High_school + ":" + Reading "," + Math "," + Language
Steve
-Original Message-
From: Kaiser, Amy, SSA [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 1
13 matches
Mail list logo