How to suppress automatic backups

  • I am using version 4 and in one of my projects WPTools is creating automatic incremented backups whenever a call is made to SaveToFile(), in the form .BAK1, .BAK2 etc. I cannot see any properties that allow me to turn this off and the only reference to BAK files in the help file is to TStoreOptions, but there is no indication where these are accessed from.

    I would appreciate any assistance you can give in helping me to stop these files being created.

    Paul Brace

  • Always the way you search for a bit then ask the question to 10 minutes later discover the answer yourself.

    Looking at my downloads I realised I had the source for the RTF engine which I had never unzipped. Had a quick look at this and it became clear it was in the Header options and that the backups are suppressed by including soDontRenameToBAKFile.

    Hope I did not waste anyones time.

    Paul