I have a linked table which will contain errors and which give an #NUM! error.
That's fine. I can't clean up the data I'm linking to (not in my control) but I know that the #NUM! error items can just be ignored for my reporting purposes - they don't affect the totals I am trying to extract.
The problem is how?
I tried correcting them through a query e.g
SELECT ... IIF(IsNumeric(FunnyField),[FunnyField],0) AS CorrectedFunnyField ....
but the #NUM! error just proprogates through.
Similarly IIF(IsError(....
doesn't detect the #NUM!
and IIF(FunnyField=#Num! ... or IIF(FunnyField='#Num'...
doesn't work ... not that I expected it to.
I'm at a bit of a loss. How do I stop #NUM! errors propagating through to my reports?
That's fine. I can't clean up the data I'm linking to (not in my control) but I know that the #NUM! error items can just be ignored for my reporting purposes - they don't affect the totals I am trying to extract.
The problem is how?
I tried correcting them through a query e.g
SELECT ... IIF(IsNumeric(FunnyField),[FunnyField],0) AS CorrectedFunnyField ....
but the #NUM! error just proprogates through.
Similarly IIF(IsError(....
doesn't detect the #NUM!
and IIF(FunnyField=#Num! ... or IIF(FunnyField='#Num'...
doesn't work ... not that I expected it to.
I'm at a bit of a loss. How do I stop #NUM! errors propagating through to my reports?