Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to select multiple files with GETFILE( ) ?
Message
From
28/06/2006 02:20:45
 
 
To
28/06/2006 00:26:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01132269
Message ID:
01132278
Views:
20
This message has been marked as a message which has helped to the initial question of the thread.
>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#982909

If 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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform