Справочник Пользователя для Business Objects 7008038
Crystal Reports Server XI
Upgrading Crystal Enterprise 10 Embedded Edition Applications
Try
ceReports = ceInfoStore.Query("Select SI_ID,SI_NAME From
CI_INFOOBJECTS Where SI_NAME = 'Consolidated Balance
Sheet' And SI_INSTANCE=0")
CI_INFOOBJECTS Where SI_NAME = 'Consolidated Balance
Sheet' And SI_INSTANCE=0")
ceReport = ceReports.Item(1)
Catch err As Exception
‘handle error
End Try
.NET SDK (C#.NET)
InfoObjects ceReports;
InfoObject ceReport;
try
{
ceReports = ceInfoStore.Query("");
ceReport = ceReports[1];
}
catch (Exception e)
{
//handle error
}
COM SDK (ASP)
Set ceReports = IStore.query("Select * from CI_INFOOBJECTS
where SI_NAME='Consolidated Balance Sheet'")
where SI_NAME='Consolidated Balance Sheet'")
Java SDK (JSP)
// Retrieve the report by name
IInfoObjects ceReports = ceInfoStore.query("Select SI_ID,
SI_NAME From CI_INFOOBJECTS Where SI_NAME = 'Consoldiated
Balance Sheet'");
SI_NAME From CI_INFOOBJECTS Where SI_NAME = 'Consoldiated
Balance Sheet'");
Create and open a ReportClientDocument object
This section provides to code to create a ReportClientDocument object. This
object is created by invoking the OpenDocument method of the
RASReportFactory object. Add the following sample code for the appropriate
SDK to your application:
object is created by invoking the OpenDocument method of the
RASReportFactory object. Add the following sample code for the appropriate
SDK to your application:
.NET SDK (VB.NET)
3/30/2007 10:15 AM
Copyright © 2007 Business Objects. All rights reserved.
Page
8
crserver_xi_upgrading_from_ce10_embedded.pdf