I initially designed my report with a query as the Record Source. Later I realized I could use the same report with different queries (different subsets of the same data) so I removed the Record Source from the Properties window and added some VB code to set it.
The "divider" at the top of the group section seems to have "remembered" the old query. It shows "qDomainValuesAllLOBAUTO.DomainID Header". When I try to generate the report it Access seems to be looking for the qDomainValuesAllLOBAUTO fields, even though they are not referenced anywhere in the report.
A similar report that I modifed in the same way has only "DomainID Header" and works as I expect is should.
Any suggestions?
The "divider" at the top of the group section seems to have "remembered" the old query. It shows "qDomainValuesAllLOBAUTO.DomainID Header". When I try to generate the report it Access seems to be looking for the qDomainValuesAllLOBAUTO fields, even though they are not referenced anywhere in the report.
A similar report that I modifed in the same way has only "DomainID Header" and works as I expect is should.
Any suggestions?