nschroeder
nschroeder
- Local time
- Today, 07:15
- Joined
- Jan 8, 2007
- Messages
- 186
Sorry, but this will take a bit of explaining.
I'm developing a Pre-Underwriting QC Checklist for our loan processors. It includes 66 questions that are divided into 15 sections. The main form, Audits, has one record per loan, and 15 subforms (Section1, Section2, etc.) on a tab control, since they don't fit on a regular page. Each Section form has a data filter, SNum=n (where n=1-15) so that only the applicable questions will appear on each Section subform. The Audits form and Sections subforms work perfectly.
I then proceeded to create a Pre-Underwriting Audits report, which should just be a printed version of the above. I created the report and dropped in the 15 subforms as they were. When I open the report, each section contains all 66 questions instead of the filtered values (wasted 56 pages of paper to find that out). I couldn't find a resolution, so I started over by creating a copy of the report, deleting out the subforms, and converting the Section1 form to a report. I dropped that in to the report as a subreport, but when I run it, it gives the message, "... can't find the field 'SNum' referred to in your expression. You may have misspelled ... renamed, or deleted.". The strange thing is that when I click Ok, it opens the report and the correct, filtered values appear in Section1. I confirmed that the error message is related to the filter, because if I delete "SNum=1" from the filter in the Section1 report, the message goes away, but then of course, it includes all the questions.
I don't care if I use subforms or subreports in the report, but with neither working, I'm stuck. Any help would be appreciated.
I've attached the db. To see the problem, open the Audits form and select record 1 (the reports are tied to the current record on the Audits form by the AuditKey field). Then open reports Pre-Underwriting Audit and Copy of Pre-Underwriting Audit to see the two scenarios .
I'm developing a Pre-Underwriting QC Checklist for our loan processors. It includes 66 questions that are divided into 15 sections. The main form, Audits, has one record per loan, and 15 subforms (Section1, Section2, etc.) on a tab control, since they don't fit on a regular page. Each Section form has a data filter, SNum=n (where n=1-15) so that only the applicable questions will appear on each Section subform. The Audits form and Sections subforms work perfectly.
I then proceeded to create a Pre-Underwriting Audits report, which should just be a printed version of the above. I created the report and dropped in the 15 subforms as they were. When I open the report, each section contains all 66 questions instead of the filtered values (wasted 56 pages of paper to find that out). I couldn't find a resolution, so I started over by creating a copy of the report, deleting out the subforms, and converting the Section1 form to a report. I dropped that in to the report as a subreport, but when I run it, it gives the message, "... can't find the field 'SNum' referred to in your expression. You may have misspelled ... renamed, or deleted.". The strange thing is that when I click Ok, it opens the report and the correct, filtered values appear in Section1. I confirmed that the error message is related to the filter, because if I delete "SNum=1" from the filter in the Section1 report, the message goes away, but then of course, it includes all the questions.
I don't care if I use subforms or subreports in the report, but with neither working, I'm stuck. Any help would be appreciated.
I've attached the db. To see the problem, open the Audits form and select record 1 (the reports are tied to the current record on the Audits form by the AuditKey field). Then open reports Pre-Underwriting Audit and Copy of Pre-Underwriting Audit to see the two scenarios .