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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OR Condition in Lookup Transformation

Status
Not open for further replies.

prophecyslides

Programmer
Feb 17, 2005
2
US
Is this possible or is there anyway to work around this limitation?

I am trying to accomplish something like this:

activation_date <= transaction_date
(deactivation_date > transaction_date or
deactivation_date is null)
 
Hi

I don't understand ur question, is both the activation_date and de_activation date to be checked or...something else...pls explain further
 
Notice the OR condition where it check deactivation_date > transaction_date OR deactivation_date IS NULL

It would actually be something like:
IN_transaction_date as an input to the lookup.

How can I put the OR in a Lookup transformation?
 

Your validation would be
IIF(DECODE(deactivation_date>in_transactiondate,1,0)=0 OR
NOT ISNULL(deactivation_date )),TRUE,FALSE

)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top