Unanswered: Trouble making subreports that filter not working
I am programming a db that tracks the efficiencies of people who work in a warehouse. They perform any number of tasks multiple times per day but there are only 12 different tasks that they could be asked to perfrom.
I have written a report with the intention that it will serve as one subreport to show data for one of the tasks. One query provides the record set for the reports so I am using Me.Filter = "[ItemTypeID] = 1" with a second line that switches the filter on: something like: Me.FilterOn = Yes.
ItemType is what we are calling a task.
Once I made this first report, I tested it and found that it functioned perfectly. Then I copied it 12 times and edited the Me.Filter = "[ItemTypeID] = 1" so that each report filtered on each ItemTypeID number 1 - 12.
With the subreports copied, edited, and saved with their own unique names, I slammed each one into a "Main" report. When I try to run the Main report, I get:
RunTime error 2101: The setting you entered isn't valid for this property
going into debug mode showed me that the line:
Me.Filter = "[ItemTypeID] = 1"
Why? This report worked when it was a stand alone report. Any ideas what is wrong?
JasonM from the old mdbmakers website? He decided to give up the website, but as far as I know he's still around. He gave me permission to copy some of his FAQ's to my website, and I think I have his email address there as attribute.