Hey Duane,
The function is one I found here running a module called WorkingDaysMod called WorkingDays2. It uses a table of holidays along with the opened date and closed date to compute the # days pending for each incident.
The expression in the control source is: =WorkingDays2([Opened Date],NZ([Closed Date],Date()))
The name field Text Box is: Days Pending
The name of the Control is: Days Pending
The data type is a General Number (samples 1,2,3,........)
The label on the form field is: # Days Pending
I have a field in my table called "Days Pending" which at the outset I wanted to use to store the value. Since then I've learned it is better to do the computation when the report is generated rather than attempt to store it.
Thanks again for your help.
Sincerely,
Walt N