running crystal report with OCX

Hi, I try to run CR9 from Navision through OCX. Can anyone give a simple example how to run the cr9 from Navision? Thank you

Hi, You can not use the OCX with Navision.You need to install the DLL for Crystal Report.

Hi, Try this out. add crycontrol as automation global and subtype Crystal Report Control. CREATE(crycontrol); crycontrol.Connect(‘DSN=;UID=sa;PWD=;DSQ=;’); crycontrol.ReportFileName(’’); crycontrol.DiscardSavedData(TRUE); crycontrol.WindowTitle(’’); crycontrol.Action(1); Thanks & Regards