>Hi All,
>
>When I use the GetFile() function and the user selects a file, in this case a .txt file, how can I find which file (name of) was selected? I want to add that to the FullPath command to execute a mailmerge. TIA.
>
>Regards,
>
Paige,
GETFILE() returns a fully qualified (complete path) filename. If you want just the file name, JUSTFNAME() will give you that (you'd have to use Foxtools in 5.0 to use it). Similarly, JUSTPATH() returns the path (same thing as above about availability).
George
Ubi caritas et amor, deus ibi est