Alaska Software Inc. - Reports with Crystal Reports.
Username: Password:
AuthorTopic: Reports with Crystal Reports.
César Calvo Reports with Crystal Reports.
on Sat, 21 Jan 2017 18:00:23 +0100
Dear friends.

I am trying to use SAP Crystal Reports 2016 with ActiveX but I dont know 
what is not possible.

Could anybody help me?

Maybe not only is possible with ActiveX.

I attach the source code.

Thanks in advance.
César Calvo.


Captura.JPG
XPPERROR.LOG
CRYSTAL.PRG
César Calvo Re: Reports with Crystal Reports.
on Sat, 21 Jan 2017 18:02:57 +0100
It seams there is a problem with the attachment files.
In only zip file.

"César Calvo"  escribió en el mensaje de 
noticias:692aa53c$4f3fa57a$51efd@news.alaska-software.com...

Dear friends.

I am trying to use SAP Crystal Reports 2016 with ActiveX but I dont know
what is not possible.

Could anybody help me?

Maybe not only is possible with ActiveX.

I attach the source code.

Thanks in advance.
César Calvo.


CRYSTAL.zip
Jim LeeRe: Reports with Crystal Reports.
on Sun, 22 Jan 2017 01:26:44 +0100
try

oCrystal := Automationobject():create( "CrystalRuntime.Application.11" )
IF oCrystal <> NIL

instead of  XbpActiveXControl(). Rest seems to be ok
César Calvo Re: Reports with Crystal Reports.
on Sun, 22 Jan 2017 06:53:01 +0100
Thanks Jim.

I don´t know what it is not working.

Could you send me a complete example?

Regards.
César.

"Jim Lee" escribió en el mensaje de 
noticias:27e19fc0$740d8051$520d7@news.alaska-software.com...

try

oCrystal := Automationobject():create( "CrystalRuntime.Application.11" )
IF oCrystal <> NIL

instead of  XbpActiveXControl(). Rest seems to be ok
Jim LeeRe: Reports with Crystal Reports.
on Sun, 22 Jan 2017 21:18:07 +0100
> Could you send me a complete example?

i do not work with Crystal Report so i have no Source
Itai Ben-ArtziRe: Reports with Crystal Reports.
on Thu, 26 Jan 2017 23:23:39 -0800
Try this:
oreport:=oCrystal:openreport("REPORT.RPT", 1)

If the report requires any data, you should also upload the data:
oReport:Database:Tables:Item(1):Location := 'c:\temp\data.dbf'

-Itai