If statement

lwarren1968

Registered User.
Local time
Today, 06:59
Joined
Jan 18, 2013
Messages
78
3 fields involved in this question! I need to write query/statement where IF MAP_Enable = "Y" then return pricing for both Map_Price and MSRP_Price. If "N" then both MAP_Price and MSRP_Price should be blank.

MAP_ENABLE MAP_PRICE MSRP_PRICE
Y 1.99 1.99

Any help would be much appreciated. Thanks.
 
Self taught, sorry. But, yes there is a possibility that the MAP_Enable could be blank.
 
Nothing to be sorry for, well except not answering my questions.

What have you tried? Post code.

What occurs with those null values?
 
I did one for each using only "Y" as you suggested. Thanks again.

msrp_price_new: IIf([map_enabled]="Y",[msrp_price])
 

Users who are viewing this thread

Back
Top Bottom