I have the following control source for a textbox in my report footer:
Sum(IIf([Shift]='Aft',[Expr1],0))
It very simply sums up Expr1 for Aft shifts. The problem is a few lines don't run Aft shifts and the text box returns a value of 'Num#'. How do you I write an expression that returns '-' if Aft shift does not exist for that line?
Sum(IIf([Shift]='Aft',[Expr1],0))
It very simply sums up Expr1 for Aft shifts. The problem is a few lines don't run Aft shifts and the text box returns a value of 'Num#'. How do you I write an expression that returns '-' if Aft shift does not exist for that line?