User Profile
Collapse
-
I like the Nz suggestion, much neater. Thanks for that NeoPa. -
-
If DateSold is null then use Date() in workday function
I have two query expressions which works separately:
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])))
No activity results to display
Show More
Leave a comment: