Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RowSource Properties
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00489228
Message ID:
00489234
Views:
11
>Hi all
>
>I'm using a form to allow users to select a file from a list box (rowsource type is set to 7-Files). In the RowSource I've set the properties to "*.txt" to select all text files. Our users would like us to scan for all txt and csv files, however when I include the "*.csv" function in the properties with the *.txt function (ie I use "*.txt, *.csv" in the properties for RowSource) I only get the first part (Eg all txt files).
>
>Does anyone know how I can specify to look for both txt & csv files???
>
>Cheers
>
>Chris Kable
>FUELtrac

You may have to populate the listbox manually with ADIR() to get the list you want, or use the GETFILE() dialog instead of the listbox. I don't believe that you can specify multiple file types.
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Previous
Reply
Map
View

Click here to load this message in the networking platform