Paul

I don't know about an internal "Mapinfo ID" but, if you mean the row ID
of each record then, to do this via MapBasic, something like:

Dim lnID, lnRowID as INTEGER

lnID = 1
Fetch First From MyTable
Do while not EOT( MyTable)
  lnRowID       = RowID
  Update MyTable set IDColName = lnID where RowID = lnRowID
  lnID  = lnID + 1
  Fetch Next From MyTable 
Loop

HTH

Terry McDonnell

-----Original Message-----


Hello there,

I'm not the best GIS person in the world by any means, and I'm looking
for
some help.

I have a table of points and I would like to update one of the columns
with
the table's internal Mapinfo ID.  How do I do this?

Any help you could give would be greatly appreciated.
All the best,
Paul.




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

Reply via email to