If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Set "Source report" on a Report View - C#

Started by C, 02 Nov 2010 09:13:44 AM

Previous topic - Next topic

C

Hi
I was wondering if anyone could tell me how to set the source report on a new report view in C#

C

reportView rv = new reportView();

baseClassArrayProp bcap = new baseClassArrayProp();
baseClass[] bc = new baseClass[1];
nil nil = new nil();
stringProp tps = new stringProp();
tps.value = parentSearchPath;
nil.searchPath = tps;
bc[0] = nil;
bcap.value = bc;
rv.@base = bcap;



9 lines to set 1 value. nice