• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

how to hide a report builder field if it is zero

New Here ,
Apr 02, 2014 Apr 02, 2014

Copy link to clipboard

Copied

I am using Coldfusion Report Builder. If the value of a feild is zero, how can I hide it or show a blank. Keep in mind this field is a DollarFormat() field.

TOPICS
Reporting

Views

2.7K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 02, 2014 Apr 02, 2014

Copy link to clipboard

Copied

scottnweber wrote:

I am using Coldfusion Report Builder. If the value of a feild is zero, how can I hide it or show a blank. Keep in mind this field is a DollarFormat() field.

When you click on the field in Report Builder, look near the bottom of the Properties window, in the "Print Control" section.

You will see an entry labelled "Print When Condition". Put an expression next to it that returns true or false.

For example, in your case, you would put something like the following:

MyField neq 0

Where "MyField" is the name of your field. This expression will only allow the field to be printed when its value is not zero.

Since you're targeting the value of the field you don't have to worry about the formatting that you used next to "Expression" in the "Data" section of the Properties window.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 03, 2014 Apr 03, 2014

Copy link to clipboard

Copied

That sounds excellant Eddie. This is exactly what I was looking for. Thank you!!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 03, 2014 Apr 03, 2014

Copy link to clipboard

Copied

LATEST

scottnweber wrote:

That sounds excellant Eddie. This is exactly what I was looking for. Thank you!!

You're very welcome.

Please mark this thread as answered for the benefit of other users.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation