Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
| Search | Today's Posts | Mark Forums Read
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 7th, 2006, 01:44 PM
Registered User
 
Join Date: Apr 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem In Crystal report

Hi i am working on Existing ASP.net app'n.i getting some proble when running the appn on local.i am sure that code is correct and added the references...still getting this error.This is driving me crazy..can anyone help

my Error is :1.'set parameter is not member of crystal decisions'
2. printbutton is not member CrystalReportViewer1.HasPrintButton = True
        CrystalReportViewer1.PrintMode = CrystalDecisions.Web.PrintMode.ActiveX




        Dim oReport As New CrystalDecisions.CrystalReports.Engine.ReportDocum ent
        Dim oLogonInfo As New CrystalDecisions.Shared.TableLogOnInfo
        Dim oTable As CrystalDecisions.CrystalReports.Engine.Table

        CrystalReportViewer1.DisplayGroupTree = False
        CrystalReportViewer1.HasGotoPageButton = True
        CrystalReportViewer1.HasPageNavigationButtons = True
        CrystalReportViewer1.HasRefreshButton = True
        CrystalReportViewer1.HasSearchButton = True
        CrystalReportViewer1.HasZoomFactorList = False
        CrystalReportViewer1.HasDrillUpButton = False
        CrystalReportViewer1.DisplayToolbar = True
        CrystalReportViewer1.HasPrintButton = True
        CrystalReportViewer1.PrintMode = CrystalDecisions.Web.PrintMode.ActiveX

        Try

            oReport.Load("D:\Inetpubs\Ocean\Sections\Internal\ monitoring\reports\" & sReportname)
            CrystalReportViewer1.ReportSource = oReport

            If Request("CRParam0") <> "" Then
                oReport.SetParameterValue(0, CInt(Request("CRParam0")))
            End If
            If Request("CRParam1") <> "" Then
                oReport.SetParameterValue(1, CInt(Request("CRParam1")))
            End If
            If Request("CRParam2") <> "" Then
                oReport.SetParameterValue(2, CInt(Request("CRParam2")))
            End If
            If Request("CRParam3") <> "" Then
                oReport.SetParameterValue(3, CInt(Request("CRParam3")))
            End If
            If Request("CRParam4") <> "" Then
                oReport.SetParameterValue(4, CInt(Request("CRParam4")))
            End If


 
Old December 21st, 2006, 03:04 AM
Registered User
 
Join Date: Oct 2006
Location: Noida, UP, India.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok fine,
try it

 CrystalReportViewer1.DisplayToolBar=True;
then do true , false the HasReferesh= true etc...........


Himanshu



From :
Himanshu Sharma




Similar Threads
Thread Thread Starter Forum Replies Last Post
C# Crystal Report Problem abhijeetballal C# 1 September 10th, 2013 02:18 AM
Problem with Crystal Report prankur ASP.NET 1.0 and 1.1 Professional 0 January 7th, 2006 03:45 AM
Crystal Report Problem HELP ! Melibe Beginning VB 6 2 August 23rd, 2005 02:09 PM
Crystal Report Problem harland Crystal Reports 0 November 19th, 2004 02:09 AM
Problem in crystal report Chatanya Crystal Reports 1 October 7th, 2004 03:31 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.