ReportDesignHandle.findDataSet(datasetname);
Or you can get the dataset list:
ReportDesignHandle.getDataSets();
Thanks!
-----Original Message-----
From:
birt-report-designer-dev-bounces@...
[mailto:
birt-report-designer-dev-bounces@...] On Behalf Of Tom
Corcoran
Sent: Thursday, May 29, 2008 4:22 PM
To:
birt-report-designer-dev@...
Subject: [birt-report-designer-dev] OdaDataSetHandle ref for
existing.rptdesign template
Starting with a .rptdesign template I am looking to manipulate this at
runtime to run against a number of databases.
http://dev.eclipse.org/newslists/news.eclipse.birt/msg20490.htmloutlines doing
OdaDataSetHandle dsHandle = designFactory.newOdaDataSet( "ds",
"org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet" );
I could then point odaURL to the new database, using:
dsHandle.setProperty( "odaURL",
"jdbc:classicmodels:sampledb" );
My question is how can I get an instance of OdaDataSetHandle for
existing
.rptdesign rather than create a new one?
--
View this message in context:
http://www.nabble.com/OdaDataSetHandle-ref-for-existing-.rptdesign-template-tp17517667p17517667.html
Sent from the Eclipse BIRT - Report Designer - Dev mailing list archive
at Nabble.com.
_______________________________________________
birt-report-designer-dev mailing list
birt-report-designer-dev@...
https://dev.eclipse.org/mailman/listinfo/birt-report-designer-dev_______________________________________________
birt-report-designer-dev mailing list
birt-report-designer-dev@...
https://dev.eclipse.org/mailman/listinfo/birt-report-designer-dev