Click here to Skip to main content
15,894,460 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The report you requested requires further information sap Crystal Report visual studio 2010 64bit

requires further information i have data base ms access without logins user name or password

how can load my Report without login further information code is :
C#
private void fillReport()
    {
        ReportDocument r=new ReportDocument();

        Session["GetYear"] = null;

        if (!string.IsNullOrEmpty(Request.QueryString["pId"]) && int.TryParse(Request.QueryString["pId"], out checkInt))
        {
            CrystalReportViewer1.Visible = true;

            CrystalDecisions.CrystalReports.Engine.ReportClass rd = new CrystalDecisions.CrystalReports.Engine.ReportClass();

            rd.FileName = Server.MapPath("~/Reports/CustomerInfo.rpt");

            rd.RecordSelectionFormula = "{Maintenance.Id_Number} = " + checkInt;

            a.Updateprint(checkInt);

            CrystalReportViewer1.ReportSource = rd;

            Session["rpt"] = rd;
Posted
Updated 17-Oct-13 2:51am
v2

1 solution

Maybe
C#
rd.RecordSelectionFormula = "{Maintenance.Id_Number} = " + checkInt.ToString();

Hard to tell without further informations...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900