Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fdate(not working)
Message
De
28/02/2016 04:11:52
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01632238
Message ID:
01632239
Vues:
77
This message has been marked as a message which has helped to the initial question of the thread.
>I am not getting the date of the file. Have I set it up incorrectly?
>It correctly lists the files but not the date
>tnx for any suggestions
>k
>
>fso = CREATEOBJECT("Scripting.FileSystemObject")
>lnNum =adir(ladir,'c:\Backup\FP*','D')
>asort(ladir,3) 
>FOR nCount = 1 TO lnNum  && Loop for number of databases
>  		? LADIR(nCount,1)
>  		? FDATE(LADIR(nCount,1))
>endfor	
>


Probably, "C:\Backup" is not being searched by VFP. Can you try and check if this change solves the issue?
  		? FDATE("C:\Backup\" + LADIR(nCount,1))
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform