Skip to Content
author's profile photo Former Member
Former Member

Rememvering Parameter Values

When I use the .NET Crystal Control to display a report and that report contains parameters, I am looping through the parameter collection and specifying the values. I wantr to be able to save those values to the report so that the next time I run the report, it will automatically use the vgalues from mthe last time I ran it. I was trying to do this by adding the value to the parameter field DefaultValues collection but that did not work. Can anyone tell me how I can save the value back to the parameter so that it will be remembered?

parameterField.DefaultValues.Add("Red");

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 07, 2011 at 05:17 PM

    When I choose "Save Data to Report" and deploy it, I get the last set of parameters that display initially on one of my reports.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.