Hi,
I have several address fields on my report that may or may not contain data. These are text fields.
If these fields are empty i would like the report to collapse these fields e.g.
Name - contains data
Address1 - contains data
Address2 - no data
City - contains data
should render
Name
Address1
City
Is this possible?
thank you,
Colin Edwards
collapse text fields
collapse text fields
I think there's two ways to accomplish this.
One is to put the text components for your entire address into a Container. Set the Dock Property of each text component in the container to Top so that they are stacked. Set the Can Shrink Property to true for each Text component.
The second method I believe is if you have them stacked on the page i.e. one underneath the other.
Set each text component to Can Shrink (So if it contains no text the size of the component can shrink to the smallest possible size).
Next, for each text component under the top one (Name), change its "Shift Mode" from "Increasing Size" to "Decreasing Size"
One is to put the text components for your entire address into a Container. Set the Dock Property of each text component in the container to Top so that they are stacked. Set the Can Shrink Property to true for each Text component.
The second method I believe is if you have them stacked on the page i.e. one underneath the other.
Set each text component to Can Shrink (So if it contains no text the size of the component can shrink to the smallest possible size).
Next, for each text component under the top one (Name), change its "Shift Mode" from "Increasing Size" to "Decreasing Size"
collapse text fields
thanks, worked perfectly 
