Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filer - sort files by date
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Filer - sort files by date
Miscellaneous
Thread ID:
01405427
Message ID:
01405427
Views:
92
Hi

I'm using Filer to give me all the files called uploa*.dbf using the following code

omyfiler=createobject('Filer.FileUtil')
omyfiler.searchpath="c:\program files\qualcomm\eudora pro\attach"
omyfiler.fileexpression='uploa*.dbf'
omyfiler.subfolder=0
omyfiler.find(0)
acjob=omyfiler.files.item(1).name

acjob contains the name of the first file name found

what I want acjob to contain is the name of the latest file - how do I do this? - if it can't be done is ther another way of getting at this information?

Thanks

Colin
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Next
Reply
Map
View

Click here to load this message in the networking platform