Hello Sebastian:
There is a way of using the MapBasic commands like ObjectInfo, which has
such an argument, objectinfo(obj,OBJ_INFO_NPOLYGONS) to return the number of
polys for a region. Use an update column statement with ObjectInfo(obj,21)
for a column, let's call it nPolys:
nPolys = objectinfo(obj,21)
21 is the value defined in the MapBasic.def, which returns
OBJ_INFO_NPOLYGONS. If you have a copy of MB, you can get the values from
the .def, and the syntax of commands like TableInfo, ObjectInfo, and
ColumnInfo from the .hlp. These might be on MapInfo's site, as well. I am
not sure if the .def or .hlp can be distributed to unlicensed users.
HTH
John Chioles
Network Operations
Metricom, http://www.metricom.com
office: 281-873-3443
mobile: 281-433-9325
-----Original Message-----
From: Sebastian Hudson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 02, 2000 7:28 AM
To: [EMAIL PROTECTED]
Subject: Re: MI Polygon Attributes
Andy,
Thanks for the reply. Hopefully this will clarify what I am after.
When double clicking on a region object it brings up a list of attributes
such as area. One of these is the number of polygons that make up the
object in question.
Is it possible to do a query in mapinfo on all the objects within a table
that will show how many polygons make up each object?
I have large number of such regions that need checking regularly and doing
it manually is time consuming and prone to error as some may be missed out.
Thanks....
Seb
For more information on ADAS, visit our website at
http://www.adas.co.uk.
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]