You could use: Dim sTab As String
sTab = TableInfo (0, TAB_INFO_NAME) Map From sTab The table id of zero means "use the most recently opened table." "Hogendorf, Richard" wrote: > > Hello, > > I have a question regarding spaces in a table name. MapIndo automatically > puts underscores at the position of a space, like this: > > Open Table "C:\WINNT\Profiles\id002273\Desktop\Drivetest\BERKEL EN > RODENRIJS_20021016.TAB" Interactive > Map From BERKEL_EN_RODENRIJS_20021016 > > How can I get the same thing in mapbasic when I'm using a function like > this: > > Open table > "C:\WINNT\Profiles\id002273\Desktop\Drivetest\"+Maptitle+"_"+curdate() > Interactive > Map from Maptitle+"_"+curdate() > > This way mapinfo doesn't make the map. > -- - Bill Thoen ------------------------------------------------------------ GISnet, 1401 Walnut St., Suite C, Boulder, CO 80302 tel: 303-786-9961, fax: 303-443-4856 mailto:[EMAIL PROTECTED], http://www.gisnet.com/ ------------------------------------------------------------ --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 3611
