Solved

Filter Results Question

Posted on 2013-06-03
10
247 Views
Last Modified: 2013-06-24
Hello,
      I have a crystal report I wrote to show me all open work orders in our database. I have it grouped by work order id, then work order release id and then part number id. In the details of the report I have several items. One of them is the operations, (sequences), of the work order. These are the steps that make up the work order. The report runs fine and the data is accurate. I would like to filter this report to only show me the open work orders that have an operation that starts with a specified text. I can use select expert to just show me the operations that start with the specified text but I want to see the other operations for that work order that don’t start with the specified text. Any help would be appreciated.

Thank you
0
Comment
Question by:daskas27
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 39216256
If you can do it, build a stored procedure in the database.

You could also build a command to return the items you want.

You can do it in the report through the group select expert.  This is really just a suppression of the groups that don't meet the criteria so if you have summaries they will reflect the suppressed records.

Create a formula

If InStr({YourField},"YourText") > 0 then
    1
Else
    0

Click REPORT --> SELECTION FORMULAS --> GROUP EXPERT
Sum({YourFormula},{OperationsField}) > 0

mlmcc
0
 

Author Comment

by:daskas27
ID: 39226840
No workie.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 39227043
How doesn't it work?

mlmcc
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:daskas27
ID: 39271198
Please see the attached file.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 39271300
You forgot to attach the file

There is a comment field you have to put something into or else the attachment won't be added.

mlmcc
0
 

Author Comment

by:daskas27
ID: 39271308
Please see attached, again.
Formula.pdf
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 39271405
Why do you believe it isn't working?

The string comparison is generally case-sensitive.

mlmcc
0
 

Author Comment

by:daskas27
ID: 39271835
Please see the last page of the screen prints. That is as far as I get.
0
 
LVL 101

Accepted Solution

by:
mlmcc earned 500 total points
ID: 39271863
Sorry.  I didn't [age through it far enough.

WHen you use formulas like

Sum({Field1},{Field2})

Field2 must be one of the groups in the report.  You have 3 groups so those are the only fields you can use.  If you need to use another field for the sum to group on, you need to add it as a group

mlmcc
0
 

Author Closing Comment

by:daskas27
ID: 39271957
Bingo! It works just as I wanted.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question