Carolyn,
The table probably contains row(s) which have no geographical object. Try:
(In the MapBasic Window:)
Select * from SomeTab where obj into qGoodOnes
Perform the Update on qGoodOnes.
To isolate the other records, use:
Select * from SomeTab where obj into qGoodOnes
These can be done from the Select/SQL dialogs too.
Sam Kome
Sage Software, Inc
www.sagesoft.com
[EMAIL PROTECTED]
-----Original Message-----
From: Carolyn Davies <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, September 17, 1999 7:30 AM
Subject: MI centroid trouble
Hi,
I'm having trouble updating my table so as it contains the centroid
values for my map. I've carried out this procedure before and not
had any problems. I'm adding 2 new fields and then updating these
columns to contain the x and y centroids for each object. It returns
the message;
'CentoidX: Could not fetch object from the current row, argument 1.'
I would be grateful if anyone let me know what this means and how
to get around it.
Thanks
Carolyn
----------------------------------------------------------------------
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]