Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fdate(not working)
Message
From
28/02/2016 14:25:39
 
 
To
28/02/2016 04:11:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01632238
Message ID:
01632254
Views:
42
Exactly so! Thanks so much Antonio. I assumed if the file was present and showing in print that the path was default and accessible.

k

>>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))
>
Previous
Reply
Map
View

Click here to load this message in the networking platform