Hide a field in a report

  • Thread starter Thread starter srkey1
  • Start date Start date
S

srkey1

I am building a report using fields that are in tables. One of the
fields in the report is "Do Not Use". I want to build an expression
that says if "Do Not Use" is marked "1" in the table, then remove that
line from the report. If "Do Not Use" is marked "0", keep that line
in the report. Please help! Thanks!
 
In your query use a calculated field like this --
Hide_Field: IIF([Do Not Use] = 1, Null, [Do Not Use])
Then in the report set the textbox Can Grow property to Yes and drag the
size of the textbox to a hairline. If the output is null then it will not
show in the report.
 
Back
Top