Hello.
I’m using VFP 9 with Crystal 11.5 viewer. I create the preview in a normal form, and it’s working very well.
Code:
lcMainCrystalView = "CrystalReports115.ActiveXReportViewer.1"
THISFORM.AddObject("CRViewer1","olecontrol",lcMainCrystalView)
toReport = "c:\temp\pipo.rpt""
THISFORM.CRViewer1.reportSource = toReport
THISFORM.CRViewer1.DisplayGroupTree = .T.
THISFORM.CRViewer1.ViewReport
The report is previewed in the form. Pipo.rpt has groups, and in the viewer, it shows the group tree. Fine. In regular Crystal (Cystal 2008), I can right click on one node (group item) to open one tab, and then, print what’s on this tab. It’s not working with the Ole viewer in VFP. Does anyone’s use this?
Thanks
Nro