Hello,
I am working on a report in which I have 2 fields in the detail section. The field names are "Status" and "Citation".
When viewing the report, IF the status = "Published" THEN I would like the Citation to be visible, ELSE the citation should be hidden.
I was able to get the print preview to work using the code below in the On Print property, but I am unable to get it to work under the Report View. It only works when print preview.
Any ideas?
I am working on a report in which I have 2 fields in the detail section. The field names are "Status" and "Citation".
When viewing the report, IF the status = "Published" THEN I would like the Citation to be visible, ELSE the citation should be hidden.
I was able to get the print preview to work using the code below in the On Print property, but I am unable to get it to work under the Report View. It only works when print preview.
Code:
If Me.Status = "Published" Then
Me.citation.Visible = True
Else
Me.citation.Visible = False
End If
Any ideas?