Sorry, that should have been: Dim lnRowID as INTEGER
Fetch First From MyTable Do while not EOT( MyTable) lnRowID = RowID Update MyTable set IDColName = lnRowID where RowID = lnRowID Fetch Next From MyTable Loop ...although it would have worked the same anyway. Just that lnID was totally superfluous. 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 Important Notice This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. The content of this e-mail is the personal view of the sender and does not represent the advice, views of opinion of RPS Group Ltd or any of its subsidiaries, Accordingly, RPS Group Ltd. disclaims all responsibility and accepts no liability, including in negligence, for the consequences of any actions taken, or not taken, on such information prior to the receipt of subsequent written confirmation. RPS Group Ltd disclaims all responsibility and accepts no liability for any e-mails or their attachments which are defamatory, offensive, racist or which in any other way are in breach of an individual's rights, including breach of confidence, privacy or other rights. If you have received this email in error please notify RPS Group Ltd at [EMAIL PROTECTED], This footnote also confirms that this e-mail message has been checked for the presence of computer viruses. --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 12514
