TheSearcher
Registered User.
- Local time
- Today, 18:47
- Joined
- Jul 21, 2011
- Messages
- 408
If txt_Sex on Main Report = "M" then I want the recordsource of Subreport1 to be q_Male else q_Female.
Is this the correct code?
Do I place it in the subreport? If so, on which event?
Any help would be appreciated.
Code:
If Parent!txt_Sex = "M" Then
Me.RecordSource = q_Male
Else
Me.RecordSource = q_Female
End If
Is this the correct code?
Do I place it in the subreport? If so, on which event?
Any help would be appreciated.