Skip to main content
Solved

Report Designer - how to hide a field and not have the space for that field still show on the report

  • March 14, 2024
  • 5 replies
  • 271 views

Forum|alt.badge.img+1

I have a Warranties section of a quote report that has static information on every quote. The customer also wants to be able to customize each section with additional information.

I created attributes that allow the user to enter custom verbiage and I’ve added the attributes to the report:

 

I also created a visible expression for those fields, as I don’t want them to print if the user hasn’t entered any text in those fields.

The issue is that the space for those fields still prints (even with the visible expression).

If you put a visible expression on the whole group, it won’t print and it won’t leave a space for the group. But I really don’t want to have to split each little section out to it’s own group.

Is there a way to do what I’m asking?

 

Best answer by APistorius

@donnadeskins55 , I’ve done this with our proposal template and did it with visible statements on different sections (screenshot below).  To speak to @BenjaminCrisman’s point, you can put the following as your visible expression

 

=len([CROpportunity.QUOTEEXCL_Attributes])>0

 

View original
Did this topic help you find an answer to your question?

5 replies

Forum|alt.badge.img
  • Jr Varsity III
  • 23 replies
  • March 14, 2024

I see you have the Layout field set to “Can Grow”. Can you make the size of the box smaller in the report designer, so that if there’s no text it takes up very little space but if there is more text it grows to fit?

I’m not sure if that would work or not but it might be worth a try.

 

 


Forum|alt.badge.img
  • Jr Varsity III
  • 23 replies
  • March 14, 2024

Another option is to add multiple detail sections to your group footer. This way you can set the visibility for the detail section containing the custom verbiage.

To add detail sections, open the report file in notepad, or similar program that lays out code in an easier to read format than notepad. Then add as many detail sections in the group footer as you need. Then save and open again in Report Designer. 

 

 

 

Highlighted section added to blank report to create two extra detail sections in the group footer.

 


BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4
  • Acumatica Support Team
  • 691 replies
  • April 17, 2024

@donnadeskins55 For this issue it seems like somehow the expression is neither NULL or empty, maybe you want to check the Len() of the field and see if it returns a specific value for this and then specify that value in the visibility expression?

Seems like something must be populating in there


Forum|alt.badge.img+1

@BenjaminCrisman, I’m not sure I understand what you mean by checking the length and including that in the visible expression.

What would that look like?

Thanks!


APistorius
Freshman II
Forum|alt.badge.img+1
  • Freshman II
  • 23 replies
  • Answer
  • April 25, 2024

@donnadeskins55 , I’ve done this with our proposal template and did it with visible statements on different sections (screenshot below).  To speak to @BenjaminCrisman’s point, you can put the following as your visible expression

 

=len([CROpportunity.QUOTEEXCL_Attributes])>0

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings