>Hi all,
>
>The GETFILE() can only allow 1 file to be selected, is there a way to select multiple files with GETFILE()? Besides, the GETFILE() always return the file name with upper case, how could I get the actual case of the file name? Thanks.
See message#
982909If this solution does not give you the correct case, you can use this fcase function which I just created
Function fcase
Lparameters pcFname
Local lnFiles, lcReturn
If Pcount()=0 or Vartype(pcFname)#'C'
lcReturn=''
Else
lnFiles=adir(temp,pcFname,'',1)
If lnFiles=1
lcReturn=temp(1)
Else
lcReturn=''
EndIf
EndIf
Return lcReturn