knuckelhead
Technical User
I am getting #error on this Qry calculated field.
The Cleanhours1 comes from Qry1 that seems to work fine. However, Qry1 which has these CleanHours1 may not have a matching record in Qry2. Qry2 is the primary join Qry where i want all Qry2 Sales records.
In Qry3, i Join Qry1 and Qry2. The CleanHours3 are in this Qry3. The answer will be numeric. the following is in Qry3:
CleanHours3: IIf(nz([CleanHours1])="",0,nz([CleanHours1]))
So, if I have a Qry2 sales record which has no Qry1 CleanHours1, I was hoping that Qry3 Cleanhours3 would show 0 or zero hours.
Instead, i get #error. If I run Qry1 or Qry2 separately, I do not get a #error condition. So it #error is happening in my Qry3 final Qry.
Any ideas how to get rid of this #error?
The Cleanhours1 comes from Qry1 that seems to work fine. However, Qry1 which has these CleanHours1 may not have a matching record in Qry2. Qry2 is the primary join Qry where i want all Qry2 Sales records.
In Qry3, i Join Qry1 and Qry2. The CleanHours3 are in this Qry3. The answer will be numeric. the following is in Qry3:
CleanHours3: IIf(nz([CleanHours1])="",0,nz([CleanHours1]))
So, if I have a Qry2 sales record which has no Qry1 CleanHours1, I was hoping that Qry3 Cleanhours3 would show 0 or zero hours.
Instead, i get #error. If I run Qry1 or Qry2 separately, I do not get a #error condition. So it #error is happening in my Qry3 final Qry.
Any ideas how to get rid of this #error?