Problems with Adding Payees in the Payees View in MyNetWorth for Windows

04/02/2024; 430 words; 2 minutes to read.

I must apologise to users of MyNetWorth for Windows, who are having problems with adding new Payees in the Payees View. I am particularly sorry as adding new Payees in Payees View is the recommended action for doing so in the User Guide. When I was testing MyNetWorth for Windows, which I ported to Windows from MyNetWorth for Mac, I carried out most of my testing on a file that was saved in MyNetWorth for Windows format but generated by MyNetWorth for Mac. As a result, I did not test adding new Payees thoroughly enough, until I noticed that duplicate Payees were appearing in normal use, when I was updating my Parochial Church Council (PCC) accounts in MyNetWorth for Windows.

The bug arose from a single line of code. After a user has added a new Payee in the Payees View, that Payee is selected in the Payees View so that the user can then add new Payee transactions immediately, should he or she wish. I had inserted a line of code that writes the new Payee selection to a Global variable, which stores the current Payee selection, so that, if the user navigates away from the Payees View, the selection is restored when the user returns to the Payees View. Unbeknownst to me, this action overwrites the new Payee entry in the Payees array with the previously selected Payee; this duplicates the previously selected Payee entry rather than adding a new Payee.

MyNetWorth for Windows version 1.1.5.0 fixes this bug. As it happens, there is no need set the Global Payee selection variable when adding a new Payee, because this is done in existing code whenever a new Payee selection is made anyway. Removing the code, which was setting the Global Payee selection after adding a new Payee, and recompiling has fixed the bug.

Please update your copy of MyNetWorth for Windows to version 1.1.5.0 or higher as soon as possible. There is a workaround for adding new Payees that you can use until you do so. You can add new Payees by using the ‘+’ button next to the Payees selection combobox in the Add/Edit/Duplicate Account Transaction dialogue box in the Accounts View. The relevant section in the User Guide is here.


Created with Ignite

© 2022 - 2026 Christopher Hull. All rights reserved.