show or hide databand depending on parameter

Stimulsoft Reports.JAVA discussion
Post Reply
nkizza
Posts: 1
Joined: Tue Jan 27, 2015 1:11 pm

show or hide databand depending on parameter

Post by nkizza »

Hello, gentlemen. I need to print barcodes on a sticky labels. These labels have lots of sizes, and the only way I know is to make lots of reports to serve all the papersizes.
So, could you answer me just to extend my knowledge, please:
1. Can I pass a GET parameter to the report and set number of columns in databand depending on that parameter?
2. Can I show or hide the databand depending on parameter? Or could I hide the text block depending on GET-parameter?
Because, if I could do this, I would make a single report in a designer and use it for all paper sizes just passing user papersize within a parameter.

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

Re: show or hide databand depending on parameter

Post by HighAley »

Hello.

You could create report templates in code.
Please, look at the sample project.

Thank you.
Attachments
DynamicCreateReport.zip
(15.46 KiB) Downloaded 212 times
Post Reply