This may not be the best way to get your sum, kind of a different approach. You could just delare variable global to the report, then keep adding the value from the detail section to the variable. at the report or detail footer, place the variable value to the textbox (or whatever) that the sum...