Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filer - sort files by date
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Filer - sort files by date
Divers
Thread ID:
01405427
Message ID:
01405427
Vues:
91
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform