Hi Gavin,
If I understood You right, You want the user to save file, but You decide from which dir You import the file. Am I right?
If so, You can use the GETFILE() or PUTFILE(), after that You get just a file name & make the fullpath to it, i.e.
user_f_name = GETFILE()
IF .NOT. EMPTY(user_f_name)
my_file = folder_of_your_own + JUSTFNAME(user_f_name)
ENDIF
>Hi All,
>
>Is it possible to restrict GETFILE() & PUTFILE() so that the default directory can't be changed? E.g I want to restrict a user to exporting files to E:\APPS\OUTPUTFILES, but I still want the GETFILE() dialog to appear so that they can name their file, but not choose another directory. Similarly I want to restrict users to importing files from a certain directory. Is this possible in VFP6?
>
>Hope this makes sense
>
>Thanks,
>Gavin.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.