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

Dynamic list of values in Crystal report


I designed one crystal report with parameter type for list of values are static and dynamic.

Staic Type(City names are manually entered by me at design time)

Dynamic Type( I created a link for City parameter with database, so it should display whatever data available in the database for that particular field)

For static I can fetch the data. but For dynamic list of values, it should fetch the value from Database.

Is there any APIs available to identify whether it is static or dynamic?

How to handle this scenario using CR API's?

Please share your thoughts on this...

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 Nov 12, 2014 at 01:26 PM

    I am using Crystal reports for visual studio 2010.

    I want to write a dialog which should display a list of value for dynamic parameters.

    As of now i can handle this for static parameters using "parameterFieldDefinition.DefaultValues.Count". This defaultvalues.count return proper value for static parameters. But for dynamic parameters it is always zero.

    so please help me to handle dynamic parameter details using CR APIs in C#

    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.