Skip Form Load when report is opened

Stimulsoft Reports.NET discussion
Post Reply
Tom7
Posts: 21
Joined: Wed Mar 24, 2010 5:22 am
Location: Belfast

Skip Form Load when report is opened

Post by Tom7 »

Hi All

I am using Drill Down functionality in a report, and want to Drill to another report, the problem is the drill down report has a Form associated with it, that loads when the report is run to collect some parameters, this is needed when the user runs this report. However when the I am using the Drill Down feature in another report, I want to open this second report but do not want the Form to load, as I will pass the relevant parameters via the Drill Down Parameters.

Anyone know how to accomplish this? I do not want to make another version of the report without the Form, as I will then need to maintain both reports

Thanks

Tom
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Skip Form Load when report is opened

Post by Jan »

Hello Tom,

You can provide drill-down parameter, for example of boolean type which you can test before detail report rendering in BeginRenderEvent of detail report. For example:

Code: Select all

if (myparameter)
 Form1.Visible = false;
Thank you.
Post Reply