J
JohnB
Hi. I posted this a few days ago and Newbie initially
replied but has now gone quiet. Can anyone else help
please?
I want to control the visability of a reports
Subreport, based on the content of a field called
txtContent, which is in the Subreport. I think something
along the lines of the code below, used in an On Format
event, should do but I cant get the syntax right.
If IsNull Me.rptSubreport.txtContent Then
Me.rptSubreport Visable = False
Else
Me.rptSubreport Visable = True
End If
The problem is the first line, where Im trying to test
for content in the field in the subreport.
Can anyone help me get this code to work? Thanks, JohnB
replied but has now gone quiet. Can anyone else help
please?
I want to control the visability of a reports
Subreport, based on the content of a field called
txtContent, which is in the Subreport. I think something
along the lines of the code below, used in an On Format
event, should do but I cant get the syntax right.
If IsNull Me.rptSubreport.txtContent Then
Me.rptSubreport Visable = False
Else
Me.rptSubreport Visable = True
End If
The problem is the first line, where Im trying to test
for content in the field in the subreport.
Can anyone help me get this code to work? Thanks, JohnB