Hi Richard,
It definitely could. It can also happen if one inserts a new record
without defining an object. This latter situation can be accomplished
with Ctrl-E from a browser window of the table, or from MapBasic.
One should be able to identify the offending records.
Try the following, perhaps working on a copy of your table for safety:
1. Add a character field to the table using Table>Maintenance>Table
Structure
2. Pack the table, unless you're sure it's packed.
3. Update the new field by going to Table>Update Column and updating
that field with a value of "str$(obj)" (just the stuff inside the
quotation marks rather than including the quotation marks).
When I created a test situation like this, all records with defined
objects had the object type (the output from str$(obj) ) listed in the
new field, and records without objects were left blank.
Cheers,
Eric Johnson
Earl, Richard wrote:
I think there must be some records that have no object... Most records
do, but just a few. Could this be the case?
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, 29 June 2006 9:34 am
To: Earl, Richard
Cc: [email protected]
Subject: Re: [MI-L] Weird Error Message...
I wonder if that record has no object attached to it.
Could this happen, for example, if one appended an unmapped table to a
mapped table, when both have identical field structure?
-- Eric Johnson
Earl, Richard wrote:
Hello there y'all,
When trying to update an Area column using Cartesian obj area Function
in the Table Update it seems to update every record, but comes up with
an error message
"1: Could not fetch object from the current row, argument
CartesianArea."
What the ' does this mean?
Cheers.
Richard.
CCC
NZ
**********************************************************************
This electronic email and any files transmitted with it are intended
solely for the use of the individual or entity to whom they are
addressed.
The views expressed in this message are those of the individual sender
and may not necessarily reflect the views of the Christchurch City
Council.
If you are not the correct recipient of this email please advise the
sender and delete.
Christchurch City Council
http://www.ccc.govt.nz
**********************************************************************
_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l
_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l