Hi Chris, The problem is in the Commit Table line. You cannot specify a filename in the way you do it here. You have to enter the full path to the files location, that is either a UNC or a hard-/network drive. Like this: Commit Table x2010dm_TR_100plus As "D: \working\96-10dm\x2010dm_TR_100plus.TAB" If working is the name of a variable with a path, then this is the way: Commit Table x2010dm_TR_100plus As working + " \96-10dm\x2010dm_TR_100plus.TAB" Best regards, Peter **************************************************************************** Peter Moller [EMAIL PROTECTED] GIS-Developer Direct: +45 6313 5008 Kampsax Voice: +45 6313 5013 Rugaardsvej 55 Faximile: +45 6313 5090 DK 5000 Odense C Web: www.mapinfo.dk MapInfo Authorized Partner **************************************************************************** ------------------------------------------------------- Chris Martin wrote: I've got some code which takes in some data, does some calculations and then produces a host of other tables... e.g..... Select NISLID, R_FLOW, RDNAME, FLOW, FLOW / R_FLOW "Stress_All" from x2010dm_TR where Flow_Category = 3 into x2010dm_TR_100plus Commit Table x2010dm_TR_100plus As "working\96-10dm\x2010dm_TR_100plus.TAB" TYPE NATIVE Charset "WindowsLatin1" ---------------------------------------------------------------------- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]