> result=iif(option,value1,value2) oh, this is visual basic (should I have said this? ;-). Good idea, drawback is it has the same disadvantage as the tuple method in that it does evaluate both values first (btw exactly what VB does, too). Ciao ...Jochen