HI
Your code should work but you really should not subtract from an empty date - when running with TODAY every time the dashboard is refreshed or executed it will calculate the correct number of days
if (PORel.Date01 = "") Then
TODAY - POHeader.OrderDate
Else
0 (since you would be a returning a number value (number of days) then your else will need to be numeric as well - so it would be zero)
Marianne Gizzi
Estes Group - Epicor Partner
mgizzi@...