Print Page | Close Window

Don't allow users clicks in report

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=12778
Printed Date: 28 Mar 2024 at 1:45pm


Topic: Don't allow users clicks in report
Posted By: delmoniko
Subject: Don't allow users clicks in report
Date Posted: 01 Apr 2011 at 3:04am
Hi all! I'm starting in CrystalReports and I'm using VS2008 with the integrated version of CrystalReports. My code is something like that:
                            Dim lfrmVistaPreviaCrystal As New frmVistaPreviaCrystal
                            Dim rptDetail As New ReportDocument

                            rptDetail.Load("C:\rptDetail.rpt")
                            rptDetail.SetDataSource(.AGL003.Tables(0))

                            rptDetail.SetParameterValue("nTotCoP", nTotCoP)
                            rptDetail.SetParameterValue("nTotObP", nTotObP)

                            lfrmVistaPreviaCrystal.CrystalReportViewer.ReportSource = rptDetail
                            lfrmVistaPreviaCrystal.CrystalReportViewer.DisplayGroupTree = False
                            lfrmVistaPreviaCrystal.CrystalReportViewer.ShowGroupTreeButton = False
                            lfrmVistaPreviaCrystal.ShowDialog()

The report works perfect and shows all data as well BUT in the preview report it allows user's clicks showing black rectangle borders in every object of the report. I'm searching in properties but I can't find nothing usefull. Is there any way to disable this borders in controls? Tnx in advance.



Print Page | Close Window