Hi. I am converting a lot of queries to views, and i'm sort of in a gridlock on how to write this line in T-Sql:
Sum(IIf(IsNull([dato]) Or [dato]>[Kursdato],0,[kapitalnedsettelse])) AS kapitalned
In english:
I want the field "kapitalned" to be 0 if the field "date" is null, or greater than the...