Hi guys, having a bit of trouble at the minute with a new query,
I have 4 colums
DATE 1 DATE 2 DAYS Days with reviewer
i need a query to check
if DATE 2 = blank,(if true Datediff between Date 1 and now in days),(if false, DateDiff between Date 2 and now in days)
Cheers guys
Tried
Expr2: IIf([date2]="",DateDiff("d",[date2],Now()),DateDiff("d",[date1],Now()))
But its only giving me the date difference for some fields, i don't think the False statement is working..
Much appreciated.
I have 4 colums
DATE 1 DATE 2 DAYS Days with reviewer
i need a query to check
if DATE 2 = blank,(if true Datediff between Date 1 and now in days),(if false, DateDiff between Date 2 and now in days)
Cheers guys
Tried
Expr2: IIf([date2]="",DateDiff("d",[date2],Now()),DateDiff("d",[date1],Now()))
But its only giving me the date difference for some fields, i don't think the False statement is working..
Much appreciated.