ducklord said:
Is this issue something to do with the OS settings? Or due to the way the software is written.
I haven't tried myself, but I trust if both Stefan and Mike make the same observation, the direct answer to your question is this is due to the way the software is written. Because the software could close tables and thereby update the FMT without ending the invoice application process. It's quite usual for FoxPro software to keep files open, though, so you wouldn't program to close files everytime you just modified one record.
Even more so, if transactions or buffering techniques are used, which would allow the user to cancel a change before its finally written to the dbf file and then it would have been premature to change the file modified time.
You say other users are already seeing new records, which is fine in itself. That tells me that neither buffering nor transactions are hindering the file modification time to change, but the simpler reason files are not closed. And that's not a sign of bad programming. As said, you don't close files just because you made one change, files are usually closed when closing forms and not needing this table anymore or eventually when quitting the application.
So overall it's FoxPros way to keep file modification times unchanged, even when it already changed files. You can therefore not use types of live backups saving files as soon as you detect a change by FMT, if that's the motivation of your question. A record modification also doesn't change file size at all, as records are fixed size. If changes in certain data types are involved the related fpt file would change, but also not necessarily in length or file modification time.
One more general advice when we already talk about these details, Foxpro software is sensible to AV scanning so even only read access to DBFs of Foxpro software is bad for the stability of it anyway. So any concerns about security of these files in any direction like backup or scanning of them should be addressed when the Foxpro software does not run.
By the way, there is no headway for a virus hiding in a dbf file anyway, it would simply appear within records and even if it would try to hide in the few bytes of a dbf header there are not many bytes without a meaning which would mean a change would corrupt the table and be detected by software problems. It is advisable to restrict access by file permissions to users of the software, therefore. I know that, of course, does not protect against a virus running under the permission of such a user, but that's the best you can do in that aspect.
When your concern is about AV the problems known with AV scanning of DBFs is usually addressed by making specific directories and the dbf/fpt/cdx files in them exceptions to AV scanning during the usage time of the Foxpro software. I don't know of solutions that work with parallel file read access, though it's theoretically possible, as Foxpro software does only use write access to data files temporarily to enable shared use of data, but for some reason AV scanning has bad impact on Foxpros data file handling, though it should only need(shared) read access and not hinder anything else including the Foxpro application to also read files while they are scanned for viruses. Similarly reading files to copy them shouldn't be a technical problem, though it would with no doubt be over the top if any change would lead to a backup copy of dbfs when changes in them can easily happen in fast succession.
I don't know if an AV software vendor has addressed that problem, I assume not. And as Foxpro is a discontinued product regarding Microsoft an AV software vendor would have a hard time interviewing anyone of the Foxpro developer team for ways to enable the AV readonly scan of FoxPro data files flawlessly, as there isn't such a team anymore.
Chriss