I am trying to write a query that works like this
var1 = y/n
var2 = y/n
var3 = y/n
ItemNo
So what I want to do is this
IIF(var2=-1,[ITEMNO] AND VAR1=-1,[ITEMNO]
What I have is several Item no all the same with a diffrent change order number and 3 variables y/n to mark them, I cannot figureout how todo the AND ,I think this is my problem.
var1 = y/n
var2 = y/n
var3 = y/n
ItemNo
So what I want to do is this
IIF(var2=-1,[ITEMNO] AND VAR1=-1,[ITEMNO]
What I have is several Item no all the same with a diffrent change order number and 3 variables y/n to mark them, I cannot figureout how todo the AND ,I think this is my problem.