Nick, Make sure your table (MyTable) has at least five columns set up like:
RowID, X1, Y1, X2, Y2 Then in your MapBasic window set the coordinate system, I use British National Grid so I enter: set coordsys earth projection 8, 79, "m", -2, 49, 0.9996012717, 400000, -100000 Then Type: Update MyTable set obj = CreatLine(X1, Y1, X2, Y2) That should create lines (obj) joining X1Y1 (start point) to X2Y2 (end point). Hope that helps. Rgds, Dave ---------------------------------------------- David A. Eagle GIS Consultant Atkins Design Environment & Engineering Cornerstone House Stafford Park 13, Telford Shropshire, TF3 3AZ England Tel: +44 (0)1952 21 3268 * Fax: +44 (0)1952 20 0981 * Email: [EMAIL PROTECTED] * Web: www.atkinsglobal.com * -----Original Message----- From: Bean, Nick (N) [mailto:[EMAIL PROTECTED]] Sent: 13 September 2002 13:18 To: 'MI-L' Subject: MI-L table of points All, I have a text table which contains the X1Y1 and X2Y2 of lines so I can create a map with points what I want is a piece of code which will connect the start finish nodes of a line. I have a around 3000 lines which need running Cheers Nick --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 3027 This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding. --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 3028