I am using ACCESS 2000 and I have a simple table with the following fields: HCHV_PROGRAM/DateIn/DateOut/TimeInProgram. Within a Query I can create a DateDiff function that will give me TimeInProgram based on DateIn minus DateOut Or DateIn minus the Current Date. But what I need is a TimeInProgram based on DateIn minus DateOut if one exists otherwise I need a TimeInProgram based on DateIn minus the Current Date. A sort of IF/ELSE in one expression, in a query, if that is possible?