void subreportLogon(ReportClientDocument rcd)
{
final String subReportName = "SubReport";
ITable it = rcd.getSubreportController().getSubreportDatabase(subReportName).getTables().getTable(0);
it.getConnectionInfo().setUserName("sa");
it.getConnectionInfo().setPassword("sa");
rcd.getSubreportController().setTableLocation(
subReportName,
(ITable)rcd.getSubreportController().getSubreportDatabase(subReportName).getTables().getTable(0),
it
);
}|
Business Objects, an SAP company http://www.businessobjects.com/ Support services http://www.businessobjects.com/services/support/ Product Documentation on the Web http://support.businessobjects.com/documentation/ |