You can put it in the OnCalc event for table1. Make sure table2 is open before table1. I'm not sure if you acually need a calculated field to trigger this event, but if you do, you could make a calculated sum field in table one and just write that value to table2.
Brian
"There are 2 kinds of people in the world, those that divide people into two groups and those that don't. I belong to the second group." - tag line I stole