J
JohnB
Hi
I did search for this and tried using the solution given in one post but it
doesn't work. Perhaps I misunderstand.
In a reports 'On Format' Event, I want to check for the value in a field
called txtStartYear that's in a subreport called frmsubReport3.
I read that you could do this using something like:
If subreport.Report.txtStartYear = 28 Then
but that doesn't work. It seems curious that this solution doesn't mention
the subreport name, so perhaps that's where I'm going wrong.
How should the code read?
Thanks.
I did search for this and tried using the solution given in one post but it
doesn't work. Perhaps I misunderstand.
In a reports 'On Format' Event, I want to check for the value in a field
called txtStartYear that's in a subreport called frmsubReport3.
I read that you could do this using something like:
If subreport.Report.txtStartYear = 28 Then
but that doesn't work. It seems curious that this solution doesn't mention
the subreport name, so perhaps that's where I'm going wrong.
How should the code read?
Thanks.