Page 1 of 1

Programmally Generate report

Posted: Wed Aug 12, 2009 11:19 pm
by ringo
Hi All,

I just wonder is there any sample code out there that can help me on the below requirement:

I have a Master-Detail type of report and the column to be gnereated in report is different depening on the info from Master table.

For example,

In Master record number 1, require to extract 3 columns from detail table
In Master record number 2, require to extract 5 columns from detail table

Based on the combination, ii might have over 50 different typs of report to be generated and instead of creating a fix template, I just wonder can I do it programmally.

I really wish there's some sample code out there can help me on the above so that I can cut short my time trying to study by myself.

Many thanks in advance.

Ringo

Programmally Generate report

Posted: Thu Aug 13, 2009 2:43 am
by Brendan
Hi

Have a look at the 'RuntimeBuildReport' Sample project that comes packaged with the StimulReports installation.

Programmally Generate report

Posted: Fri Aug 14, 2009 2:31 am
by ringo
Brendan wrote:Hi

Have a look at the 'RuntimeBuildReport' Sample project that comes packaged with the StimulReports installation.
Hi,

Thanks for reply.

I don't see the sample project you menitioned above. Btw, I'm using the Reports.Web.2009 version. Any idea where to get the sample you mentioned above?

Thanks.

Programmally Generate report

Posted: Fri Aug 14, 2009 6:11 am
by Jan
Hello,

You can get it in attachment.

Thank you.