Hi all,
We recently have begun using CR XI Developers Edition, and are able to design reports accessing data on our Progress tables just fine. However, when we try to open a report via Progress (see below) we get a msg "The Application server for CrystalRuntime.Application is not registered (5893)". If anyone could tell me what we're doing wrong or point me in the right direction I would greatly appreciat it.
Scott
DO:
DEFINE VARIABLE chApplication AS COM-HANDLE.
DEFINE VARIABLE chDocument AS COM-HANDLE.
CREATE "CrystalRuntime.Application" chApplication.
chDocument = chApplication:OpenReport("C:\cust2.rpt", 1).
/*chDocument.SetReportVariableValue(varname, varvalue).*/
chDocument:ReadRecords().
chDocumentrintOut(TRUE,1,TRUE,1,1).
/*
chDocument.selectPrinter(drivername, printername, portnr).
chDocument.PrintOut(promptyesno, nrofcopied, collatedyesno, startpage, stoppage).*/
/* release com-handles */
RELEASE OBJECT chApplication.
RELEASE OBJECT chDocument.
END.
We recently have begun using CR XI Developers Edition, and are able to design reports accessing data on our Progress tables just fine. However, when we try to open a report via Progress (see below) we get a msg "The Application server for CrystalRuntime.Application is not registered (5893)". If anyone could tell me what we're doing wrong or point me in the right direction I would greatly appreciat it.
Scott
DO:
DEFINE VARIABLE chApplication AS COM-HANDLE.
DEFINE VARIABLE chDocument AS COM-HANDLE.
CREATE "CrystalRuntime.Application" chApplication.
chDocument = chApplication:OpenReport("C:\cust2.rpt", 1).
/*chDocument.SetReportVariableValue(varname, varvalue).*/
chDocument:ReadRecords().
chDocumentrintOut(TRUE,1,TRUE,1,1).
/*
chDocument.selectPrinter(drivername, printername, portnr).
chDocument.PrintOut(promptyesno, nrofcopied, collatedyesno, startpage, stoppage).*/
/* release com-handles */
RELEASE OBJECT chApplication.
RELEASE OBJECT chDocument.
END.