Seb,
Here's the syntax for your query:
Select ObjectInfo(obj, 21) From MyTable
(21 is the MapBasic constant OBJ_INFO_NPOLYGONS which returns the number of polygons
in a region object(
Hope this helps,
Gary.
Sebastian Hudson wrote:
> 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.
>
> The information transmitted is intended only for the addressee and
> may contain confidential and/or privileged material.
> Any use of, or taking of any action in reliance upon, this information
> by parties other than the intended recipient is prohibited.
> If you receive this in error, please contact the sender and delete the
> material from any computer.
> Opinions and other information in this message that do not relate to
> the official business of ADAS are neither given nor endorsed by it.
> ----------------------------------------------------------------------
> 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]