Hi , my date field name is TransDate and i want to minus the date -1. Anyone know how? My situation is if the time is less than 8pm and the shift is night , so the transdate will minus one. Eg. If today is 29 dec then it should change to 28 dec
Code:
IIF ( record.time<#20:00:00#) AND (calendar.shift = "Night"), record.date -1, "-") AS scantype
The code error is undefined function.