Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning last modified date from DBF
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00589985
Message ID:
00590014
Vues:
29
>Hi everybody,
>
>Anybody point me in the right direction? I would like to check when a file/table was last updated or created in VFP. So I need a function which will return these values, anybody any ideas...?

LUPDATE() has some problems; I'd suggest using the date/time stamp returned by ADIR(), or better, the date/time data from the File object of Scripting.FileSystemObject, a part of the Windows Script Host, which can return creation, last modified and last accessed dates if your file system supports them. You can find details on it in any of the references in my sig block, or in the 5 part article on the WSH that George Tasker and I worked on about a year ago for VFUG, www.vfug.org

>
>Any help is always greatly appreciated,
>
>Kind Regards,
>
>Simob Swan
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform