Update TabName Set ColName = RowID
or something like

Regards
Steve Smith
Australian Bureau of Statistics (ABS)
Post: Locked Bag 10 Belconnen ACT 2616
Location: ABS House, 45 Benjamin Way, Belconnen ACT 2617
Geography / Spatial Data Management and Research
ABS Level 2 South 232 , Wk: (02) 6252-6824
wk email: steve...@abs.gov.au
Chris Buchanan ---11/09/2009 04:12:39 AM---I have a field that I would like to update with sequential series, starting at 1. Is there an easy
From: | Chris Buchanan <a07...@mun.ca> |
To: | MapInfo-L <mapi...@googlegroups.com> |
Date: | 11/09/2009 04:12 AM |
Subject: |
[MI-L] Update column with sequential numbers |
Sent by: | mapi...@googlegroups.com |
------------------------------------------------------------------------------------------------
Free publications and statistics available on www.abs.gov.au
You should be able to sort the table and update a column with RowID, and the number sequence will reflect the sorted order......
Select * from mytab into sorted_tab order by whatever,columns,you,like
Update sorted_Tab set seqID=rowid
Close table sorted_tab
Select * from mytab into sorted_tab order by SeqID ' should be in the same order as before
It's certainly worked for me. No need to save the sorted table.
HTH
Spencer
<br