I have TransactionForm (main) on which resides DonationMain and DonationDetails. DonationDetails is synched to DonationMain and changes as you move from record to record in DonationMain.
DonationMain is continuous forms.
On the TransactionForm, there is a calculated textbox txtTotal which is updated via a custom function ttl(). This all works fine if you are entering new records into the database.
Today I noticed, as you move from record to record on DonationMain, that txtTotal was not recalculating so it was always showing the total for the first record in DonationMain.
I’m not sure of what syntax I need to use or where I need to use it on DonationMain to force the function ttl() to recalculate whenever a new record on DonationMain is selected. If I stick something into the OnCurrent event of DonationMain, it starts recalculating over and over (presumably because the combo box that displays names has to recalculate as the form is drawn, an unfortunate necessity due to legacy issues in the design). Of tried GotFocus and various other ideas but this one has me stumped now.