> [mailto:[EMAIL PROTECTED]]On Behalf Of Mats Elfstr�m
> Sent: May 31, 1999 4:35 PM
> To: Brian Gallant
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: MI Selecting Complex Objects Only
> Brian Gallant wrote:
> > Is there a way to select regions only if they are complex objects.
> By 'complex' I assume you mean 'multiple objects' for instance islands
> in a lake belongin to the same property.
>
> Well , ObjectInfo(obj,21) will return the number of polygons so I tried
> Select * from world where objectinfo(obj,21) > 1 into Selection
> got a datatype mismatch. Using Val.. did not help.
You were close Matts, it is simply
...where str$(objectinfo(obj,21))>"1"
str$() seems to be the only way to compare the results from "multiple format
amswer" functions.
Jacques Paris
============================================================
e-mail [EMAIL PROTECTED]
alternate [EMAIL PROTECTED]
gis activity (MapInfo mainly)
http://www.total.net/~rparis/gisproducts.htm
============================================================
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]