I have the following field in Query Builder
and it works fine
What I would like, however, is to include the following condition into the above
so in effect the status would be either current, nearly expired or expired
Can anyone help? Thanks
Code:
Status: IIf(DateValue(Now())>DateValue([Expiry Date]),"Expired","Current")
and it works fine
What I would like, however, is to include the following condition into the above
Code:
Status: IIf(DateValue([Expiry Date] - DateValue(Now()) < 2),"Nearly Expired","Current")
so in effect the status would be either current, nearly expired or expired
Can anyone help? Thanks