I am an Access VBA novice and have the following situation: I have a report bound to a query that contains page header, detail and report footer sections. After I print all of the detail lines, I need to print one final detail line containing several calculated fields. My original plan was to remove the control source of the detail line controls once I get to the Report Footer format event, put the computed fields in the newly unbound detail section controls and then to call the Detail_Format and Detail_Print subs one more time — all this from the Report_footer format event. I am unable to remove the control source from the detail line controls. I receive a message stating “You can’t set the RecordSource property once printing has started”.
Can someone please tell me what I am doing wrong or, better yet, please suggest an alternative solution to my problem. Thanks.