Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Base a Parameter on a Formula Post Reply Post New Topic
Author Message
jsh8286
Groupie
Groupie
Avatar

Joined: 09 Mar 2012
Online Status: Offline
Posts: 46
Quote jsh8286 Replybullet Topic: Base a Parameter on a Formula
    Posted: 09 Feb 2020 at 8:16am
Have a formula in a crystal report (works fine) that is the following:

If InStr({OEOrdDetailwHead__ao93a171.Description}, 'ML') > 0 then 'Yes ML' else

If InStr({OEOrdDetailwHead__ao93a171.Description}, 'L') > 0 then 'Yes L'

else

'OVER OR UNDER??'

The above formula separates items into their respective groups based where they fall.

How do I incorporate this into a parameter so that I can run the report only to show one of the results?

Thanks in advance.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 10 Feb 2020 at 2:31am
create a static parameter with your 3 options then in the select criteria use the two fields to = each other.

Edited by DBlank - 10 Feb 2020 at 2:31am
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.