Richard,

I believe you can use the PathToTableName$() function.  Pass in the path
(i.e., Maptitle) and it should return the string that MapInfo would use
for a table name.

Gary.

"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.
> 
> Thanks,
> 
> Richard
> 
> N.B.: op (de inhoud van) deze e-mail is een DISCLAIMER met belangrijke
> VOORBEHOUDEN van toepassing: zie http://www.ben.nl/disclaimer
> 
> This e-mail and its contents are subject to a DISCLAIMER with important
> RESERVATIONS: see http://www.ben.nl/disclaimer
> 
> ---------------------------------------------------------------------
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Message number: 3605

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Gary Schwartz
Director of Software Development
Mapping Analytics
2 Graham Road West
Ithaca, NY 14850
(585) 271-6490
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 3609

Reply via email to