Andrew - Your statement might be updating the whole table each time (hard to tell from the code snippet) - I would suggest you do a select using the rowid into a named table (use noselect to speed it up), update your named selection with your x,y (where do they come from?) and then loop to the next one.
If its a big table then fastedit on/off will help too HTH Paul Crisp Syntegra Innovation Place Delta Bank Road Newcastle NE11 9DJ Tel 0191 461 4522 Fax 0191 460 1987 -----Original Message----- From: Andrew Newman [mailto:[EMAIL PROTECTED] Sent: 20 January 2004 10:34 To: [EMAIL PROTECTED] Subject: MI-L disappearing points Hello listers, I have a rather random problem that I need some help/advise on. I am currently using the following command in MapBasic to create points for exisiting records, the table is mapable but does not have any objects. Update grtab Set obj = CreatePoint(x,y) Where RowID = i (Where i is a integer populated in a for loop) The command seems to work but when I pack the table I am left with just 1 point relating to the last record in the table and lots of other record with no point data. Also when I Mif the table all the poins disappear! There are also labelling issues with the table Can anyone help! Thanks Andrew --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 9998 ******************************************************************** This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to any other person Thank you Check us out at http://www.syntegra.com ********************************************************************
