Crystal Reports upgrade 8.5 to Release 10

Crystal Reports upgrade 8.5 to Release 10

Postby RiazKhan » Sat Oct 22, 2016 8:20 am

Crystal Reports upgrade 8.5 to Release 10+

Currently I am using crystal reports version 8.5, and calling startreport function to activate the preview. My usual practice is to create a temporary dbf file and append the required data into the temp file and call that temp file into the crystal rpt file.

I need to upgrade the crystal reports version higher than release 10. Reason for upgrade to be compatible with new version of windows and office products. After installing the new version, my reports do not open.

If there some new functions to compile for the new crystal reports version. If so any help for guidance is appreciated...

Thnx / regards
FWH 20.04/Harbour3.2/Bcc7.40+/ilink32/Pelles 9.0
EMail: amriazkhan@gmail.com
Pakistan
User avatar
RiazKhan
 
Posts: 99
Joined: Fri Dec 16, 2011 3:30 pm
Location: Pakistan

Re: Crystal Reports upgrade 8.5 to Release 10

Postby Enrico Maria Giordano » Sat Oct 22, 2016 11:51 am

Try this, I don't know if it works with release 10, though:

Code: Select all  Expand view
#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oCrystal := CREATEOBJECT( "CrystalRuntime.Application" )
    LOCAL oReport  := oCrystal:OpenReport( "test.rpt" )

    LOCAL oWnd, oCRViewer

    DEFINE WINDOW oWnd

    oCRViewer = TActiveX():New( oWnd, "CRViewer10.CRViewer" )

    oCRViewer:SetProp( "ReportSource", oReport )
    oCRViewer:Do( "ViewReport" )

    oWnd:oClient = oCRViewer

    ACTIVATE WINDOW oWnd;
             MAXIMIZED

    RETURN NIL


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8713
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Crystal Reports upgrade 8.5 to Release 10

Postby RiazKhan » Sun Oct 23, 2016 4:42 am

Thanks Enrico, will try this out next week.
Regards
FWH 20.04/Harbour3.2/Bcc7.40+/ilink32/Pelles 9.0
EMail: amriazkhan@gmail.com
Pakistan
User avatar
RiazKhan
 
Posts: 99
Joined: Fri Dec 16, 2011 3:30 pm
Location: Pakistan


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 44 guests