By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,424 Members | 1,376 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,424 IT Pros & Developers. It's quick & easy.

Passing parameters to Crystal report

P: n/a
Hi,

I'm having a problem with passing parameters to Crystal Report.

I'm using the following cod (C#):

ParameterFields paramFields = new ParameterFields ();
ParameterField paramField = new ParameterField ();
ParameterDiscreteValue discreteVal = new ParameterDiscreteValue ();

paramField.ParameterFieldName = "ExaNummer";
discreteVal.Value = exanummer;

paramField.CurrentValues.Add(discreteVal);
paramFields.Add(paramField);
this.crvAfdrukken.ParameterFieldInfo = paramFields;

When i run the form, CR is prompting me for a value, although it is
set in the code above.

Am I missing something or doing something wrong?
Nov 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.