I have two query expressions which works separately:
Days1:
Day4:
but when combined it does not work - too many arguments:
Days5:
what is the solution please?
Days1:
Code:
IIf(IsNull([DateSold]),Date()-[DateBuy],Workdays([DateBuy],[DateSold]))
Code:
Workdays([DateBuy],Date())
Days5:
Code:
IIf((IsNull([DateSold]),Workdays([DateBuy],Date()),Workdays([DateBuy],[DateSold])))
Comment