Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Parameters To Report
Message
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Titre:
Passing Parameters To Report
Divers
Thread ID:
01451546
Message ID:
01451546
Vues:
85
I'm using this code to pass parameters to a Crystal Report, and I'm still getting prompted:
foreach (ParameterFieldDefinition Field in Report.DataDefinition.ParameterFields)
{
    ParameterValues Values = new ParameterValues();
    ParameterDiscreteValue DiscreteVal = new ParameterDiscreteValue();

    DiscreteVal.Value = TheValue;
    Values.Add(DiscreteVal);
    Report.DataDefinition.ParameterFields[0].ApplyCurrentValues(Values);

}

RefreshReport();
What am I doing wrong?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform