Prev: Divide by zero error
Next: SQL Report Builder 2005
From: stacey on 8 May 2007 16:10 why am I getting the error "Argument Not Specified For parameter 'TruePart' of 'Public Function IIf(Expression as Boolean, TruePart as Object, FalsePart as Object) as Object' from the following textbox expression in reporting services 2005? =IIF(Sum(Fields!ElapsedRunSeconds.Value)is Nothing, 0, Sum(Fields!ElapsedRunSeconds.Value)/60.0/60.0)
From: toolman on 9 May 2007 10:36 Stacey, Try =IIF(Sum(Fields!ElapsedRunSeconds.Value) is Nothing, 0, Sum(Fields! ElapsedRunSeconds.Value)/3600.0) Inserting a space between "Sum(Fields!ElapsedRunSeconds.Value)" and "is" or changing is to = should fix it. Changing the /60.0/60.0 to /3600.0 is mostly for looks and simplicity. HTH toolman stacey wrote: > why am I getting the error "Argument Not Specified For parameter 'TruePart' > of 'Public Function IIf(Expression as Boolean, TruePart as Object, FalsePart > as Object) as Object' from the following textbox expression in reporting > services 2005? > > =IIF(Sum(Fields!ElapsedRunSeconds.Value)is Nothing, 0, > Sum(Fields!ElapsedRunSeconds.Value)/60.0/60.0)
|
Pages: 1 Prev: Divide by zero error Next: SQL Report Builder 2005 |