G
Guest
I've already spent a good 3 hours or more reading posts and help topics and
trying everything I can think of to solve this. What I am trying to
accomplish is to graph DaysOld for 8 different backlogs. I have 8 queries to
accomplish the backlog reports and that is all fine. I added a DaysOld
expression in each query, "Date()-[criteriafield]" which lists days old for
each record in the backlog. I then created another query to pull all the
DaysOld fields into and average them. I works great when there are records
in each backlog, but if any of them have no backlog, then all fields are
blank. I cannot figure out how to replace a null with a zero. I've tried:
DaysOld: IIf([AwaitVendorDate] is null,0,Date()-[AwaitVendorDate])
but to no avail. Any ideas?
One other thing I need to accomplish is to round the average days. I can do
it with another query, but I should be able to do it in the same query I am
averaging in. Thoughts?
Thanks for your help!
trying everything I can think of to solve this. What I am trying to
accomplish is to graph DaysOld for 8 different backlogs. I have 8 queries to
accomplish the backlog reports and that is all fine. I added a DaysOld
expression in each query, "Date()-[criteriafield]" which lists days old for
each record in the backlog. I then created another query to pull all the
DaysOld fields into and average them. I works great when there are records
in each backlog, but if any of them have no backlog, then all fields are
blank. I cannot figure out how to replace a null with a zero. I've tried:
DaysOld: IIf([AwaitVendorDate] is null,0,Date()-[AwaitVendorDate])
but to no avail. Any ideas?
One other thing I need to accomplish is to round the average days. I can do
it with another query, but I should be able to do it in the same query I am
averaging in. Thoughts?
Thanks for your help!