My goal is to filter two SubReports within a master report. I have the Master report that is opened by the below:
Expand|Select|Wrap|Line Numbers
- Private Sub cmdOpenECR_Click()
- Dim strFilter As String
- strFilter = "[SSN] = '" & Me.MemberSelect & "'"
- Call DoCmd.OpenReport(ReportName:="rptECR", View:=Access.AcView.acViewReport, wherecondition:=strFilter)
- End Sub
Expand|Select|Wrap|Line Numbers
- =[rank] & " " & [lname] & ", " & [fname] & " " & [mi] & "."
- ="XXX-XX-" & Right([ssn],4) & "/" & [MOS]
- =[EAS] & " Section: " & [Instrument]
- Date Checked In
- SSN (not visible, used for filter)
tblBAnd Members
Expand|Select|Wrap|Line Numbers
- Field Type
- Rank Text
- FName Text
- LName Text
- MI Text
- SSN Text PK
- MOS Text
- EAS Date/Time
- Instrument Text
- Date Checked In Date/Time
- Supply Rep Text
tblInstruments
Expand|Select|Wrap|Line Numbers
- Field Type
- Category Text
- Instrument Text
- Make Text
- Model Text
- Serial Text PK
- Condition Text
- Location Text
- Checked In/Out Text
- Date Checked Out/In Date/Time
- Supply Rep Doing Check Out Text
- Purchase Year Date/Time
Expand|Select|Wrap|Line Numbers
- Field Type
- Category Text
- Item Name Text
- Brand Text
- Condition Text
- Checked Out Text
- Location Text
- Date Checked Out Date/Time
- Supply Rep Doing Check Out Text
- Description Text
How do I filter both subreports on open to match the person that the master report is open upped to?