Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Viewer and drill down

Status
Not open for further replies.

Nro

Programmer
May 15, 2001
337
CA

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top