Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Record Selection based on Condition

Status
Not open for further replies.

tyfish

Programmer
Jul 18, 2000
5
US
I want to base my selection on one condition which is based if another condition is true.
if any of these are conditions are met I do not want to use the record. I am not sure on how to do this with crystal select expert. Any Help would be greatly appreciated.
example below:

(if {UT001.AMATNB} = 9 and
{ut001.ama9nb} is not one of [2,3,4])
(If {UT001.AMATNB} = 11 and
{ut001.ama9nb} is not one of [1,2,3,5])
(If {UT001.AMATNB} = 12 and
{ut001.ama9nb} is not one of [1,5])
(If {UT001.AMATNB} = 13 and
{ut001.ama9nb} is not one of [3,5])

Thank you in advance

Ty
 
Thank you for the quick response!

I tried the 'if' statement and it is asking for the 'then' to complete the statement.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top