Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PUTFILE() and extensions
Message
 
 
To
20/05/2018 16:55:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01660196
Message ID:
01660200
Views:
64
>>Hi,
>>
>>In the PUTFILE() dialog I want the user to see both XLS and XLSX files. The only way I could do it if I pass the following in the Extention parameter: "XLS*" (using asterisk wild card).
>>
>>But I read in VFP help that I should be able to specify two extensions as "XLS, XLSX" or "XLS| XLSX" or "XLS; XLSX" but none of these methods work.
>>
>>What am I missing?
>
>It looks like either a bug or misleading text in Help. Anyway, this works:
>
>
?Putfile('some text','','xls*')
This is what I said works (see above). But how come when putting the extensions one after the other it does not work? This is what I am trying to figure out.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform