If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
#Error In Query Problem
I have a query where in one column I have a calculation that is suppose to
return a "G", "Y", or "R". However, due to non-existing values for some instances of the data used in the calculation, I get "#Error" for those values. However, I'd like to get the "#Error" to be replaced with "NA". I've struggled with IIf and IsError, but no luck. Any suggestions would be greatly appreciated. Thanks is advance. |
#2
|
|||
|
|||
#Error In Query Problem
Hard to say since you didn't post the calculation
IIF([Your Column] is Null, "NA", your current calculation goes here) -- John Spencer Access MVP 2002-2005, 2007 Center for Health Program Development and Management University of Maryland Baltimore County .. "Paputxi" wrote in message ... I have a query where in one column I have a calculation that is suppose to return a "G", "Y", or "R". However, due to non-existing values for some instances of the data used in the calculation, I get "#Error" for those values. However, I'd like to get the "#Error" to be replaced with "NA". I've struggled with IIf and IsError, but no luck. Any suggestions would be greatly appreciated. Thanks is advance. |
Thread Tools | |
Display Modes | |
|
|