I am using the sendobject function to email a report out to various members of staff.
Essentially I have two reports.
Report1 contains the subreports, and is the report that is emailed
Report2 displays records matching two criteria: Total Points >150, and one of the Houses (there are 4 Houses - Barton, Furley, Harvey or Weil)
Report2 is replicated 4 times on Report1 - the idea being that each House has its own report
At the moment, when I run the report, I have to type in each of the 4 houses. I want to add this report into an existing code so that it automatically picks the condition from a string (strSoL) in the table and I don't have to type it in.
Essentially I have two reports.
Report1 contains the subreports, and is the report that is emailed
Report2 displays records matching two criteria: Total Points >150, and one of the Houses (there are 4 Houses - Barton, Furley, Harvey or Weil)
Report2 is replicated 4 times on Report1 - the idea being that each House has its own report
At the moment, when I run the report, I have to type in each of the 4 houses. I want to add this report into an existing code so that it automatically picks the condition from a string (strSoL) in the table and I don't have to type it in.
Comment