Click here to Skip to main content
15,894,460 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm trying to filter out data using the following code:

{fg_rdtlh.upd-date} in Date (2018, 01, 01) to Date (2018, 01, 31) and
not ({fg_rdtlh.rita-code} in ["E", "C", "A"])

So basicallly, if the date isn't in January 2018 and the RITA Code is an E, C, or A, I want to omit the data.

Here's what I want to add and can't find the correct syntax. I want another filter that says if the RITA code is "T" and fg_rdtlh.qty is less than zero, omit as well.

Can someone help me with that?

What I have tried:

New to Crystal so not sure how to handle
Posted
Updated 15-Feb-18 7:41am

1 solution

At a guess, something like:
and ({fg_rdtlh.rita-code} <> "T" or {fg_rdtlh.qty} >= 0)
It might be != instead of <>; I haven't had to touch Crystal Reports in a long time! :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900