My access report has a group footer that is hidden if the sum of amtFld is=0. This is defined in group header as me.Amt=sum([amtFld]. But the amtFld could either be SalaryAmt or HrsWrk depending on the selection criteria for the report. I tried using Me!Amt.controSource ="=sum(choose(" & criteria & ",[SalaryAmt],[HrsWrk]) but it's giving out error 2191 "You can't set ControlSource property in print preview or after the printing has starting". What's the best way to resolve this issue? Thanks.