Data Connectivity
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Data Connectivity
Message Icon Topic: Missing Parameter Fields Post Reply Post New Topic
Author Message
Powderworks
Newbie
Newbie


Joined: 29 Jun 2014
Location: Australia
Online Status: Offline
Posts: 4
Quote Powderworks Replybullet Topic: Missing Parameter Fields
    Posted: 18 Aug 2014 at 7:16pm
Getting Missing Parameter Fields from this code which I got from this Forum

ReportDocument cryRpt = new ReportDocument();
     cryRpt.Load(Server.MapPath("CR3.rpt"));                  
     ParameterFields parameterFields = new ParameterFields();
     ParameterField parameterField = new ParameterField();
        parameterField.ParameterFieldName = "LocID";
       ParameterDiscreteValue parameterValue = new ParameterDiscreteValue();
       parameterValue.Value = 164;
      parameterField.CurrentValues.Add(parameterValue);
       parameterFields.Add(parameterField);
       CrystalReportViewer1.ParameterFieldInfo = parameterFields;
        CrystalReportViewer1.ReportSource = cryRpt;

Any suggestions would be much appreciated


Edited by Powderworks - 18 Aug 2014 at 7:16pm
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.