And a lovely thursday to all you western hemisphere folks (woo hoo its
friday in New Zealand!).  Just a quick one here:

Is there any way in mapbasic to issue a command that returns the directory
structure leading up to an open table?

ie:  

Dim tablocation As String
tablocation = PathToOpenTable$("foobar")  '****I made up PathToOpenTable$()

if foobar.tab were in c:\temp\ then tablocation would print "c:\temp\"

It seems the closest is truefilename$() but that only prints out the current
directory, which is not the same as the directory from which the file was
opened.

Thanks in advance to anybody with the answer to my $20.50 question

Ben Humphrey
VoiceStream Wireless
Tel  425-653-4605
PCS 206-226-0019
E-mail [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]

Reply via email to