three field: name, description, image
in databand:
|{name} | {description} |
________________________
|{image}
|
|
|_______________________
not all rows has image, i need show image control only when it has image. how can i do that? i use conditions, but it still has space in the bottom, because the data band's height can't change.
how to print image as needed?
how to print image as needed?
i add script in before print event of image,
pic.Enabled = Table["Field"] != DBNull.Value;
i think if it's null value and canshrink be true, then it will not print. why not do this in report engine?
pic.Enabled = Table["Field"] != DBNull.Value;
i think if it's null value and canshrink be true, then it will not print. why not do this in report engine?
how to print image as needed?
Hello,
Thank you.
Please set CanShrink property of band to true.i add script in before print event of image,
pic.Enabled = Table["Field"] != DBNull.Value;
Issue is fixed. Patch will be available in build from 8 August.i think if it's null value and canshrink be true, then it will not print. why not do this in report engine?
Thank you.