J
Joe
I have noticed that in some queries that have somewhat
complex calucated fields (especially ones with iif) the
calculated values show up as #Error the first time that I
open the query. If I close the query and open it again the
calucated field show the correct results. I believe that
this might have something to do with the queries having to
be occasionally recompiled. When I replace the inline SQL
calcuation with a VB function the #Errors don't appear but
it looks like the query takes much longer to execute. Any
recommendations.
complex calucated fields (especially ones with iif) the
calculated values show up as #Error the first time that I
open the query. If I close the query and open it again the
calucated field show the correct results. I believe that
this might have something to do with the queries having to
be occasionally recompiled. When I replace the inline SQL
calcuation with a VB function the #Errors don't appear but
it looks like the query takes much longer to execute. Any
recommendations.