How to execute or not a SubReports?? (Turn visible or invisible)

Stimulsoft Reports.WEB discussion
Post Reply
Jair RC
Posts: 21
Joined: Wed Jun 10, 2009 6:57 am
Location: Joinville, Brazil

How to execute or not a SubReports?? (Turn visible or invisible)

Post by Jair RC »

Hello

I need to develop a report that will display various pieces of information, each of them, coming from Stored Procedures Database. However, the User can select which blocks you want it to appear in the report. I think the path is to make a SubReport for each block. But how to make a SubReport visible or invisible according to the choice of the User, for if he becomes invisible one block from among the others, those below, will be moved up. I can put them in bands? If yes, what type of band is more appropriate?

If the User does not want to see a particular subreport, the report should not run the Stored Procedure. Can anyone give me any tips?

Regards,

Jair RC
Joinville/SC/Brazil
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

How to execute or not a SubReports?? (Turn visible or invisible)

Post by Edward »

Hi Jair,

You can put subreport into a databand and set a conditions for the databand or subreport. In 'Conditions' property make sure that 'Component is Enabled' checkbox is unchecked.

Thank you.
Post Reply