If [ExprDate] is the result of the expression IIf(([DateofTraining]=[ExpirDate]),"No Expiration",[ExpirDate]), then the result must be a variant because it is either "No Expiration" or it appears to be a date: [ExpirDate]. Certainly, if the result is No Expiration, it cannot be less than <Date(). That would be an invalid comparison, thus it defaults to the part of the IIF statement that is to be chosen if the first part is False, which is EXPIRED
Last edited by Micron; 03-25-2018 at 07:06 PM.
Reason: clarification
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.