Hi Everyone,
I have a column with 3 possible values, exempt, passed and null. I am trying to write a statement within a query that will populate a new column dependent on the values in the original field. The result for the records with "passed" depend on specific dates entered on a form, while the "exempt" and null entries do not and should not rely on the dates entered. This is what I have:
RFTStatus: (IIf([respiratoryfittest]![status date] Between [Forms]![ahaswitchboard]![From Date] And [Forms]![ahaswitchboard]![thru Date] And [respiratoryfittest]![status]="passed", "complete")) Or (iif([respiratoryfittest]![status]="passed","Complete","Incomplete"))
I unsuccessfully end up with "-1" for each of the records. What am I doing wrong?![]()