Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date stamp problems
Message
From
07/05/1999 11:47:32
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00214974
Message ID:
00216072
Views:
36
George I am still confused about how date/time stamps of files are working. I am experimenting with the following code and the date/time stamp doesn't seem to be reliably updated until I close the file. This is surprising considering I am even trying a FLUSH command. Can you do a little experimenting with the code below and give me your thoughts on what you see? Thank you!! -Tim

use ANYTABLE
=adir(af,"ANYTABLE.DBF")
?af[1,4] && print out time stamp before changing table
append blank
flush
=adir(af,"ANYTABLE.DBF")
?af[1,4] && print out time stamp after append/flush - should be different
use
=adir(af,"ANYTABLE.DBF")
?af[1,4] && print out time stamp after close - this seems to be reliable


>>Thank you for your ideas, George.
>>
>>I just cloned the entire system into another area on the LAN and ran the test version. Whenever I added records, the date stamps *ARE* updated properly. Guess I will take a "snapshot" of the directory tomorrow, have my user enter some records, make sure she properly shuts down the app, then take another snapshot and compare the date/time stamps.
>
>>Dang it, this production support stuff is a drag...I was getting into learning VC++ until I was interrupted by this problem.
>
>Tell me about it. I go through stuff like this everyday. And people wonder why all my apps aren't converted from FPW 2.6 yet.< g > I've also been working on C++ for nearly a year (no time).
>
>Let me know if there's anything else I can help with.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform