Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get modified file time 2

Status
Not open for further replies.

badrion

Programmer
Jul 16, 2001
34
US
Is there a way to read the modified file time off of a dbf?
 
Hi,

You can use the ADIR function.


dimension temparray(5)
=ADIR(temparray,'file name')

temparray(1) = The file name
temparray(2) = The file size
temparray(3) = The file date
temparray(4) = The file time
temparray(5) = The file attributes

Hope this helps.

Ed

 
This is what I started using but wasn't sure if it was right. Thank you!
 
David,
LUPDATE() works, as long as you realize that this function, before VFP 5.0, is not Y2K compatible. (And 5.0 even needs a special patch not part of the last Service Pack!)

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top