HI Dave,

would this help



                 Fetch first from yourtable
                Do while not eot( yourtable)
                        Update yourtable Set yourcol = 
objectinfo(yourtable.obj, OBJ_INFO_NPNTS)                        
             Fetch next from yourtable
                    loop 



-----Original Message-----
From: David Reid [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 15, 2005 12:39 PM
To: 'MapInfo-L'
Subject: MI-L Collection or Segmented lines identify and update column for


Greetings List,

2 part ques.

Is there a function (syntax) that would select a collection or segmented
polylines?

Is there syntax to use that would update a column with the number of
segments contained in that polyline?

It would appear OBJ_INFO_something would be the approach here, but I haven't
found anthing to identify "collections" of objects.

FWIW, I maintain two arbitrary columns in my table for such temporary update
work, one formated as character (tmpchar) one formated as integer (tmpint),
which I could use for the update information.

Thanks,
David Reid

-- 
Outgoing mail is certified Virus Free
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.3/15 - Release Date: 06/14/2005
 


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 16812



---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 16814

Reply via email to