Last post Nov 09, 2010 04:40 AM by gocoding
Nov 09, 2010 03:29 AM|gocoding|LINK
Is there any way to tell a band to be shorter if there is no data in the fields in the bottom area of the band? Lets say we want to print in detail band:
Line 1: Invoice Code, Invoice Total, Invoice Shipment To
Line 2: Invoice Comments
Normally if you set two lines of fields in detail band, Crystal Report force Min Height of Band to be the bottom of the second line, or bottom of objetcs in Band in general.
I want to be able to tell him, make this Band As Short As possible, so if bottom controls or fields havent Data set the Height of Band to be not that tall !!!
In other words if you let me "Can Grow" for some objects, please let me "Can shrink" for the whole Band.
Thanks a lot in advance,
Nov 09, 2010 04:40 AM|gocoding|LINK
- Create aditional Detail band: "Details b".
- Add desired items to "Details b" and set them to be [X]Supressed when ther is no Data in the correspondant field. (MyField='') for instance.
- Section Expert - Suppress Blank Section for the new Band.
Done! It works Perfect!