I have an auto sum vba code that adds up a few fields based on what the user enters. The auto sum works on the on lost focus event. So as the user scrolls through records by clicking on some buttons I made, I put vba behind these buttons to set focus on the field that auto sums the set focus to another field to trigger the on lost focus event. However when the user clicks the find record button I created and gets the find record dialog box then does a search to find the record they want, I have no way of refreshing the auto sum or to trigger the auto sum to take place. Any ideas? I tried the on change event of the field and also tried using this:
if me.txtdateissued <> me.txtdateissued.oldvalue then
(calculation code)
But it did not work.