SET DATE

LastModified

This property belongs to files in a project and indicates when the file was last changed. Not surprisingly, it's read-only.

Usage

tLastChanged = filFile.LastModified
To get to this information through the interface, you have to go to the Files page of the Project Info dialog. On the whole, we think accessing this property may be easier.

Example

* See whether file is recent IF oFile.LastModified < DATE()-30   WAIT WINDOW "You should check for an updated version of " + ;               oFile.Name ENDIF

See Also

File


View Updates

Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.



Hacker's Guide to Visual FoxPro 7. 0
Hackers Guide to Visual FoxPro 7.0
ISBN: 1930919220
EAN: 2147483647
Year: 2001
Pages: 899

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net