Thank you SO much Riley. I can now log on as admin and run the report. There are some questions now so I can proceed.
1: Regarding the report template
It is unclear to me what you did exactly from viewing the template. I see a for-each in the grid under the bold row, which just contains field names. Is the grid I see in the template the result of entering a header component? If yes, did you set it to appear on all pages? If no, do I now insert a header component? Is there a “place” I need to be in the template before inserting this? How do I cause each study group to appear on a new page? Also, when I originally put in a for-each field, a bunch of section codes appeared, but in your sample I can’t find any of these except for the for-each and the /_each. Why are some of the codes missing?
2: Regarding table structures for report printing
My application is simple yet complex in some regards. I have a reports table, a groups table and a report Groups table. The latter table gets populated when I use the Setup Reports form. Whenever I open the Generate Reports form, the Selected Groups table gets populated based on the ReportGroups join table. It uses the current user key as part of the record, since the application will be multi-user. This table gets re-set every time I open the Generate Reports form. Its data is transitory. When I click the GenerateReport button, the LoadStudyGroupRoster code causes the StudyGroupRoster table to be cleared and re-loaded with all the fields for the current report to use. However, it does not include the userKey, so it will never work for a multi-user system, as multiple users may need to run a report at the same time. I see 2 solutions to this: Either add the UserKey field to this table and only clear records with that UserKey (instead of truncating table), or create a temporary table somehow related to the current user only, and use that one to populate with report data. I’m curious which way would be more “correct” for five.
I hope I made these questions clear. Item #1 is probably a bit more important right now, because it will be a LONG time before this is ready for live users. So for now I’m the only user. But it will need to be addressed eventually.
Thanks again!!!