Hi all, A quick question I have some code (below) which places all the currently opened tables names in a string separated by commas. What I want to be able to do is create a map using this string. Using the Map From Variable works when there is only one table open but when more than one is open it comes up with the error: Expression does not evaluate to a column or table name. If I issue Map from Tab1, Tab2, Tab3 from the MapBasic window it works. For i = 1 to NumTables() If i <> NumTables() Then Tabs = Tabs + TableInfo(i,TAB_INFO_NAME)+ ", " Else Tabs = Tabs + TableInfo(i,TAB_INFO_NAME) End If Next Map From Tabs It's probably something simple I'm missing. TIA for you help Scott [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ---------------------------------------------------------------------- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
