Suppress Text Box based on value in report

Stimulsoft Reports.WEB discussion
Post Reply
JohnW
Posts: 103
Joined: Mon Nov 20, 2017 8:29 pm

Suppress Text Box based on value in report

Post by JohnW »

I have a multi-line text box. It contains a mailing address.

I need to suppress (hide) this text box if there is not a mailing address. I

I am thinking there must be a way read a data field in the mailing address and if it is empty to suppress the text box.

How do I read values in the report data and then set the properties for the objects, in this case the text box?

This is pretty basic so I am sure there is a simple answer. I am however drawing a blank for the solution.


Any suggestions are appreciated.


John W
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Suppress Text Box based on value in report

Post by HighAley »

Hello, John.

The easiest way is to set the Can Shrink property to True.
Also you should set the Shift Mode property of the all components under this text box to Increasing Size, Decreasing Size.

If you issue is more complicated we need to see a sample report template with data.

Thank you.
Attachments
ShiftMode.mrt
(4.04 KiB) Downloaded 178 times
Post Reply