How it works
The Peachtree Price Changer was developed with Visual Basic 6. It makes direct calls to the Btrieve engine that is installed with Peachtree to read and write item records. It understands the internal structure of the item records, so is able to locate the price level data within these records.
There are two supporting files that the price changer creates and uses for data storage. They are both standard Windows INI files.. In the directory where it was installed it creates the file PeachtreePriceChanger.ini and stores the main screen settings here so they are preserved across sessions. This file has a single section named [DATA] and a separate key for each of the values to be preserved.
The second supporting file is created in the Peachtree company folder and is named PriceData.ini. Actually, if you work with more than one company then a separate file is kept in each company folder. This file is used to hold the factor label names and the formulas for the factors and new prices. The file contains a section named [NFactors] that has a single key that holds the number of factors you selected to use for this company. The section named [Labels] contains keys for each of the factor labels - this is where the factor names are stored. The file also contains a separate section for each of the items for which you have entered factor or new price formulas; the name of the item section is the ItemID in square brackets. The keys for the factor formulas begin with Fn= where n is the factor number and the new price formulas begin with Xn= where n is the price level number. The formulas store references to other cells in relative R1C1 notation. This is done so that the formulas are preserved correctly when you change the filter so that an item appears on a different row.
If you want to remove the stored data for a company, just delete the PriceData.ini file and the price changer will build a new file the next time you use it.