Hi everybody,
I have a report that contains a subreport linked by an ID number.
This report is opened by clicking a button on a form, and can be filtered by year prior to opening. The VBA code alters the query of the sub report to display only the records relating to that year.
The records returned are correct, but I have formatting issues. It's like there is a space for each sub-record that doesn't appear, that would normally appear if there was no filter applied.
For instance, one group of sub-records might have 10 records if the year isn't filtered, but if I select 2009 and only 3 sub-records meet this criteria, it will display only those 3 sub-records, but leave 7 blank spaces for the records not returned.
Any ideas?