Hotwheels59
Registered User.
- Local time
- Yesterday, 21:46
- Joined
- Oct 12, 2009
- Messages
- 13
I have a report that includes several subreports. I would like the option to exclude one or more of the subreports. I have included a column in the table to record whether a checkbox on the applicable form is checked or not. If the form is checked and thus recorded in the table, the intent is to make the sub-report not visible. I'm using the following code:
Private Sub CheckExperience()
If (Forms!sfrmExperienceDataInput_Subform.CheckExperience) = False Then
Me.rptExperience_Subreport.Visible = No
End Sub
However, it won't work. I'm a newbie at this stuff so clearly I'm missing something. Any ideas? Thanks in advance.
Private Sub CheckExperience()
If (Forms!sfrmExperienceDataInput_Subform.CheckExperience) = False Then
Me.rptExperience_Subreport.Visible = No
End Sub
However, it won't work. I'm a newbie at this stuff so clearly I'm missing something. Any ideas? Thanks in advance.