Hello Micron,
You've got it: "aaaa"="yyyy", AjDate = DateAdd, [FreqExterne] or [FreqInterne] or [FreqUltrasons] are the number, and finally [DateInspection] is the date.
Here is the expression picked from the SQL window:
Code:
IIf([Tb_Inspections]![Inspection]="E",DateAdd("yyyy",[FreqExterne],[DateInspection]),IIf([Tb_Inspections]![Inspection]="I",DateAdd("yyyy",[FreqInterne],[DateInspection]),IIf([Tb_Inspections]![Inspection]="U",DateAdd("yyyy",[FreqUltrasons],[DateInspection]))))))>#4/1/2016#))
I checked in the table and the three fields are numbers, long integer, but I have one record ("Other") that has 0 in each field ([FreqExterne] or [FreqInterne] or [FreqUltrasons]). I replaced 0 with 100, but I still get the same error.
I have no empty field otherwise.
Let's cry....