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

Parameter Capturing in CR 2008

Hi experts,

I am using crystal report 2008 and backend database is sql server 2008.

I created a report based on a stored procedure which has a single parameter. For example @ID =?

I am using a view to give the list of value to this stored procedure for example:

{View I am using}

ID Request Details

1 Submission to customers

2 request for business

3 request in process

4 request pending

… ……….

I am using the ID field of view to give the list of values to the @ID parameter of SP.

And I am using the Request Details Field of the view as the description of the List of values.

So when the user runs the report it only shows the description in the list of values to the user which makes it easier for them for auditing purpose.

Is there any way that I can capture the description (Request Details) selected from the list of values on my report.

I know that I can capture the ID field but I want to show the description (Request Details) field on the report as well. Because if there is no data for the selected ID then it leave my report blank. If I can capture the description then I can show them the values they selected from parameters.

Will appreciate your help.

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on May 24, 2013 at 11:14 PM

    Have you tried "Show Description" :


    Capture.JPG (68.2 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 24, 2013 at 11:08 PM

    Hi,

    Go to the parameter and beside Value field>>select Description Field" of the ID and then say Action>> Import, the values.

    Under the value options of the parameter select>> "Prompt wiht Description with Only">> set as "True".

    You should now be able to see the description rather than just ID.

    Thanks,

    Jothi

    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.