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

Using Parameter to Filter Data in Crystal Report XI

Date: 01182012, Wednesday

Good Day,

I'm in a project of creating a system generated report for the Inventory Module of an Accounting System. The report was named "Issuing Item Status Report" with the objective of showing Slow Moving Items and Fast Moving Items. (The term "Moving" was related to the status of issuing an item).

The following are the fields and sample data of report:

No. Prod. Code Product Description Balance Issuing Receiving

1 BV014 Fruits Orange 88 5 93

On this sample, "Fruits Orange" Item has remaining Balance of 88 Items. 5 Items was issued from 93 items received.

(Formula: Receiving - Issuing = Balance)

Now, my problem is I want to insert Parameter to filter data on issuing column. The parameter should only accept numbers and another Parameter for Comparison Symbol. For this report, I will only use "Greater Than (>)" and "Less Than or Equal To (<=).


Number: 5

Symbol: > (Greater Than)

In example above, all items in issuing column which has a quantity of Greater Than 5 will be only display. On the other hand, if I choose Less Than or Equal To 5, it will only display items with issuing number of less than or equal to 5.

Any help in this matter will be highly appreciated. Thanks and have a nice day ahead.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2012 at 03:03 PM

    Sorry, I hit tab, and next thing I knew the message was gone. I will start over. Also the formum will not let me

    put the less than greater than symbols together, so... where I have $$, it is really < and >

    create two parameters

    First one, I named {?$$}

    Type is String

    Values were < and >

    I added Greater than, and less than in the description areas

    I then created a parameter named Number

    Type is number

    Description was Number

    Then use the formula below for your select

    if {?$$} = > then {Issuing} > {?NUMBER}else
    {Issuing} < {?NUMBER}

    Edited by: Don Williams on Jan 18, 2012 7:10 AM

    if you wrap your formula in "" ( without the double quotes ) it will not format the text

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Date: 01192012, Thursday

      Hi Sir,

      I really appreciate your concern. I'm on the process of testing your said procedure.

      Where should I insert the formula you've indicated in your post?

      Should I create a formula and drag it on design or in the Section Expert?

      Thanks and have a nice day ahead.


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.