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