Re: path of an opened dbf file.
Posted: Tue Mar 27, 2018 4:45 pm
Dominique,
This code is OK:
But when you do:
It will give twice pathnames!
Serge
This code is OK:
Code: Select all
use some_file
DirActual := GetCurrentFolder() + "\"
Filepath := dbInfo(DBI_FULLPATH)
msginfo("File fullpath: " + DirActual + Filepath )
But when you do:
Code: Select all
use c:\folder\some_file
DirActual := GetCurrentFolder() + "\"
Filepath := dbInfo(DBI_FULLPATH)
msginfo("File fullpath: " + DirActual + Filepath )
It will give twice pathnames!
Serge