Hi,
I am wondering how could I get the full path of a table when I finish
loading a workspace. The TrueFileName$ seem not working when I pass the
command to mapinfo.. ( I got no response).. Is it the best function? Should
I code a parsing module to scan the .wor? Any help or hint will be
appreciate
cyao
emman
Here is the snippet...
-------------------------------
Dim NumTables as integer
NumTables = MapInfo.eval("Numtables()")
If NumTables = 0 Then
MsgBox "No valid table found in WorkSpace!"
End If
For i = 1 To NumTables
CurTabName = MapInfo.eval("TableInfo(" & i & "," & TAB_INFO_NAME & ")")
CurPathName = MapInfo.eval("TrueFileName$(" & Chr(34) & CurTabName &
Chr(34) & " )")
MsgBox CurPathName
Next i
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]