Or alternatively you could use PathToTableName$(), this will strip out
everything and give you just the name: so, if you pass "C:\Temp\tabname.tab"
to PathToTableName$() then it will return "tabname" as the result.

Dim filespec As String
Dim tabName As String

filespec = FileOpenDlg("C:\","","TAB","Open Table")
tabName = PathToTableName$(filespec)

Note "Table name = " + tabName

Kind Regards,
Colin Henderson
Digital Brands GI Developer
Ordnance Survey
Romsey Road
Southampton SO16 4GU
 



***************************************************************
For more information on Ordnance Survey products and services,
visit our web site at http://www.ordnancesurvey.co.uk
***************************************************************





_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to