[DP4SRVR]
allow_archive_mode=1
DP4 has long allowed programs which normally require write access to a database to degrade to read-only access if the operating system denies write access to the database files. (A warning messagem, DP4 System Warning 39, is displayed when this happens, allowing the user to abort the program if the behaviour is unexpected or undesired). This was intended as a useful feature since it allows applications to make use of archived copies of databases on CD. However, it is undesirable in systems which have financial transactions, because once the initial message has been acknowledged no further error information about lost transactions is returned to the application.
From 4.625 you can disable this behaviour by specifying allow_archive_mode=0. In this mode, if the database cannot be opened for write access then the application will fail (System warning 39 is again generated, but is now treated as a systrem error). Note that this applies even for applications which request only read-only access to the database. This setting does not prevent reports or other "read-only" programs from opening the database provided the operating system does allow write access. If you apply this setting you should change the text of sysmsg_39 in the [errmsg] section of DP4.ini