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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only