Hi,
I have a main report(MonthlyAll) that includes 4 subreports in its Report Footer.
I want to apply the following condition to one of the subreport (MonthlyCompleteAll) :
If Reports![MonthlyAll]![MonthlyCompleteAll].Reports![txtCouncil] = False Then
Reports![MonthlyAll]![MonthlyCompleteAll].Reports![Label7].Visible = False
Reports![MonthlyAll]![MonthlyCompleteAll].Reports![Text19].Visible = False
Reports![MonthlyAll]![MonthlyCompleteAll].Reports![Text5].Visible = False
End If
I put this code in the Main Report's Report Footer On Print Event but I am getting a Run-Time Error 2465 - Can't find the field "MonthlyCompleteAll" refered to in your expression.
I can't figure out what I am doing wrong. Can anyone help me ??
Thanks a bunch !
Julie
I have a main report(MonthlyAll) that includes 4 subreports in its Report Footer.
I want to apply the following condition to one of the subreport (MonthlyCompleteAll) :
If Reports![MonthlyAll]![MonthlyCompleteAll].Reports![txtCouncil] = False Then
Reports![MonthlyAll]![MonthlyCompleteAll].Reports![Label7].Visible = False
Reports![MonthlyAll]![MonthlyCompleteAll].Reports![Text19].Visible = False
Reports![MonthlyAll]![MonthlyCompleteAll].Reports![Text5].Visible = False
End If
I put this code in the Main Report's Report Footer On Print Event but I am getting a Run-Time Error 2465 - Can't find the field "MonthlyCompleteAll" refered to in your expression.
I can't figure out what I am doing wrong. Can anyone help me ??
Thanks a bunch !
Julie