G
Guest
I have a report whose Record Source is defined in VBA code (because the query is dependent upon interactive user record selection criteria). There is therefore no Grouping and Sorting in the report itself. The report generates fine and sorts according the ORDER BY clause of my query
However, if I create a total control to total one of the detail fields (control source is "=Sum([HistAmt])") in the report footer, the total calculates correctly but the sorting of the records no longer works! If I place the total in the page footer, then the sorting is correct, but I get "#Error" instead of a calculation (not that I want the total in the page footer anyway)
Any ideas on what's going on here
ctda
However, if I create a total control to total one of the detail fields (control source is "=Sum([HistAmt])") in the report footer, the total calculates correctly but the sorting of the records no longer works! If I place the total in the page footer, then the sorting is correct, but I get "#Error" instead of a calculation (not that I want the total in the page footer anyway)
Any ideas on what's going on here
ctda