CanShrink Option?
Mark Elder
SD, USA
Hello,
I am trying to shrink a field when no data exists. In my case I have several address fields. If my second and third address lines are blank I want the fields below to move up and not print blank lines.
I have found some references to a CanShrink property for the .Net version. Is there something similar for the VCL version?
End users are going to customizing this report so I really don't want a lot of script to make this work.
So for my specific example I have
[Address Line 1]
[Address Line 2]
[Address Line 3]
[City]
[State][Zip]
If Address Line 2 and 3 are blank I don't want blank lines between Line 1 and the City field.
Thanks,
Mark
I am trying to shrink a field when no data exists. In my case I have several address fields. If my second and third address lines are blank I want the fields below to move up and not print blank lines.
I have found some references to a CanShrink property for the .Net version. Is there something similar for the VCL version?
End users are going to customizing this report so I really don't want a lot of script to make this work.
So for my specific example I have
[Address Line 1]
[Address Line 2]
[Address Line 3]
[City]
[State][Zip]
If Address Line 2 and 3 are blank I don't want blank lines between Line 1 and the City field.
Thanks,
Mark
Comments
[Address Line 1]
[IIF(<Address Line 2> <> '', <Address Line 2> + #13#10, '')][IIF(<Address Line 3> <> '', <Address Line 3> + #13#10, '')][City]
[State][Zip]