Thanks Bill,

this function is very simple and works excellent!

The table as now opened as BERKEL_EN_RODENRIJS_20021016

Richard 

-----Original Message-----
From: Bill Thoen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 4:30 PM
To: Hogendorf, Richard
Cc: '[EMAIL PROTECTED]'
Subject: Re: MI-L spaces in a table name


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/
------------------------------------------------------------


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: 3612

Reply via email to