Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Report Design
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Report Design
Topic: Base a Parameter on a Formula
Oldest Post First
Newest Post First
Author
Message
jsh8286
Groupie
Joined: 09 Mar 2012
Online Status: Offline
Posts: 46
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 Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
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 Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
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.063 seconds.
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
CLICK PLAYS
|
COACH FORUMS
|
TROPICAL FISH
© 2004-2024 Brian Bischof. All Rights Reserved.