Skip to content

About Crystal Report

Nahul Antony

Asked Jul 26, 2013, 3:13 AM EDT2 answers
Share
LinkedInX
In Crystal Report When refresh they asking You can provide a single value for this parameter.
enter the value you want to include.

Discrete Values________________


 string strReportPath = "";
            CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
            DataSet ds = new DataSet();
            ds = fnPrintLoanClosed(CNo);          
            strReportPath = Application.StartupPath + "\\Reports\\InterestCalc.rpt";
            rpt.Load(strReportPath);
            rpt.SetDataSource(ds);
            rpt.Refresh();
            crystalReportViewer1.ReportSource = rpt;
            crystalReportViewer1.RefreshReport();  ---------------------->                [her they asking discrete values_______________]
            crystalReportViewer1.ShowCloseButton = true;
            crystalReportViewer1.DisplayGroupTree = false;
            crystalReportViewer1.ShowRefreshButton = true;
            crystalReportViewer1.ShowGroupTreeButton = true;
            crystalReportViewer1.ShowPrintButton = true;

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    When i using Crystal Report they are asking discrete values

    string strReportPath = "";
                CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
                DataSet ds = new DataSet();
                ds = fnPrintLoanClosed(CNo);          
                strReportPath = Application.StartupPath + "\\Reports\\InterestCalc.rpt";
                rpt.Load(strReportPath);
                rpt.SetDataSource(ds);
                rpt.Refresh();
                crystalReportViewer1.ReportSource = rpt;
                crystalReportViewer1.RefreshReport();
                crystalReportViewer1.ShowCloseButton = true;
                crystalReportViewer1.DisplayGroupTree = false;
                crystalReportViewer1.ShowRefreshButton = true;
                crystalReportViewer1.ShowGroupTreeButton = true;
                crystalReportViewer1.ShowPrintButton = true;

    code given
    0
  • 0
    please Answer about my Crystal report
    0