You almost have the right answer. Look at the IFF and the DateDiff statements. Should be able to do:
IFF (IsNull(EndDate), DateDiff("d", Date(), StartDate), DateDiff("d", EndDate(), StartDate)) Terry
**************************
* General Disclaimor - Please read *
**************************
Please make sure your post is in the CORRECT forum, has a descriptive title, gives as much detail to the problem as possible, and has examples of expected results. This will enable me and others to help you faster...